Page MenuHomePureOS Tracker

systemd: loginctl: enable-linger: No such file or directory
Open, LowPublic

Description

Hi,

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: https://github.com/systemd/systemd/issues/12401

Workaround;

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