nixpkgs-suyu/nixos
aszlig 030895f075
nixos/dhcpcd: Only run resume commands if enabled.
The networkd implementation sets systemd.services.dhcpcd.enable to
false in nixos/modules/tasks/network-interfaces-systemd.nix. So we need
to respect that in the dhcpcd module.

If we don't, the resumeCommand is set nevertheless, which causes the
post-resume.service to fail after resuming:

Failed to reload dhcpcd.service: Unit dhcpcd.service is masked.
post-resume.service: main process exited, code=exited, status=1/FAILURE
Failed to start Post-Resume Actions.
Dependency failed for Post-Resume Actions.
Unit post-resume.service entered failed state.
post-resume.service failed.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-02-22 08:09:04 +01:00
..
doc/manual manual/release-notes: add unstable release notes with first entries 2015-02-06 02:57:49 +03:00
lib In a test VM it's impossible to connect to itself, so fix this 2015-02-19 21:13:49 +00:00
maintainers Minor fixes to EC2 image generation script. Set autoresponder, so no interaction is necessary. Write output in a format that can be easily included in ec2-amis.nix of nixops. 2015-01-05 09:35:48 +01:00
modules nixos/dhcpcd: Only run resume commands if enabled. 2015-02-22 08:09:04 +01:00
tests nixos/tests/chromium: Check new userns sandbox. 2015-02-22 07:52:53 +01:00
COPYING
default.nix Fix nixos-option 2013-10-28 22:45:58 +01:00
README
release-combined.nix Drop tests.installer.grub1 as release critical 2015-02-12 16:20:00 +01:00
release-small.nix java: Normalize to the default jre / jdk 2015-01-07 14:55:41 -08:00
release.nix panamax: simplify, refactor, add test 2015-02-07 15:32:20 +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.