[systemd-bugs] [Bug 69821] systemd environment is not updated after locale changes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 3 10:57:10 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=69821

Rui Tiago Matos <tiagomatos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #7 from Rui Tiago Matos <tiagomatos at gmail.com> ---
Ok, that was a good hint, seems like it's selinux that's denying us:

systemd[1]: Setting log level to debug.
systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on
/org/freedesktop/DBus
systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on
/org/freedesktop/DBus
systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on
/org/freedesktop/DBus
systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on
/org/freedesktop/DBus
systemd[1]: Accepted connection on private bus.
systemd[1]: Got D-Bus request: org.freedesktop.DBus.Properties.Get() on
/org/freedesktop/systemd1
systemd[1]: SELinux access check
scon=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
tcon=system_u:system_r:init_t:s0 tclass=system perm=status path=(null)
cmdline=systemctl show-environment: 0
systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on
/org/freedesktop/DBus/Local
systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on
/org/freedesktop/DBus
systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on
/org/freedesktop/DBus
polkitd[322]: Registered Authentication Agent for unix-process:1169:19037
(system bus name :1.44 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object
path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
systemd[1]: Got D-Bus request:
org.freedesktop.systemd1.Manager.UnsetAndSetEnvironment() on
/org/freedesktop/systemd1
systemd[1]: SELinux policy denies access.
systemd[1]: SELinux access check scon=system_u:system_r:systemd_localed_t:s0
tcon=system_u:system_r:init_t:s0 tclass=system perm=reboot path=(null)
cmdline=(null): -13
systemd-localed[942]: Failed to set locale information: Access denied
systemd-localed[942]: Changed locale information.
systemd[1]: Received SIGCHLD from PID 1170 (pkttyagent).
systemd[1]: Got SIGCHLD for process 1170 (pkttyagent)
systemd[1]: Child 1170 died (code=killed, status=15/TERM)
systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on
/org/freedesktop/DBus
systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on
/org/freedesktop/DBus
polkitd[322]: Unregistered Authentication Agent for unix-process:1169:19037
(system bus name :1.44, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
(disconnected from bus)


After a setenforce 0 it works fine. Closing this, thanks for the help.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20131003/40b6f638/attachment-0001.html>


More information about the systemd-bugs mailing list