nixpkgs/nixos/modules/services
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
..
amqp Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
audio Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
backup Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
cluster Fix fleet certfile argument, fixes #11794 2015-12-22 01:24:47 +01:00
computing slurm service: improve config 2015-12-25 15:54:35 +01:00
continuous-integration/jenkins Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
databases Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
desktops
games jobs -> systemd.services 2016-01-07 06:39:06 +00:00
hardware nixos/udev: Provide a better warning for FHS paths 2016-02-03 15:48:52 +01:00
logging Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
mail Merge pull request #12290 from abbradar/dovecot-updates 2016-01-23 12:02:23 +03:00
misc Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
monitoring Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
network-filesystems Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
networking Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
printing nixos cups-browsed: better link to avahi-daemon 2015-12-21 18:20:52 +01:00
scheduling jobs -> systemd.services 2016-01-07 06:39:06 +00:00
search elasticsearch: Fix some startup warnings 2016-01-18 15:57:59 +01:00
security jobs -> systemd.services 2016-01-07 06:39:06 +00:00
system nixos: uptimed - rewrite and harden a bit (#7220) 2016-01-23 19:28:01 +00:00
torrent nixos.transmission: fix apparmor profile 2015-12-10 19:00:08 +01:00
ttys Merge pull request #10996 from oxij/nixos-label 2016-01-09 20:52:08 +03:00
web-apps pump.io service: init 2015-12-06 13:35:21 +00:00
web-servers Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
x11 Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00