nixpkgs-suyu/nixos/modules
aszlig 80983bbe54
nixos/udev: Provide a better warning for FHS paths
We were trying to find FHS references in all of the rules found in
services.udev.packages. Unfortunately we're still fixing up paths in the
same derivation where we are checking those references, so for example
references to /sbin/modprobe were still printed to be needed to fixup
even though they were already fixed at the time.

So now we're printing a more helpful warning message which is also
conditional (before the warning message was printed regardless of
whether there are any rules that need fixup) and is based off the rules
that were already fixed up.

The new warning message not only contains the build-local rule files but
also the original files from other store paths and the FHS path
references that were still found.

With 8ecd3a5e1d reverted, we now get this:

/nix/store/...-udev-rules/63-md-raid-arrays.rules (originally from
 /nix/store/...-mdadm-3.3.4/lib/udev/rules.d/63-md-raid-arrays.rules)
 contains references to /usr/bin/readlink and /usr/bin/basename.

Which is now more accurate to what is not yet fixed and where it's
coming from.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-02-03 15:48:52 +01:00
..
config Merge pull request #11737 from MatrixAI/master 2016-01-30 23:14:44 +01:00
hardware wis_go7007: remove dead package & module 2016-01-11 00:16:01 +01:00
installer nixos-rebuild: Don't propagate --no-out-link arg to nix-store 2016-02-01 10:54:58 +01:00
misc nixos: update-locatedb - harden via systemd (#7220) 2016-01-23 20:44:30 +00:00
profiles wpa_supplicant service: jobs -> systemd.services 2016-01-06 03:58:39 +00:00
programs Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
security Fix some references to deprecated /etc/ssl/certs/ca-bundle.crt 2016-01-29 02:32:05 +01:00
services nixos/udev: Provide a better warning for FHS paths 2016-02-03 15:48:52 +01:00
system switch-to-configuration: Handle failure to read /proc/1/exe 2016-02-03 15:01:18 +01:00
tasks Don't include wireless-tools/iw/rfkill when wireless is disabled 2016-02-01 18:19:23 +01:00
testing NixOS tests: Increase hung_task_timeout_secs 2016-01-04 16:53:42 +01:00
virtualisation Revert "Do not relocate /nix and /tmp to small disks on AWS" 2016-02-02 19:59:28 +01:00
module-list.nix Split the initrd sshd support into a separate module 2016-02-02 19:59:27 +01:00
rename.nix nixos: Document "jobs" option removal 2016-01-14 13:08:56 +01:00