On Thu, Apr 10, 2008 at 07:48:07AM -0500, Henry Gunter wrote:
>> 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'?

> 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)

Okay, thanks for trying.  Can you please do the following and post the
output?  If that doesn't help, I'll try to reproduce and to provide a
solution within the next days.

 # sed -e '/#-- daemontools-run begin/,/#-- daemontools-run end/d' \
     /etc/inittab > /etc/inittab'{new}' &&
     mv -f /etc/inittab'{new}' /etc/inittab
 # sh -x /var/lib/dpkg/info/daemontools-run.postinst configure

Thanks, Gerrit.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to