Bug#270967: gconf2 try's to remove /etc completely when purging

Klaus Ethgen Klaus Ethgen <Klaus@Ethgen.de>, 270967@bugs.debian.org
Fri, 10 Sep 2004 13:56:39 +0200


-----BEGIN PGP SIGNED MESSAGE-----

Hi,

Am Fr den 10. Sep 2004 um 13:41 schriebst Du:
> You've purged only this one ? Do you remember which version of the
> package it was ?

No. But see below...

> Can you still reproduce the problem ?

Yes, I did on a other host (sid, newest version, all my hosts have "chattr +i /").
- ---
xxxx:~# dpkg --force-all --purge gconf2
dpkg: gconf2: dependency problems, but removing anyway as you request:
 libgnome2-common depends on gconf2 (>= 2.6.0-1).
 libgnomevfs2-common depends on gconf2 (>= 2.6.0).
 libgconf2-4 depends on gconf2 (>= 2.6.4-2).
(Reading database ... 94571 files and directories currently installed.)
Removing gconf2 ...
Purging configuration files for gconf2 ...
rmdir: `/etc': Permission denied
dpkg: error processing gconf2 (--purge):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 gconf2
- ---

When there is somethink inside of /etc/gconf then no problem. But when there is
nothing more inside this bug happens.

When I then recreate /etc/gconfd/2 and make a "chattr -i /" the purge work well
without erasing something from /etc.

As the /etc gets not really deleted, i think the severity can be lowered to
'normal'.

Regards
   Klaus
- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iQEVAwUBQUGWd5+OKpjRpO3lAQFOHgf+LB81o/fvb67fhujir8qxrwTBmnFiyEA1
1JkKHgLmTGlBCa0VgoDeW4NOHpFqxJnpGu+V7k9GklSfUhnVyqnTWG+6qCBCZCZ1
ZH9m6JV18VOe6uf43HTPAXQFLFjZshPs9d0Vh+Nm3qEqeAuGXUVwr9KDklghxn5U
bSFsJ7SH9GkW7l5HI+QL9puua9/MYxBotdmdmvLtYVmRDaSf1da0w3lH5PEKjfaN
JW4GCsqOJjk4Ju6FITJvafYfXXO/X17uTyrSYvgMn2oamWt0Ss3bMqjthLxOPCjy
d73zS7mFwuE44/SYVCJR91vSTYu2C5itospIv61exvaQzdMkjF4+FQ==
=fpP/
-----END PGP SIGNATURE-----