how to (properly) shut down a fedora 20 virtual machine?

Robert P. J. Day rpjday at crashcourse.ca
Tue Dec 17 19:47:00 UTC 2013


Quoting Joe Zeff <joe at zeff.us>:

> On 12/17/2013 11:16 AM, Chris Murphy wrote:
>> If you do it within the VM, what result do you get with 'poweroff'?  
>> systemd maps init 0 to poweroff, as of course there is no init with  
>> systemd, but it maintains compatibility with init scripts so I  
>> expect init 0 to work the same as poweroff.
>
> I don't know how the mapping is done, but if it were me, init would  
> be a simple bash script with a case statement that made the  
> requested system call depending on the argument.  Just a thought.

   at this point, i'm not sure how much more helpful i can be.
is anyone else seeing this behaviour? be annoying to find out
it's just me. :-(

rday



More information about the users mailing list