Page MenuHomePureOS Tracker

systemd: loginctl: enable-linger: No such file or directory
Closed, ResolvedPublic



I'd like to enable systemd lingering for my user but it fails with "No such file or directory":

$ sudo loginctl enable-linger pini
Could not enable linger: No such file or directory
$ dpkg -l systemd | grep ^ii
ii  systemd        242-7pureos1 amd64        system and service manager

Event Timeline

Pini created this task.Jan 26 2020, 07:41

Apparently an upstream bug:


sudo mkdir -p /var/lib/systemd/linger
sudo touch /var/lib/systemd/linger/$USER
jeremiah.foster triaged this task as Low priority.May 7 2020, 11:00
Pini closed this task as Resolved.Sun, Mar 28, 11:22
Pini claimed this task.

Upstream bug fixed.