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

Re: debootstrap breaks with libc6.1 2.2.4-2 postinst

On Thu, Sep 27, 2001 at 04:04:12PM +1000, Anthony Towns wrote:
> Erm, if readlink was chmod -x, that'd still give an error and abort the
> postinst, no?

No, it only tries to run it if it is executable:

                if [ -x /sbin/init -a -x /bin/readlink ]; then
                        init_proc=`readlink /proc/1/exe`;

chmod -x does let libc6.1 install the first time, but once debootstrap
gets in to its repeat 5 loop it breaks again due to readlink being
remade +x.

> If this really breaks, then   init_proc=`readlink /proc/1/exe || true`
> would seem to be the fix, no?

Maybe - I told BenC of the problem and he said bug already filed.
See #113459.


Reply to: