nixpkgs-suyu/nixos/modules/system
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 switch-to-configuration: Handle failure to read /proc/1/exe 2016-02-03 15:01:18 +01:00
boot initrd-ssh module: don't check if network is up 2016-02-03 16:37:10 +03:00
etc etc: Use a friendlier name than "etc-file" 2015-12-30 15:17:30 +01:00