X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=appliance%2Finit;h=1d31cd83451a88d092a6641db08abf1c3f1b146c;hb=ee212deef690c6bc0bae307a5566b97f49445aaf;hp=d7fe24e5f67b7b71284361a767b2a89ab5664fb5;hpb=7419335e1113f28fd17b512992df22eb28cb4c05;p=libguestfs.git diff --git a/appliance/init b/appliance/init index d7fe24e..1d31cd8 100755 --- a/appliance/init +++ b/appliance/init @@ -5,6 +5,11 @@ echo Starting /init script ... PATH=/sbin:/usr/sbin:/bin:/usr/bin export PATH +# Debian bug 606622. +RUNLEVEL=S +PREVLEVEL=N +export RUNLEVEL PREVLEVEL + mkdir -p /sysroot rm -f /proc; mkdir /proc @@ -92,7 +97,7 @@ fi if ! grep -sq guestfs_rescue=1 /proc/cmdline; then # The host will kill qemu abruptly if guestfsd shuts down normally - guestfsd -f + guestfsd # Otherwise we try to clean up gracefully. For example, this ensures that a # core dump generated by the guest daemon will be written to disk.