/var/run/reboot-required

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux