[systemd-devel] /etc/rc.d/ on shutdown incompatible

Reindl Harald h.reindl at thelounge.net
Fri Jul 22 01:39:27 PDT 2011


Hi

using VMware-Workstation on a machine with systemd (Fedora 15)
and have running virtual machines during shutdown or reboot
ends in killing their processes instead waiting for vmware-suspend

attached the /etc/init.d/vmware-script

from line 353 the original looks if the script is called
with a "K" at the begin and only then running machines will
be suspended, manually stop the service would give you a
message that this is nit possible

so first i thought "remove this K thing from the script"
and it would work - well now i can say "service vmware stop"
in every state and they will be suspended

BUT on reboot/shutdown this does not happen
_______________________

i think systemd does not wait until this script has finsished
what can take some minutes if you have and hand full of virtual
machines running with hughe memory

independent from a needed fix somewhere in systemd:
what is the best way to place any shell script which is
called at the first place before reboot/shutdown and
how force systemd to wait with all other shutdwon-actions
until this is finished?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vmware
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110722/c4bbee3e/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110722/c4bbee3e/attachment-0001.pgp>


More information about the systemd-devel mailing list