[systemd-bugs] [Bug 57887] New: After running su, user/session looses active state

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 4 09:42:42 PST 2012


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

          Priority: medium
            Bug ID: 57887
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: After running su, user/session looses active state
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: arne.staecker at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

I'm running Gentoo and systemd 196.

When I run 'su' in a terminal under KDE and switch to root, my normal user and
user's session looses the "active" state and switches to "online". And so my
normal user looses all device file permissions. After exit the su mode, the
state is still "online".

Last know working version was 193. Could't test intermediate versions because
of bug #55656.

Before 'su':
$ loginctl show-session 1
Id=1
Timestamp=So, 2012-12-02 23:27:45 CET
TimestampMonotonic=4397266
DefaultControlGroup=name=systemd:/user/arne/1
VTNr=7
Display=:0
Remote=no
Service=kde-np
Leader=301
Audit=1
Type=x11
Class=user
Active=yes
State=active
KillProcesses=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
Name=arne

$ loginctl show-user 1000
UID=1000
GID=1000
Name=arne
Timestamp=So, 2012-12-02 23:27:45 CET
TimestampMonotonic=4390137
RuntimePath=/run/user/1000
DefaultControlGroup=name=systemd:/user/arne
Display=1
State=active
Sessions=1
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0

After 'su':
$ loginctl show-session 1
Id=1
Timestamp=So, 2012-12-02 21:28:24 CET
TimestampMonotonic=4368073
DefaultControlGroup=name=systemd:/user/arne/1
VTNr=7
Display=:0
Remote=no
Service=kde-np
Leader=298
Audit=1
Type=x11
Class=user
Active=no
State=online
KillProcesses=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
Name=arne

$ loginctl show-user 1000
UID=1000
GID=1000
Name=arne
Timestamp=So, 2012-12-02 21:28:24 CET
TimestampMonotonic=4360683
RuntimePath=/run/user/1000
DefaultControlGroup=name=systemd:/user/arne
Display=1
State=online
Sessions=1
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0

-- 
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/20121204/4e7f2bfc/attachment.html>


More information about the systemd-bugs mailing list