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

Bug#58368: diskless



Package: libc6
Severity: important

tzconfig will not work from within a dpkg postinst script when called
from a chroot environment (not sure which is significant).

I am labelling this as important, as it breaks my diskless-image-*
packages, which need to be able to configure the time-zone.

I have not been able to test this myself, but trust what Marcin has
told me.

>>>>> "Marcin" == Marcin Kurc <siemce@linux.indtech.edu> writes:

    Marcin> I tried to install it (diskless), everything works except
    Marcin> image-secure and image-simple hang at this point: Your
    Marcin> current time zone is set to Factory Do you want to change
    Marcin> that? [n]: n

    Marcin> Doesnt matter what I answer, y or n it still hangs.  I've
    Marcin> tried to dpkg --root=/home2/diskless/default/root/ -i
    Marcin> diskless-image-secure_0.3.5.deb with the same result.

    Marcin> Am I doing something wrong?

>>>>> "Marcin" == Marcin Kurc <siemce@linux.indtech.edu> writes:

    Marcin> well, if I just do tzconfig it works, but not if I try to
    Marcin> install image or dpkg --configure in chrooted dir. 

The postinst code in question contains the following:

        if [ -f /sbin/unconfigured.sh ]; then
                tzconfig
                ldconfig
                rm /sbin/unconfigured.sh
        fi

This problem has me puzzled, I hope libc6 people might be able to
help...
-- 
Brian May <bam@debian.org>


Reply to: