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

[RFD]: Question regarding actions to take on --purge of a package.



Currently, in various debian documention(policy, packaging manual), purging of
a package says that all files belonging to a pkg are removed, and also its
configuration files.

Recently, when upgrading apache, my boss, Ean, purged apache, so that he could
remove its config files, and start anew(it was an old system, and we were also
upgrading jserv at the time).  The reconfiguration went fine, and there were
no hassles.

Jump forward a few weeks, and now the client wants to start running hit
reports on the apache log data.  Well, it seems that during the apache purge,
it deleted(rm -rf) /var/log/apache(also a few other dirs).

My question is why is this nescessary?  The pkg created the files, but who
owns them?  The pkg, or the admin of the machine?

If the pkg owns the files, then why doesn't gnome, upon purging, do a find on
/home, and delete .gnome*/?

Is data created during the running of a package removable upon purging?
Policy is unclear on this.  I think it should not remove data that was created
during runtime, as other packages(and also localy installed software) may be
reading it.

At least pkgs that do this should prompt.

----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS--
PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z?
-----END GEEK CODE BLOCK-----
----BEGIN PGP INFO----
Adam Heath <doogie@debian.org>        Finger Print | KeyID
67 01 42 93 CA 37 FB 1E    63 C9 80 1D 08 CF 84 0A | DE656B05 PGP
AD46 C888 F587 F8A3 A6DA  3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG
-----END PGP INFO-----


Reply to: