[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#588922: postinst fails in qemubuilder environment, no telinit



tag 588922 - patch
retitle 588922 libc6: please support systems without /dev/initctl
severity 588922 wishlist
thanks

On Tue, Jul 13, 2010 at 08:08:26PM +0200, Stefan Kisdaroczi wrote:
> On 13.07.2010 16:12, Aurelien Jarno wrote:
> > Stefan Kisdaroczi a écrit :
> >   
> >> Package: libc6
> >> Version: 2.11.2-2
> >> Tags: patch
> >>
> >> hi,
> >>
> >> libc6 fails to install in a squeeze qemubuilder on a lenny host.
> >> There is no telinit -> postinst fails.
> >>     
> > Why is there no telinit? sysvinit contains this file and is both
> > "Essential: yes" and "Priority: required". In any case it should be
> > unpacked before libc6 postinst is run.
> >   
> 
> Ok, there is a /sbin/telinit (sorry for that), but /dev/initctl is missing.
> The virtual machine kernel cmdline is "init=/pbuilder-run".

Ok, so the initial patch is actually useless.

> The installation gives the following error:
>   debconf: falling back to frontend: Teletype
>   telinit: /dev/initctl: No such file or directory
>   dpkg: error processing libc6 (--install):
>    subprocess installed post-installation script returned error exit
> status 1
>   Errors were encountered while processing:
>    libc6
> 

I will add a workaround for such non-standard environments in the next
upload.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: