Comment 5 for bug 152664

Revision history for this message
Simon Huerlimann (huerlisi) wrote :

Had the same problem on a Xen machine when upgrading to gutsy. After some investigation I was able to blame it on /usr/sbin/update-rc.d around line 96:

        opendir(DIR, ".");

        foreach $_ (readdir(DIR)) {
            next unless (/^[SK]\d\d$bn$/);
            $fn = "$etcd$i.d/$_";

I was able to reproduce the segfault in other directories using the following perl code:
        opendir(DIR, ".");

        while ($a = readdir(DIR)) {
        print "$a\n";
        }
        exit 1;

It seems to bail out after the '..' directory, but I'm not sure it that's always the case...

Installing libc6-xen didn't help...

Pls tell me if I can investigate any further or when I should report this bug on another package (libc6?).