[Bug 494160] New: A default user's polkit-auth settings are empty by default
http://bugzilla.novell.com/show_bug.cgi?id=494160
Summary: A default user's polkit-auth settings are empty by
default
Classification: openSUSE
Product: openSUSE 11.0
Version: Final
Platform: i586
OS/Version: openSUSE 11.0
Status: NEW
Severity: Major
Priority: P5 - None
Component: KDE4 Workspace
AssignedTo: kde-maintainers@suse.de
ReportedBy: mvdv@spamcop.net
QAContact: qa@suse.de
Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8)
Gecko/2009032600 SUSE/3.0.8-1.1 Firefox/3.0.6, Ant.com Toolbar 1.3
Default user accounts are not permitted to mount or eject removable media.
There are many bug reports, forum posts and blog posts advising people to edit
xml files or otherwise wrestling with USB/DVD/CDROM drive behavior,
e.g.
http://sathyasays.com/2008/08/20/how-to-enable-auto-mounting-of-external-dri...
Instead openSUSE hal settings should just work.
There is a suggested fix for removable media, but what else should be properly
set.....?
Please can we have a patch for all openSUSE systems, not just 11.2 that sets
the 'correct policies' for a user to have a fully functional installation?
Reproducible: Always
Steps to Reproduce:
1. As an ordinary user run:
# polkit-auth
2.
3.
Actual Results:
empty
Expected Results:
AT LEAST:
org.freedesktop.hal.storage.mount-removable
org.freedesktop.hal.storage.eject
Suggested fix:
# sudo polkit-auth --grant org.freedesktop.hal.storage.mount-removable --user
http://bugzilla.novell.com/show_bug.cgi?id=494160
User meissner@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c1
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c2
--- Comment #2 from Mark Van De Vyver
http://bugzilla.novell.com/show_bug.cgi?id=494160
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c3
Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=494160
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c4
--- Comment #4 from Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c5
Mark Van De Vyver
ck-list-sessions
i.e. both return nothing, and var/log/messages only shows: Apr 18 12:11:30 HOST0013ce478e38 su: (to root) mv on /dev/pts/5 Hope that helps? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=494160
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c6
Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=494160
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c7
--- Comment #7 from Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=494160
User llunak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c8
Lubos Lunak
http://bugzilla.novell.com/show_bug.cgi?id=494160
User llunak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c9
Lubos Lunak
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c10
Mark Van De Vyver
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c11
--- Comment #11 from Mark Van De Vyver
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c12
--- Comment #12 from Mark Van De Vyver
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c13
--- Comment #13 from Mark Van De Vyver
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c14
--- Comment #14 from Mark Van De Vyver
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c15
--- Comment #15 from Mark Van De Vyver
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c16
--- Comment #16 from Mark Van De Vyver
sudo resmgr dump ck-list-sessions Are as before.
Changed sysconfig settings, via YaST2, as shown in screenshot yast2-003.png. logout, Ctl+Atl+Backspace+Backspace, login The reults of the commands:
sudo resmgr dump ck-list-sessions Are as before.
Okay, so now install the "XFCE Desktop Environment" pattern using YaST2 Change window manager and desktop manager to use xfce as shown in screenshot yast2-004.png. Logout, Ctl+Atl+Backspace+Backspace, login Login crednetials accepted for root and normal user, but unable to login. No errors just grey screen with Cameleon image 'in relief' style. Ctl+Alt+F7, login as root: init 3 & edit sysconfig to set display manager: kdm4 window manager: kwin (_not_ the suggested value of kde) init 5 & exit Log in. Start bash shell as root: # resmgr dump ### begin dump class audioplayer class pda class scanner class modem class camera class usb class floppy class cdrom class input class video class sound class v4l class dvb class remote-x-desktop class desktop class desktop includes dvb class desktop includes v4l class desktop includes sound class desktop includes video class desktop includes input class desktop includes cdrom class desktop includes floppy class desktop includes usb class desktop includes camera class desktop includes scanner class desktop includes pda class desktop includes audioplayer login "mv" :0 grant "mv" desktop grant "mv" dvb grant "mv" v4l grant "mv" sound grant "mv" video grant "mv" input grant "mv" cdrom grant "mv" floppy grant "mv" usb grant "mv" camera grant "mv" scanner grant "mv" pda grant "mv" audioplayer ### end dump # ck-list-sessions Session2: uid = '1000' realname = 'Mark Van De Vyver' seat = 'Seat1' session-type = '' active = TRUE x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '' remote-host-name = '' is-local = TRUE on-since = '2009-04-21T03:56:43Z' SOOOO, it seems the problem is that in /etc/sysconfig: ############################################################################## ############################################################################## kwin _must_ be set as the window manger (DEFAULT_WM), and _not_ the current default value of kde. Then ck-list-sessions will return some (correct?) data ############################################################################## ############################################################################## -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c17
--- Comment #17 from Mark Van De Vyver
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c18
--- Comment #18 from Mark Van De Vyver
polkit-auth org.freedesktop.hal.killswitch.bluetooth org.freedesktop.hal.killswitch.wlan org.freedesktop.hal.killswitch.wwan org.freedesktop.hal.storage.mount-removable org.freedesktop.hal.storage.eject org.freedesktop.hal.storage.crypto-setup-removable org.freedesktop.hal.power-management.shutdown org.freedesktop.hal.power-management.reboot org.freedesktop.hal.power-management.set-powersave org.freedesktop.hal.power-management.suspend org.freedesktop.hal.power-management.hibernate org.freedesktop.hal.power-management.standby org.freedesktop.hal.power-management.cpufreq org.freedesktop.hal.power-management.lcd-panel org.freedesktop.hal.power-management.light-sensor org.freedesktop.hal.power-management.keyboard-backlight org.freedesktop.hal.dockstation.undock org.freedesktop.hal.wol.enabled org.freedesktop.hal.wol.enable org.freedesktop.hal.wol.supported org.freedesktop.consolekit.system.stop org.freedesktop.consolekit.system.restart org.freedesktop.hal.lock
I'm still working out if setting kwin as the window maanger is enough to get removable media functionality or if the pol-kit commands are still required.... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=494160
User mvdv@spamcop.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=494160#c19
Mark Van De Vyver
cat /etc/sysconfig/windowmanager |grep WM DEFAULT_WM="kwin"
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com