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
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
|
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
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
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.