[Pkg-sysvinit-devel] Bug#712023: initscripts: wait for child to exit during shutdown/reboot

erik e.d.grootjans at hccnet.nl
Wed Jun 12 08:55:53 UTC 2013


Package: initscripts
Version: 2.88dsf-41
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
I use virtualbox. I have virtualmachines on my box and want to bring them down
or save the state there in, before the system is going down.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I have made a script to readout the vm's that are running and save there state
one by one. This takes some time. At the beginning no vm was saved right. I did
some tunning with the scripts and have now 5-10 sec's before the other
vboxservices are terminated. So i can bring 3 maybe 4 syetems the rightway
down.
I did look in the documentation, and i didnot found a usefull option , that
could ensure me that the vm is brought down the rightway. (wait for child to
terminated)

   * What was the outcome of this action?

   * What outcome did you expect instead?
I am looking for a manner that the system will wait for the proces to
terminated and not be killed. Because killing running vm's might lead top
dataloss.

I'm thinking about some tag in the initscripts - to place if a proces has to be
waited for. Maybe with the possibillity to set a maxtime, so it is guaranted
that the machine will not hang for waiting on a process that will not
terminated.

Thanks


*** End of the template - remove these lines ***



-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils       8.13-3.5
ii  debianutils     4.3.2
ii  libc6           2.13-38
ii  lsb-base        4.1+Debian8
ii  mount           2.20.1-5.3
ii  sysv-rc         2.88dsf-41
ii  sysvinit-utils  2.88dsf-41

Versions of packages initscripts recommends:
ii  e2fsprogs  1.42.5-1.1
ii  psmisc     22.19-1+deb7u1

initscripts suggests no packages.

-- no debconf information



More information about the Pkg-sysvinit-devel mailing list