[Bug 1730657] Re: systemd don't find userservice- and usertimer-files

darkrain42 1730657 at bugs.launchpad.net
Sun Jan 14 00:36:49 UTC 2018


I'm not sure what (else) changed between 17.04 and 17.10, but this seems
to be an ordering issue between `systemd --user` and ecryptfs mounting
the decrypted $HOME.

Reordering pam_ecryptfs to occur before pam_systemd in /etc/pam.d
/common-session appears to address the issue for me.  (Note that I
_think_ the order is unchanged between 17.04 and 17.10.)

I independently came to the same conclusion as
https://bugs.launchpad.net/ecryptfs/+bug/1734290, which was to assign a
higher priority (e.g. 1) for ecryptfs's pam-config, which seems to be
sufficient.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1730657

Title:
  systemd don't find userservice- and usertimer-files

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  After an upgrade from Ubuntu 17.04 to 17.10 i have to run “systemctl
  --user daemon-reload” after every reboot before the files under
  ~/.config/systemd/user were recognized by systemd:

  xxx at xxx:~$ systemctl --user list-timers --all
  0 timers listed.
  xxx at xxx:~$ systemctl --user daemon-reload 
  xxx at xxx:~$ systemctl --user list-timers --all
  NEXT LEFT LAST PASSED UNIT                  ACTIVATES
  n/a  n/a  n/a  n/a    make-borgbackup.timer make-borgbackup.service
  n/a  n/a  n/a  n/a    syncthing.timer       syncthing.service

  2 timers listed.
  xxx at xxx:~$ dpkg -l systemd
  Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
  | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
           Halb installiert/Trigger erWartet/Trigger anhängig
  |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
  ||/ Name           Version         Architektur  Beschreibung
  +++-==============-===============-============-=================================
  ii  systemd        234-2ubuntu12.1 amd64        system and service manager

  This user-account has an ecryptfs-encrypted home btw.

  Before the upgrade everything works fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1730657/+subscriptions



More information about the foundations-bugs mailing list