Weekly Changes – 18/09/2023
A fairly quiet week but note there is an important fix for LCFG component packages on Ubuntu Jammy. Here are the details of the notable changes…
Component package scripts
Recently we have noticed that when LCFG component packages are upgraded on Ubuntu Jammy the component may be left in a stopped state. This can be particularly bad news, for example, if you’re left with some important service not running. This appears to be caused by an incorrect use of the --no-restart-after-upgrade
for the dh_installsystemd packaging script. This has been changed to be --no-stop-on-upgrade
which seems to be a better fit with our requirements. It’s unclear why this wasn’t causing problems on Ubuntu Focal. Typically we do not want the packaging scripts (e.g. postinst
) to stop or start the component via systemd. When required we prefer to call the configure
method for the component. Many components only manage files and not services so don’t need a restart. For those that do manage servers this has the benefit of only doing restarts when truly necessary. This has been changed in the build tools template for debian/rules
and a mass change of existing rules files has been applied so that future upgrades should be safe.
rsyslog
There is a minor update to the LCFG rsyslog component package to fix the purgeLogs
script on Ubuntu.
Routing
The Systemd service configuration for the LCFG routing component now declares it to be PartOf
the systemd-networkd
service. This means that whenever networkd is restarted the component will also be immediately restarted which should ensure the default route is always correct. The rdisc daemon options have also been tweaked so that it will be a lot quieter in syslog.
Nagios
Some more small changes have been made to the new nagios_server schema to support Ubuntu.
Changes to headers and package lists
Members of the Informatics Computing team can browse all the changes to the headers and package lists.
Recent comments