Bug#270967: Why purging gconf2-common might erase your /etc

Bob Proulx bob at proulx.com
Tue Jan 29 17:39:49 UTC 2008


Josselin Mouette wrote:
> This error message is triggered by rmdir trying to remove /etc.
> Normally, rmdir -p --ignore-fail-on-non-empty will try to
> remove /etc/gconf/2, then /etc/gconf, then /etc, and will stop with /etc
> because it isn't empty.

I see in the gconf2-common.postrm that the following command is being
run:

        rm -f /etc/gconf/2/path
        rmdir -p --ignore-fail-on-non-empty /etc/gconf/2

Can that instead be changed to the following so as to avoid trying to
remove /etc at all?

        rm -f /etc/gconf/2/path
        rmdir --ignore-fail-on-non-empty /etc/gconf/2 /etc/gconf

It just seems simpler this way.

Meanwhile, I have removed the moreinfo and unreproducible tags and am
forwarding this upstream.

Bob






More information about the pkg-gnome-maintainers mailing list