Mailinglist Archive: opensuse-bugs (4234 mails)

< Previous Next >
[Bug 846914] New: 13.1 RC1 - when hibernating, the system requests root's password.
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 21 Oct 2013 18:32:28 +0000
  • Message-id: <bug-846914-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=846914

https://bugzilla.novell.com/show_bug.cgi?id=846914#c0


Summary: 13.1 RC1 - when hibernating, the system requests
root's password.
Classification: openSUSE
Product: openSUSE 13.1
Version: RC 1
Platform: x86-64
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: X11 Applications
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: carlos.e.r@xxxxxxxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


13.1 RC1 with XFCE - when hibernating, the system requests root's password.

This is a laptop, so this should never happen.

It asks for the root password, because it says another user is logged in -
which is false.

And when the password is given, it fails with popup message.

A second attempt does not ask for the password, and succeeds...

cer@Minas-Anor:~> loginctl list-sessions
SESSION UID USER SEAT
2 1000 cer seat0
5 488 lightdm seat0
6 1000 cer seat0

3 sessions listed.
cer@Minas-Anor:~> loginctl show-session -al 2
Id=2
Timestamp=Sun 2013-10-20 00:38:35 CEST
TimestampMonotonic=33175076
VTNr=7
Seat=[unprintable]
TTY=
Display=:0
Remote=no
RemoteUser=
RemoteHost=
Service=lightdm
Scope=session-2.scope
Leader=992
Audit=2
Type=x11
Class=user
Active=no
State=closing
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
User=[unprintable]
Name=cer
cer@Minas-Anor:~>

cer@Minas-Anor:~> loginctl show-session -al 5
Id=5
Timestamp=Sun 2013-10-20 00:44:33 CEST
TimestampMonotonic=390647494
VTNr=7
Seat=[unprintable]
TTY=
Display=:0
Remote=no
RemoteUser=
RemoteHost=
Service=lightdm-greeter
Scope=session-5.scope
Leader=1672
Audit=5
Type=x11
Class=user
Active=no
State=closing
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
User=[unprintable]
Name=lightdm
cer@Minas-Anor:~> loginctl show-session -al 6
Id=6
Timestamp=Sun 2013-10-20 00:44:38 CEST
TimestampMonotonic=395653938
VTNr=7
Seat=[unprintable]
TTY=
Display=:0
Remote=no
RemoteUser=
RemoteHost=
Service=lightdm
Scope=session-6.scope
Leader=1701
Audit=6
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
User=[unprintable]
Name=cer
cer@Minas-Anor:~>


------


cer@Minas-Anor:~> loginctl list-sessions
SESSION UID USER SEAT
2 1000 cer seat0
5 488 lightdm seat0
6 1000 cer seat0
31 1000 cer

4 sessions listed.
cer@Minas-Anor:~> loginctl session-status 2
2 - cer (1000)
Since: Sun 2013-10-20 00:38:35 CEST; 24h ago
Leader: 992
Seat: seat0; vc7
Display: :0
Service: lightdm; type x11; class user
State: closing
Unit: session-2.scope
└─1196 /bin/dbus-daemon --fork --print-pid 4 --print-address
6 --session
cer@Minas-Anor:~> loginctl session-status 5
5 - lightdm (488)
Since: Sun 2013-10-20 00:44:33 CEST; 24h ago
Leader: 1672
Seat: seat0; vc7
Display: :0
Service: lightdm-greeter; type x11; class user
State: closing
Unit: session-5.scope
├─1687 dbus-launch --autolaunch
7eba17d2cdb9561656f0964e5255ce5e --binary-syntax --close-stde...
├─1688 /bin/dbus-daemon --fork --print-pid 5 --print-address
7 --session
├─1690 /usr/lib/at-spi2/at-spi-bus-launcher
├─1694 /bin/dbus-daemon
--config-file=/etc/at-spi2/accessibility.conf --nofork --print-addres...
└─1697 /usr/lib/at-spi2/at-spi2-registryd --use-gnome-session
cer@Minas-Anor:~> loginctl session-status 6
6 - cer (1000)
Since: Sun 2013-10-20 00:44:38 CEST; 24h ago
Leader: 1701 (lightdm)
Seat: seat0; vc7
Display: :0
Service: lightdm; type x11; class user
State: active
Unit: session-6.scope
├─1701 lightdm --session-child 26 33
├─1713 /usr/bin/gnome-keyring-daemon --daemonize --login
├─1715 /bin/sh /etc/xdg/xfce4/xinitrc --
/etc/X11/xinit/xserverrc
├─1788 /usr/bin/dbus-launch --sh-syntax --close-stderr
--exit-with-session /etc/X11/xinit/xin...
├─1789 /bin/dbus-daemon --fork --print-pid 5 --print-address
7 --session
├─1792 xfce4-session
..
├─1930 /usr/bin/python
/usr/share/system-config-printer/applet.py
├─1933 xscreensaver -no-splash
cer@Minas-Anor:~> loginctl session-status 31
31 - cer (1000)
Since: Sun 2013-10-20 20:12:20 CEST; 5h 0min ago
Leader: 8606 (sshd)
Remote: 192.168.1.14
Service: sshd; type tty; class user
State: active
Unit: session-31.scope
├─ 8606 sshd: cer [priv]
├─ 8610 sshd: cer@pts/4
├─ 8611 -bash
├─13250 loginctl session-status 31
└─13251 less
cer@Minas-Anor:~>


(the ssh session I have open now to obtain this text)


Whatever the cause, the problem for the user is that I get prompted for
the root password to hibernate my own laptop. This will not do.

Think: the user in the seat can power off the machine pushing the big red
button on the case. Why ask for root's password to hibernate, if we can power
it off anyway?

Worse, depending on the settings, the password prompt can appear _behind_ the
logout dialog.


Please remove that password prompt or make it optional, so that we can remove
it ourselves.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >