1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/nixos
aszlig 8ecd3a5e1d
nixos/stage-1: Fix references to readlink/basename
Fixes references coming from the mdadm udev rules.

This addresses #12722 (mdadm udev rules have references to /usr/bin) but
still won't fix the warning, though (if we want to fix the warnings, we
will have to patch the udev rules generater in services/hardware/udev).

For common mdraid functionality, this shouldn't fix anything, because
the wrong references seem to only apply to containers, see these
(wrapped) lines from ${mdadm}/lib/udev/rules.d/63-md-raid-arrays.rules:

  # Tell systemd to run mdmon for our container, if we need it.
  ENV{MD_LEVEL}=="raid[1-9]*",
    ENV{MD_CONTAINER}=="?*",
  PROGRAM="/usr/bin/readlink $env{MD_CONTAINER}",
    ENV{MD_MON_THIS}="%c"
    ENV{MD_MON_THIS}=="?*",
    PROGRAM="/usr/bin/basename $env{MD_MON_THIS}",
    ENV{SYSTEMD_WANTS}+="mdmon@%c.service"

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-02-03 14:19:24 +01:00
..
doc/manual nixos-manual: Further simplify stripAnyPrefixes 2016-01-29 20:14:11 +01:00
lib waitForUnit: Fail if the unit reaches inactive state with no pending jobs 2015-12-30 15:17:52 +01:00
maintainers Hack to parallelize AMI copying 2015-09-29 14:54:12 +02:00
modules nixos/stage-1: Fix references to readlink/basename 2016-02-03 14:19:24 +01:00
tests Don't make chromium-beta/dev release blockers 2016-02-03 11:49:50 +01:00
COPYING
default.nix Add a way to pin a NixOS version within the module system. 2015-11-19 20:58:45 +00:00
README
release-combined.nix nixos/tests/networking: Add a test for loopback 2015-12-18 07:09:42 +01:00
release-small.nix
release.nix Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.