View Full Version : unattended-upgrades log overview to motd

June 13th, 2014, 11:47 AM
I'd like to have unattended upgrades running on my server, but it would still be cool to have easy overview of what is being upgraded.

Each time I ssh to my server, motd could include something like that:

6 packages were updated: initramfs-tools initramfs-tools-bin libjson-c2 libjson0 libssl1.0.0 openssl
*** System restart required ***

This seems like a good balance between security up-to-date and still finding reasons if something breaks.

I'm guessing it would need separate log file with list of updated packages and .basrc to clear the log when I log in.
Has anyone made sth like that? Any ideas on implementing it?

June 15th, 2014, 08:45 PM
Would the "Notification" section work for you ?