mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 03:53:56 +00:00
8558d7b1ce
The update-lingering activation script currently fails during rebuilds. This happens when removing a user with linger enabled. The call to loginctl disable-linger runs for the non-existent user. This returns an error code which causes the failure. To mitigate this, this PR removes any residual linger files. These are files named for the user in /var/lib/systemd/linger. A simple check for user existence determines whether to delete the file. This happens before the call to disable-linger to avoid any errors. Fixes #283769. |
||
---|---|---|
.. | ||
fonts | ||
gtk | ||
xdg | ||
appstream.nix | ||
console.nix | ||
debug-info.nix | ||
fanout.nix | ||
i18n.nix | ||
iproute2.nix | ||
ldap.nix | ||
ldso.nix | ||
locale.nix | ||
malloc.nix | ||
mysql.nix | ||
networking.nix | ||
nix-channel.nix | ||
nix-flakes.nix | ||
nix-remote-build.nix | ||
nix.nix | ||
no-x-libs.nix | ||
nsswitch.nix | ||
power-management.nix | ||
pulseaudio.nix | ||
qt.nix | ||
resolvconf.nix | ||
shells-environment.nix | ||
stevenblack.nix | ||
stub-ld.nix | ||
swap.nix | ||
sysctl.nix | ||
system-environment.nix | ||
system-path.nix | ||
terminfo.nix | ||
unix-odbc-drivers.nix | ||
update-users-groups.pl | ||
users-groups.nix | ||
vte.nix | ||
zram.nix |