When running OpenSolaris as a guest OS for Virtual Box on Mac OS I noticed it was taking quite a while for OpenSolaris to shut down and the display was showing the following message:
svc.startd[7]: application/graphical-login/gdm:default failed. Transitioned to maintenance. See svcs -x -v
It seems that instructions below solved my problem. Please go to the original posting to download necessary files...
OpenSolaris 2008.11 Tips > OpenSolaris 2008.11 has a bug which causes it to take a long time to shutdown. You will also see this error message on the console: svc.startd[7]: application/graphical-login/gdm:default failed. Transitioned to maintenance. See svcs -x -v
This is defect 4887. You can fix your system by doing the following: - Replace /var/svc/manifest/application/graphical-login/gdm.xml with the attached gdm.xml .
- Ensure that the new gdm.xml file has is owned by root:sys and has 444 permissions:
chown root:sys gdm.xml chmod 444 gdm.xml - Place the attached svc-gdm file in /lib/svc/method .
- Ensure that it is owned by root:bin and has 555 permissions:
chown root:bin svc-gdm chmod 555 svc-gdm - Remove the following lines from /usr/sbin/gdm :
# GConf now needs D-Bus, so to launch AT programs it is necessary for D-Bus to # be started with gdm. We start D-Bus as the "gdm" user. We do not do not # need root privilege for this since the GUI and AT programs all run as the # "gdm" user. # eval `/usr/bin/su - gdm -c /usr/bin/dbus-launch --sh-syntax --exit-with-session` export DBUS_SESSION_BUS_ADDRESS export DBUS_SESSION_BUS_PID - Restart the machine.
svc-gdm 1k - on Dec 28, 2008 7:18 AM by {4} (version 2 / earlier versions)
gdm.xml 3k - on Dec 28, 2008 7:18 AM by {4} (version 2 / earlier versions)
|