[OpenIndiana-discuss] JDS: USB automount problem

Udo Grabowski (IMK) udo.grabowski at kit.edu
Fri Nov 29 15:10:06 UTC 2013


On 29/11/2013 15:46, Predrag Zecevic [Unix Systems Administrator] wrote:
> Hi,
>
> I cannot mount USB devices anymore in my /hipster installation (I mean
> automatically mount withing JDS/GNOME).
>
> I have enable debug of privileges long time ago /in /etc/systems, so it
> is in use):
>
> ---8<---
> * Privileges debug: man privileges
> set priv_debug = 1
> ---8<---
>
> When I connect USB stick - logged into JDS (for example) i get this:
> ---8<----</var/adm/messages>---
> ....
> Nov 29 15:24:03 solarix genunix: [ID 864859 kern.notice] NOTICE:
> hald-addon-stora[2482]: missing privilege "sys_mount" (euid = 0, syscall
> = 255) needed at secpolicy_fs_owner+0x2e
> Nov 29 15:24:07 solarix genunix: [ID 408114 kern.info]
> /pci at 0,0/pci1028,23d at 1a,2/hub at 1/storage at 3/disk at 0,0 (sd9) removed
> Nov 29 15:24:07 solarix last message repeated 1 time
> Nov 29 15:24:07 solarix genunix: [ID 408114 kern.info]
> /pci at 0,0/pci1028,23d at 1a,2/hub at 1/storage at 3 (scsa2usb5) removed
> Nov 29 15:24:07 solarix unix: [ID 954099 kern.info] NOTICE: IRQ19 is
> being shared by drivers with different interrupt levels.
> Nov 29 15:24:07 solarix This may result in reduced system performance.
> ---8<---
>
> Does anyone have idea how i can fix this problem?
>
> I have tried different USB devices and different USB ports on my DELL
> Vostro 400, but no  luck (I am using same desktop since OpenSolaris 97,
> and it used to work... This functionality has gone sometime between
> 151a1 and 151a7/8 - not sure, because I am not using USB very often).
>
> It looks like hald-addon-storage has some privilege problems, so I have
> added it (Profile is called 'Solarix' and I am trying to get collected
> there all missing privileges - plenty of them). But for now, I would
> like to focus on this one:
> /etc/security/exec_attr:Solarix:solaris:cmd:::/usr/lib/hal/hald-addon-storage:privs=sys_mount
>
> What else I have to check/change 0 what I am missing?

151a8 has multiple problems with privileges, one group comes from an
upstream change with libdbus, the other from an error in JDS/Gnome.
Don't know if that can be fixed by root at all, at least mounting
can be done by hand with pfexec or sudo, of you have the necessary
admin privilege.
Other than that, hope that the next release will fix the errors.
-- 
Dr.Udo Grabowski    Inst.f.Meteorology a.Climate Research IMK-ASF-SAT
www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology            http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany  T:(+49)721 608-26026 F:-926026



More information about the OpenIndiana-discuss mailing list