This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/files/image_config
Joe LeVeque f28790ce9a [System logs]: Fix logrotate bugs (#535)
- rsyslog logs were being rotated regardless of whether they exceeded their maixmum size. This was due to "-f" flag passed to logrotate in cron job.

- After rotation, /var/log/syslog was never written to again. Instead, logs were written to /var/log/syslog.1. This was due to rsyslog not properly closing the file descriptor to the pre-rotated log.

- Also brought back time-related rotation via the new(er) maxsize option, which performs a boolean OR operation. If the log exceeds the maxsize OR the log hasn't been rotated in the specified, it will be rotated. Using the older size option, the time-based rotation was ignored.

- Also addresses issue #528
2017-04-24 17:55:05 -07:00
..
apt one image implementation (#215) 2017-01-29 11:33:33 -08:00
bash [sonic_cli]: Fix bash completion for 'show' command (#355) 2017-03-02 12:17:04 -08:00
cron.d [System logs]: Fix logrotate bugs (#535) 2017-04-24 17:55:05 -07:00
environment [motd]: Lower-case 'i' in title (#398) 2017-03-15 20:14:28 -07:00
interfaces [interfaces]: Bring up LAG members before they are enslaved (#505) 2017-04-13 23:54:44 -07:00
logrotate.d [System logs]: Fix logrotate bugs (#535) 2017-04-24 17:55:05 -07:00
ntp [config] [oneimage & dhcp relay docker] Move ntp, rsyslog, and dhcp server information into minigraph (#374) 2017-03-06 12:41:26 -08:00
platform [image]: SONiC-to-SONiC update (#464) 2017-04-21 17:23:36 -07:00
rsyslog [System logs]: Eliminate duplicate log messages and attempt rotation more frequently (#520) 2017-04-21 08:22:44 -07:00
snmp Fix config bug in snmp (#252) 2017-02-03 17:39:09 -08:00
sudoers one image implementation (#215) 2017-01-29 11:33:33 -08:00
systemd [System logs]: Fix logrotate bugs (#535) 2017-04-24 17:55:05 -07:00
updategraph Re-commit PR #432 (SHA 4546372) (#474) 2017-04-03 16:12:32 -07:00