summaryrefslogtreecommitdiff
path: root/debian/rsyslog.postinst
AgeCommit message (Collapse)AuthorFilesLines
2014-08-18Make sure to actually only create the temporary syslog.service symlink on ↵Michael Biebl1-1/+1
upgrades ... and avoid the usage of readlink.
2014-08-18Fix wheezy → jessie upgrade failure when running under systemdMichael Biebl1-0/+5
During the upgrade the statically shipped symlink is replaced by one which is created in postinst by init-system-helpers. When systemd is reloaded while the symlink is missing, it loses track of the running rsyslogd process. As a workaround, create a runtime copy of the syslog.service symlink before the upgrade and remove it afterwards. See #724796
2014-03-13Drop useless "exit 0" from maintainer scriptsMichael Biebl1-3/+0
We use "set -e" everywhere.
2012-11-28Fix permissions of the spool/work directory. (Closes: #693099)Michael Biebl1-1/+4
2012-10-19Remove upgrade code from rsyslog.postinst which is no longer necessary.Michael Biebl1-8/+0
2011-07-08Transition to /run/sendsigs.omit.d. (Closes: #633036)Michael Biebl1-0/+4
- Use /run/sendsigs.omit.d/rsyslog in debian/rsyslog.init. - Add Depends on initscripts (>= 2.88dsf-13.3) to ensure /run is usable. - Remove /lib/init/rw/sendsigs.omit.d/rsyslog on upgrades.
2010-11-30Remove pre-lenny migration code to rotate old log files from sysklogd.Michael Biebl1-42/+0
* debian/rsyslog.postinst - Remove pre-lenny migration code to rotate old log files from sysklogd.
2009-02-10Use dh_instalinits' restart-on-upgrade option.Michael Biebl1-8/+0
* debian/rules - Use new dh_installinit "-R" (restart-after-upgrade) option. * debian/rsyslog.postinst - Remove our custom code to stop/start rsyslog on upgrades. This is done now automatically by dh_installinit.
2009-01-16Collect messages as long as possible during shutdown or reboot.Michael Biebl1-0/+9
Let rsyslog collect messages as long as possible during shutdown or reboot. As /usr may be mounted via NFS, the latest possible point is just before umountnfs. Closes: #474498 - Update the stop priorities for runlevel 0 and 6 from K90 to S30 for sysv-rc and migrate existing symlinks. - Update LSB header to stop after sendsigs and before umountnfs. - Use the sendsigs process omission interface to avoid being killed by killall5.
2008-12-17Use $(($var)) syntax for arithmetic expressionsMichael Biebl1-1/+1
dash from etch is not SUSv3 compliant in that regard which leads to failing dist upgrades when dash is used as /bin/sh. Closes: #508943
2008-11-20Rotate old .0 log files when migrating from sysklogd. Closes: #491672Michael Biebl1-0/+42
2008-04-06Minimize downtime by restarting in postinst. Closes: #471051Michael Biebl1-0/+40
* debian/rules - Use dh_installinit "-r" (no-restart-on-upgrade) option. * debian/rsyslog.postinst - Minimize downtime by restarting rsyslog in postinst instead of stop in prerm and start in postinst. Closes: #471051