Re: /var/run/reboot-required

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

 



On Wed, Jul 27, 2016 at 5:42 PM, Ruben Kerkhof <ruben@xxxxxxxxxxxxxxxx> wrote:
> On Wed, Jul 27, 2016 at 5:17 PM, John Florian <john.florian@xxxxxxxx> wrote:
>> How can this metadata be leveraged with automation?  I have the dnf
>> tracer plugin which I believe is using this metadata to tell me when I
>> need to reboot, but what if I have this in a cron job?
>
> The docs at http://dnf-plugins-extras.readthedocs.io/en/latest/tracer.html
> say it calls tracer directly, so it shouldn't be too hard to do the
> same thing from cron.

I also just learned of dnf updateinfo. Unfortunately I didn't get it
to show the reboot recommendation.

$ dnf updateinfo list updates security
Last metadata expiration check: 0:30:23 ago on Wed Jul 27 21:18:51 2016.
FEDORA-2016-615f3bf06e security gd-2.2.3-1.fc24.x86_64
FEDORA-2016-9a16b2e14e security kernel-4.6.4-301.fc24.x86_64
FEDORA-2016-42514bee97 security libidn-1.33-1.fc24.x86_64
FEDORA-2016-42514bee97 security libidn-debuginfo-1.33-1.fc24.x86_64
--
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