Gerrit Pape wrote:
On Thu, Apr 10, 2008 at 06:46:38AM -0500, Henry Gunter wrote:
Gerrit Pape wrote:
On Thu, Apr 03, 2008 at 11:45:11AM -0500, Henry Gunter wrote:
Setting up daemontools-run (1:0.76-2) ...
Adding SV inittab entry...
dpkg: error processing daemontools-run (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
daemontools-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
This a fresh install from lenny.
most probably it's 'kill -s HUP 1' that's failing in the postinst. Are
you in a virtual server environment, or do you use something different
from sysvinit as init scheme?
Yes I am running linux vserver-2.2.0.7 on debian lenny.
It's important for the daemontools-run package that the added SV inittab
entry comes into effect after the package installation is completed.
That's why it does 'kill -s HUP 1' to signal sysvinit to re-read
/etc/inittab, and so starts up /usr/bin/svscanboot.
Does it help if you configure the vserver with '--initstyle plain'?
Thanks, Gerrit.
I added file "style" containing "plain" into vserver/apps/init/ , stoped
and restarted vserver tried to install daemontools-run.
vserver:/# apt-get install daemontools-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
daemontools-run
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/9200B of archives.
After this operation, 94.2kB of additional disk space will be used.
Selecting previously deselected package daemontools-run.
(Reading database ... 14920 files and directories currently installed.)
Unpacking daemontools-run (from .../daemontools-run_1%3a0.76-2_all.deb) ...
Setting up daemontools-run (1:0.76-2) ...
Adding SV inittab entry...
dpkg: error processing daemontools-run (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
daemontools-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]