[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Upgrade of libc6 with BusyBox init
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2010-10-24 22:43:36
Message-ID: 201010250043.36836.vda.linux () googlemail ! com
[Download RAW message or body]

On Sunday 24 October 2010 14:39, Andreas Zielke wrote:
> > "U or u
> >
> > tell init to re-execute itself (preserving the state). No re-examining
> > of /etc/inittab file happens. Run level should be one of Ss0123456
> > otherwise request would be silently ignored."
> >
> > Probably to get rid of running stuff which still uses old libc6.
> 
> I'm speculating here, but what if the sysvinit was dynamically linked
> against libc6 - wouldn't the "init u" then replace the init utilizing
> the old version of libc6 with an init utilizing the upgraded version
> of libc6?

Yes, the purpose is to close opened and mmap'ed old libc6 .so files.

I fixed "init u" so that it exits immediately now.
It will not re-exec, but at least it will not
block the update process either.

-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic