On Sun, 2006-01-15 at 17:15 -0800, Wart wrote: > Michael Schwendt wrote: > > On Sun, 15 Jan 2006 14:30:22 -0800, Wart wrote: > > > > > >>I've got a package that handles the rotation of its own log files > >>(tclhttpd). Each rotated log file is appended with the date. Currently > >>I 'rm -f' these files in the %postun section of the spec file. Is it > >>possible to use %ghost instead, even if I can't know the names of the > >>files in advance? > > > > > > Just don't. Log files do not belong into a package. They are run-time > > generated temporary files. Don't delete them in %postun either. > > Then how do I ensure that these log files get deleted when the package > is removed? Or should I not even bother about leaving them as leftover > cruft? Don't worry about log files. Many packages (apcupsd, yum, cups, etc.) generate log files that are not owned by any package. -- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list