This is actually in systemd, not systemd-shim.
I patched systemd-shim to ignore unknown unit warning, so then I get a warning 
from systemd-logind: systemd-logind[1414]: Failed to start user service: 
Message did not receive a reply (timeout by message bus)
So it's being started by the login manager once pam-systemd registers the 
session.

pam_systemd manpage: A new systemd scope unit is created for the session. If 
this is the first concurrent session of the user, an implicit slice below 
user.slice is automatically created and the scope placed
           into it. An instance of the system service user@.service, which runs 
the systemd user manager instance, is started.

I'm guessing user@.service is generated at runtime by systemd (which
would require systemd is init, not upstart).

Suggestions for fixing this:
1. Move /etc/pam.d/systemd-user to the systemd-sysv package (assuming none of 
systemd-logind's features are required)
2. Patch systemd-logind to not start the user service if the system wasn't 
booted with systemd

I'll take a look at patching systemd-logind.

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

Title:
  [    7.287663] systemd-logind[1057]: Failed to start unit
  user@126.service: Unknown unit: user@126.service

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to