Age | Commit message (Collapse) | Author | Files | Lines |
|
upgrades
... and avoid the usage of readlink.
|
|
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
|
|
We use "set -e" everywhere.
|
|
|
|
|
|
- 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.
|
|
* debian/rsyslog.postinst
- Remove pre-lenny migration code to rotate old log files from sysklogd.
|
|
* 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.
|
|
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.
|
|
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
|
|
|
|
* 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
|