| Peter Palfrader 2004-10-09, 2:47 am |
| On Sat, 09 Oct 2004, Andrew Pollock wrote:
> On Sat, Oct 09, 2004 at 07:32:19AM +0200, Peter Palfrader wrote:
>
> Apache owns /var/log/apache because it made it, and removes it on a purge.
> nagios owns /etc/nagios, and removes it on a purge. All bets are off if
> another package or non-standard configuration goes putting files in there...
var/log is greatly different from /etc. I don't assume apache rm -rf's
/etc/apache.
>
> Well that's going to happen if it removes the directory. If the postrm only
> removes the directory when it's empty, it's going require more smarts in the
> the postrm's of all the packages that are using this directory, otherwise
> it's potentially going to get left lying around after all such packages are
> purged.
just try rmdir, or let dpkg solve it, if you have /etc/nagios in the
package.
--
Peter
--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|