nixpkgs/nixos/modules/system/activation
Eelco Dolstra 42709fb4e9 switch-to-configuration: Handle failure to read /proc/1/exe
It's not entirely clear why this happens, but sometimes /proc/1/exe
returns a bogus value, like
/ar3a3j6b9livhy5fcfv69izslhgk4gcz-systemd-217/lib/systemd/systemd. In
any case, we can just conservatively assume that we need to restart
systemd when this happens.

Fixes #10261.
2016-02-03 15:01:18 +01:00
..
activation-script.nix activation-script module: add environment.usrbinenv option 2016-01-19 23:29:48 +01:00
no-clone.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
switch-to-configuration.pl switch-to-configuration: Handle failure to read /proc/1/exe 2016-02-03 15:01:18 +01:00
top-level.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00