FS#6093 - syslog-ng writes over /etc/logrotate.d/syslog-ng

Attached to Project: Arch Linux
Opened by Arto Puranen (Purch) - Thursday, 28 December 2006, 08:45 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 27 May 2007, 08:22 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When do all config files get in to backup array in pkgbuild files?

syslog-ng writes over /etc/logrotate.d/syslog-ng file. This is bad. Needs to be in the backup array.

I notice that syslog-ng.conf file is now in /etc as it was previously in /etc/syslog-ng/. Maybe time to change backup array too? What if someone misses this upgrade and directly upgrades to next release, will the old backup array line still be there as he has the old config directory? It would be nice to make install notice that config file has been moved.

Sorry for language. I am just going through backups ... again (apache, logrotate and syslog-ng have been my pain :)
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 27 May 2007, 08:22 GMT
Reason for closing:  Fixed
Comment by Hidden (robbel) - Sunday, 18 February 2007, 03:59 GMT
*bump*

Yes, the backup line in the PKGBUILD should at least be changed from backup=('etc/syslog-ng/syslog-ng.conf') to backup=('etc/syslog-ng.conf')..

Philipp
Comment by eliott (cactus) - Wednesday, 23 May 2007, 00:42 GMT
These are potentially two different issues...
1. Syslog does not have a backup line for /etc/logrotate.d/syslog
--I think this is acceptable, since that file is seldom use modified. If it is..add NoUpgrade to the pacman.conf

2. The *real* problem, is that the backup line for syslog.conf is wrong. That needs to be fixed.
Comment by Tobias Powalowski (tpowa) - Sunday, 27 May 2007, 08:21 GMT
fixed the backup line now, logrotate is still not in it, add it manually

Loading...