[Bug 456413] New: polkit-auth broken for modem
https://bugzilla.novell.com/show_bug.cgi?id=456413 User koenig@linux.de added comment https://bugzilla.novell.com/show_bug.cgi?id=456413#c45000 Summary: polkit-auth broken for modem Product: openSUSE 11.1 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- I'm using RC1 plus updates -- but I downgraded the kernel manually back to RC1 because of bug #45000. Thanks to Ludwig Nussel and bug #444805#c2 I used polkit-auth --obtain org.freedesktop.hal.device-access.modem to get access to /dev/ttyUSB0 for my GPS receiver and other gadgets. this worked fine at least until Nov. 30 (last read-out of my GPS logger), but right now I tried to access another FT232 device and got "permission denied" :-( "polkit-auth --user harald" did not show any output. why ? so I did another "polkit-auth --obtain org.freedesktop.hal.device-access.modem". now I see harald gps > polkit-auth --user harald org.freedesktop.hal.device-access.modem but still (after dis-/re-connect) harald gps > cat /dev/ttyUSB0 cat: /dev/ttyUSB0: Permission denied restarting hal did not help. lshal shows udi = '/org/freedesktop/Hal/devices/usb_device_10c4_ea60_0001_if0_serial_usb_0' access_control.file = '/dev/ttyUSB0' (string) access_control.type = 'modem' (string) info.callouts.add = {'hal-acl-tool --add-device'} (string list) info.callouts.remove = {'hal-acl-tool --remove-device'} (string list) info.capabilities = {'serial', 'access_control'} (string list) info.category = 'serial' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_10c4_ea60_0001_if0' (string) info.product = 'CP210x Composite Device' (string) info.subsystem = 'tty' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_10c4_ea60_0001_if0_serial_usb_0' (string) linux.device_file = '/dev/ttyUSB0' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'tty' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/ttyUSB0/tty/ttyUSB0' (string) serial.device = '/dev/ttyUSB0' (string) serial.originating_device = '/org/freedesktop/Hal/devices/usb_device_10c4_ea60_0001_if0' (string) serial.port = 0 (0x0) (int) serial.type = 'usb' (string) what's wrong ? more information ? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=456413
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=456413
User lnussel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456413#c1
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=456413
User koenig@linux.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=456413#c2
--- Comment #2 from Harald Koenig
Use "polkit-auth --explicit-detail" to make it show the details of the
ah, that did help! there is a constraint "Session must be on a local console" and my last tests were running in an ssh session :-( revoking the authorization and obtaining it again within an ssh session did help, though this is not really obvious from the man page (imho;) the man page doesn't mention if/how it is possible to delete constraints, is it? thanks again! -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=456413
User lnussel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=456413#c3
--- Comment #3 from Ludwig Nussel
the man page doesn't mention if/how it is possible to delete constraints, is it?
--revoke -- 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.
participants (1)
-
bugzilla_noreply@novell.com