[systemd-devel] Is masking an error?

Lennart Poettering lennart at poettering.net
Thu Feb 13 16:04:21 PST 2014


On Tue, 21.01.14 09:33, Holger Schurig (holgerschurig at gmail.com) wrote:

> Hi,
> 
> on my systemd v208 + many patches from the Fedora 21 source RPM i get
> TWO error messages in my journal when I login as root:
> 
> 09:27:58 systemd-logind[118]: Failed to start unit user at 0.service:
> Unit user at 0.service failed to load: No such file or directory.
> 09:27:58 systemd-logind[118]: Failed to start user service: Unit
> user at 0.service failed to load: No such file or directory.
> 
> But it was my decision as an admin to disable user sessions, by doing
> "ln -s /dev/null /etc/systemd/systemd/user at .service". In my case
> systemd runs in embedded devices and no one would use use user service
> files anyway -> tightly controlled environment.
> 
> So, it would be better to a) only spit one message that this is masked
> and b) put that at debug level

I'd be willing to merge a patch for this!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list