Hello,

I am running systemd 228. And one one particular system installation
there are messages 'Failed to apply ACLs: Invalid argument' from
systemd-logind. Moreover, ACL on /dev/dri/* are not set correctly
after user log in. How could I figure out which argument is invalid?
Managing ACLs on /dev filesystem using setfacl works fine. I've tried
using debug log_level, but nothing helpful here:


июл 18 16:21:00 photon systemd-logind[12814]: Got message
type=method_call sender=:1.59 destination=org.freedesktop.login1 obj
ect=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager
member=CreateSession cookie=2 reply_cookie=0 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Sent message
type=method_call sender=n/a destination=org.freedesktop.DBus object
=/org/freedesktop/DBus interface=org.freedesktop.DBus
member=GetConnectionUnixUser cookie=108 reply_cookie=0 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Got message
type=method_return sender=org.freedesktop.DBus destination=:1.53 obj
ect=n/a interface=n/a member=n/a cookie=33 reply_cookie=108 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Sent message type=signal
sender=n/a destination=n/a object=/org/freedesktop/logi
n1/seat/seat0 interface=org.freedesktop.DBus.Properties
member=PropertiesChanged cookie=109 reply_cookie=0 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Sent message
type=method_call sender=n/a destination=org.freedesktop.systemd1
object=/org/freedesktop/systemd1
interface=org.freedesktop.systemd1.Manager member=StartTransientUnit
cookie=110 reply_cookie=0 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Got message
type=method_return sender=:1.0 destination=:1.53 object=n/a
interface=n/a member=n/a cookie=2075 reply_cookie=110 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: New session 6 of user matwey.
июл 18 16:21:00 photon systemd-logind[12814]: VT changed to 7
июл 18 16:21:00 photon systemd-logind[12814]: Sent message type=signal
sender=n/a destination=n/a object=/org/freedesktop/login1/session/_35
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=111 reply_cookie=0 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Failed to apply ACLs:
Invalid argument
июл 18 16:21:00 photon systemd-logind[12814]: Electing new display for
user matwey
июл 18 16:21:00 photon systemd-logind[12814]: Choosing session 6 in
preference to 4
июл 18 16:21:00 photon systemd-logind[12814]: Ignoring session 2
июл 18 16:21:00 photon systemd-logind[12814]: Sent message type=signal
sender=n/a destination=n/a object=/org/freedesktop/login1
interface=org.freedesktop.login1.Manager member=SessionNew cookie=112
reply_cookie=0 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Sent message type=signal
sender=n/a destination=n/a object=/org/freedesktop/login1/user/_1001
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=113 reply_cookie=0 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Sent message type=signal
sender=n/a destination=n/a object=/org/freedesktop/login1/seat/seat0
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=114 reply_cookie=0 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Got message type=signal
sender=:1.0 destination=n/a object=/org/freedesktop/systemd1
interface=org.freedesktop.systemd1.Manager member=JobRemoved
cookie=2078 reply_cookie=0 error=n/a
июл 18 16:21:00 photon systemd-logind[12814]: Sending reply about
created session: id=6 object_path=/org/freedesktop/login1/session/_36
uid=1001 runtime_path=/run/user/1001 session_fd=22 seat=seat0 vtnr=7
июл 18 16:21:00 photon systemd-logind[12814]: Sent message
type=method_return sender=n/a destination=:1.59 object=n/a
interface=n/a member=n/a cookie=115 reply_cookie=2 error=n/a

-- 
With best regards,
Matwey V. Kornilov
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to