GIRI MANDALIKA's SCRATCHPAD
Workaround to "eject of cdrom /dev/dsk/cxtxdxsx failed" Error on SXCE b106
SymptomOn Solaris Express Community Edition build 106, eject(1) fails intermittently (esp. when inserted the blank media) with the error: eject of cdrom /dev/dsk/cxtxdxsx failed.
# cat /etc/release
Solaris Express Community Edition snv_106 X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 13 January 2009
# eject
eject of cdrom /dev/dsk/c1t0d0s2 failed: A security policy in place prevents this sender
from sending this message to this recipient, see message bus configuration file (rejected
message had interface "org.freedesktop.Hal.Device.Storage" member "Eject" error name
"(unset)" destination "org.freedesktop.Hal")
Solution
Wait for snv_107 build. Meanwhile check the bug #6791982.
Workaround- Edit /etc/dbus-1/system.d/hal.conf.
Add the following line to the
<policy context="default">section.<allow send_interface="org.freedesktop.Hal.Device.Storage"/> - Restart the D-Bus message bus system service.
svcadm restart svc:/system/dbus:defaultOn a totally unrelated note, to see all the existing SMF services with a simple description, run:
svcs -o FMRI,DESC - Finally try to eject the CD/DVD disk by typing the
ejectcommand.
Posted at 03:18AM Feb 02, 2009 by Giri Mandalika in Workaround | Comments[0]
Comments:
Monday Feb 02, 2009
