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")
SolutionUpgrade to snv_107. 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:default
On 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
eject
command.
(Originally posted on blogs.sun.com at:
http://blogs.sun.com/mandalika/entry/sxce_snv_106_workaround_to)_______________
Technorati Tags:
Solaris |
OpenSolaris |
troubleshooting