[OpenIndiana-discuss] JDS: USB automount problem
Predrag Zecevic [Unix Systems Administrator]
predrag.zecevic at 2e-systems.com
Fri Nov 29 14:46:19 UTC 2013
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:03:58 solarix usba: [ID 912658 kern.info] USB 2.0 device
(usb204,6025) operating at full speed (USB 1.x) on USB 1.10 external
hub: storage at 3, scsa2usb5 at bus address 4
Nov 29 15:03:58 solarix usba: [ID 349649 kern.info]
03066737843D
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] scsa2usb5 is
/pci at 0,0/pci1028,23d at 1a,2/hub at 1/storage at 3
Nov 29 15:03:58 solarix genunix: [ID 408114 kern.info]
/pci at 0,0/pci1028,23d at 1a,2/hub at 1/storage at 3 (scsa2usb5) online
Nov 29 15:03:58 solarix scsi: [ID 583861 kern.info] sd9 at scsa2usb5:
target 0 lun 0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] sd9 is
/pci at 0,0/pci1028,23d at 1a,2/hub at 1/storage at 3/disk at 0,0
Nov 29 15:03:58 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) online
Nov 29 15:03:58 solarix unix: [ID 954099 kern.info] NOTICE: IRQ19 is
being shared by drivers with different interrupt levels.
Nov 29 15:03:58 solarix This may result in reduced system performance.
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
fcsm0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] fcsm0 is
/pseudo/fcsm at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
lofi0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] lofi0 is
/pseudo/lofi at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
ucode0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] ucode0 is
/pseudo/ucode at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
llc10
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] llc10 is
/pseudo/llc1 at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
dcpc0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] dcpc0 is
/pseudo/dcpc at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
fbt0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] fbt0 is
/pseudo/fbt at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
lockstat0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] lockstat0 is
/pseudo/lockstat at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
profile0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] profile0 is
/pseudo/profile at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
sdt0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] sdt0 is
/pseudo/sdt at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
systrace0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] systrace0 is
/pseudo/systrace at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device: fct0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] fct0 is /pseudo/fct at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device: stmf0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] stmf0 is
/pseudo/stmf at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device: fcp0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] fcp0 is /pseudo/fcp at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device:
winlock0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] winlock0 is
/pseudo/winlock at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device: bpf0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] bpf0 is /pseudo/bpf at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device: nsmb0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] nsmb0 is
/pseudo/nsmb at 0
Nov 29 15:03:58 solarix pseudo: [ID 129642 kern.info] pseudo-device: fssnap0
Nov 29 15:03:58 solarix genunix: [ID 936769 kern.info] fssnap0 is
/pseudo/fssnap at 0
Nov 29 15:04:00 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
...
### pulled out here:
...
Nov 29 15:24:03 solarix scsi: [ID 107833 kern.warning] WARNING:
/pci at 0,0/pci1028,23d at 1a,2/hub at 1/storage at 3/disk at 0,0 (sd9):
Nov 29 15:24:03 solarix Command failed to complete...Device is gone
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?
Regards.
--
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH
Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile: +49 174 3109 288, Skype: predrag.zecevic
E-mail: predrag.zecevic at 2e-systems.com
Headquarter: 2e Systems GmbH, Königsteiner Str. 87,
65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director: Phil Douglas
http://www.2e-systems.com/ - Making your business fly!
[***]===---
A man always needs to remember one thing about a beautiful woman.
Somewhere, somebody's tired of her.
More information about the OpenIndiana-discuss
mailing list