https://bugzilla.novell.com/show_bug.cgi?id=830675 https://bugzilla.novell.com/show_bug.cgi?id=830675#c15 --- Comment #15 from Marcelo Lemos <marcelolemos@adinet.com.uy> 2013-09-27 14:21:20 UTC --- Details vboxes on openSUSE 13.1 Beta 1 (x86_64) --------------------------------------------------------------------- rpm -q virtualbox virtualbox-4.2.18-1.1.x86_64 --------------------------------------------------------------------- what I have done: only added the vm to the file "/etc/sysconfig/vbox" (used to work on opensuse 11.3) linux-ka1i:~ # cat /etc/sysconfig/vbox VBOX_AUTOSTART="opensuse;root" --------------------------------------------------------------------- when host boot up: Last login: Fri Sep 27 19:07:01 2013 from dartmouth.site Have a lot of fun... linux-ka1i:~ # systemctl status vboxes.service vboxes.service - LSB: Autostart Virtual Box VMs Loaded: loaded (/etc/init.d/vboxes) Active: inactive (dead) since vie 2013-09-27 19:13:47 UYT; 3min 45s ago Process: 2419 ExecStop=/etc/init.d/vboxes stop (code=exited, status=0/SUCCESS) Process: 2350 ExecStart=/etc/init.d/vboxes start (code=exited, status=0/SUCCESS) sep 27 19:13:47 linux-ka1i su[2372]: pam_unix(su:session): session opened for user root...=0) sep 27 19:13:47 linux-ka1i su[2404]: (to root) root on (null) sep 27 19:13:47 linux-ka1i su[2404]: pam_unix(su:session): session opened for user root...=0) sep 27 19:13:47 linux-ka1i vboxes[2350]: Starting virtual machine: opensuse (user: root...one sep 27 19:13:47 linux-ka1i systemd[1]: Started LSB: Autostart Virtual Box VMs. sep 27 19:13:47 linux-ka1i su[2413]: (to root) root on (null) sep 27 19:13:47 linux-ka1i su[2413]: pam_unix(su:session): session opened for user root...=0) sep 27 19:13:47 linux-ka1i su[2433]: (to root) root on (null) sep 27 19:13:47 linux-ka1i su[2433]: pam_unix(su:session): session opened for user root...=0) sep 27 19:13:47 linux-ka1i vboxes[2419]: Shutting down Virtualbox machines: no virtual ...ped Hint: Some lines were ellipsized, use -l to show in full. linux-ka1i:~ # --------------------------------------------------------------------- but the vm is running linux-ka1i:~ # VBoxManage list runningvms "opensuse" {8c3782e7-d49e-4acd-9194-32859e8db379} --------------------------------------------------------------------- Small explanation: On 11.3 if a do a shut down of the host all the vm do savestate before the host is poweroff. On 12.1/2/3 - 13.1 this the vm rebooted along the host (savestate does not work). --------------------------------------------------------------------- Debuggin only with the "/etc/sysconfig/vbox" configuration. --------------------------------------------------------------------- sr/bin/kill -SIGRTMIN+22 1 linux-ka1i:~ # systemctl start vboxes.service çQt WARNING: libpng warning: iCCP: known incorrect sRGB profile Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile linux-ka1i:~ # çQt WARNING: libpng warning: iCCP: known incorrect sRGB profile Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile -bash: $'\303\247': no se encontró la orden linux-ka1i:~ # journalctl -b > /tmp/vboxes.log linux-ka1i:~ # /usr/bin/kill -SIGRTMIN+23 1 linux-ka1i:~ # date +"%F %T" 2013-09-27 19:41:19 (reboot) linux-ka1i:~ # journalctl --since "2013-09-27 19:41:19" > /tmp/reboot_vbox.log --------------------------------------------------------------------- Now will add all the steps of the new configuration propousal from virtualbox how-to (http://www.virtualbox.org/manual/ch09.html#autostart-linux) Removing /etc/sysconfig/vbox config first! --------------------------------------------------------------------- Edit the file /etc/default/virtualbox I'm only setting up the shutdown method I need. cat /etc/default/virtualbox # /etc/default/virtualbox # # ------------------------------------------------------------------------------------------------- # In the "SHUTDOWN_USERS" list all users for which a check for runnings VMs should be done during # shutdown of "vboxdrv" resp. the server: # SHUTDOWN_USERS="foo bar" # # Set "SHUTDOWN" to one of "poweroff", "acpibutton" or "savestate" depending on which of the # shutdown methods for running VMs are wanted: # SHUTDOWN="poweroff" # SHUTDOWN="acpibutton" # SHUTDOWN="savestate" # ------------------------------------------------------------------------------------------------- # SHUTDOWN_USERS="root" SHUTDOWN="savestate" --------------------------------------------------------------------- restarted vboxes: linux-ka1i:~ # /usr/bin/kill -SIGRTMIN+24 1 linux-ka1i:~ # systemctl restart vboxes.service linux-ka1i:~ # journalctl -b > /tmp/vboxes.new.log linux-ka1i:~ # /usr/bin/kill -SIGRTMIN+25 1 linux-ka1i:~ # date +"%F %T" 2013-09-27 20:05:01 linux-ka1i:~ # VBoxManage list runningvms "opensuse" {8c3782e7-d49e-4acd-9194-32859e8db379} (reboot) linux-ka1i:/tmp # journalctl --since "2013-09-27 20:05:01" > /tmp/reboot_vbox.new.log --------------------------------------------------------------------- save the logs in vbox01 (with old config) and vbox02 (with the new ones). regards Marcelo. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.