Hi all,

Debian and Ubuntu have a package called unattended-upgrades.
We have yum-cron which does something similar.

One difference though is that unattended-upgrade drops a script in
/etc/kernel/postinst.d/unattended-upgrades, which does this:

#!/bin/sh
if [ -d /var/run ]; then
   touch /var/run/reboot-required
fi

Using Ansible, I can quickly see which servers need a reboot due to a
kernel upgrade.

I think this would be nice to have in Fedora as well, the only
question is which package
should provide it.

We have /etc/kernel/postinst.d too, but this directory is currently unowned.
So if I'd wanted to add this to some package, which one should it be
and what should it depend on?

Alternatively, I could create a new package, let's call it 'reboot-required'.

Thoughts?

Kind regards,

Ruben Kerkhof
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to