-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing mdcheck script #332096
Comments
We're not gonna put stuff in /usr, if anything it should be built with a flag or patched to the correct prefix |
The point is, currently, broken systemd units are installed. Also, their presence creates a false impression that periodic scrubbing happens on NixOS, which it absolutely does not because the script that does the actual work is nowhere to be found. How exactly that is fixed is secondary, but it needs to be fixed. |
Sure systemd services shouldn't point to nonexistent paths, but this is a github issue tracker, of course we will discuss how things should be fixed. |
Describe the bug
When
swraid
is enabled, also systemd timer unitsmdcheck_start
etc are installed.mdcheck_start.service
andmdcheck_continue.service
include references to/usr/share/mdadm/mdcheck
script. But the script is missing in that location. In fact, it's missing from the mdadm closure entirely.Steps To Reproduce
Steps to reproduce the behavior:
systemctl cat mdcheck_start
, noteExecStart
referencing/usr/share/mdadm/mdcheck
/usr/share/mdadm/mdcheck
does not, in fact, existExpected behavior
The
ExecStart
path to point to an existing file.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Nixpkgs 7bba2df
Notify maintainers
I guess @Ekleog?
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: