Update - I found that the init command was inaccessible in all running VMs (weird) but this led me to look closer at what was available in /sbin.

Unfortunately at least in the openSUSE image, any power off/shutdown/halt commands failed because they in turn were calling apps which did not exist.

In the end, I found a workaround... I simply killed the UML process identified by the invoked kernel using top on the Host. This is likely OK because all the UML fs so far have mounted only read only.


On Feb 5, 2013 6:32 AM, "Tony Su" <tonysu@su-networking.com> wrote:

<slapping my head>
Of course!


On Feb 4, 2013 7:05 PM, "Lakshmipathi.G" <lakshmipathi.g@gmail.com> wrote:
Hi Tony -
Did something like 'init 0' works ?

Sometime back,I faced few problems after shutdown with 'init 0'  file system became read-only !
more info here : http://lists.fedoraproject.org/pipermail/india/2011-April/004567.html

FOSS Programmer.

On Tue, Feb 5, 2013 at 3:15 AM, Tony Su <tonysu@su-networking.com> wrote:
Now that I recently was able to boot some UML VMs, I quickly ran into
the problem that the fs I am using from fs.devloop.org.uk <all> seem
to be missing some fairly standard executables like /sbin/shutdown.

So, am wondering how to best shutdown a VM missing "shutdown," should
it and others like PING be retrieved from the distro's repo?


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
User-mode-linux-user mailing list