Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-12 Thread Tim Woodall
On Sun, 12 Dec 2021, Tim Woodall wrote: On Sun, 12 Dec 2021, Andy Smith wrote: Hi Tim, On Fri, Dec 10, 2021 at 10:11:04PM +, Tim Woodall wrote: Is there a simple way to tell if the kernel/hypervisor that was used to boot is the one currently installed in /boot. I do not do this - I

Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-12 Thread Andrei POPESCU
On Sb, 11 dec 21, 10:42:56, Charles Curley wrote: > On Sat, 11 Dec 2021 05:52:30 + (GMT) > Tim Woodall wrote: > > > I don't use that but I do something similar. Does unattended-upgrades > > email me each day until I reboot? > > Not every day, but every day when an upgrade is applied it

Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-11 Thread Tim Woodall
On Sun, 12 Dec 2021, Andy Smith wrote: Hi Tim, On Fri, Dec 10, 2021 at 10:11:04PM +, Tim Woodall wrote: Is there a simple way to tell if the kernel/hypervisor that was used to boot is the one currently installed in /boot. I do not do this - I build my own hypervisor packages when there

Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-11 Thread Andy Smith
Hi Tim, On Fri, Dec 10, 2021 at 10:11:04PM +, Tim Woodall wrote: > Is there a simple way to tell if the kernel/hypervisor that was used to > boot is the one currently installed in /boot. I do not do this - I build my own hypervisor packages when there is an upstream XSA that affects me and

Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-11 Thread Charles Curley
On Fri, 10 Dec 2021 20:14:36 -0700 Charles Curley wrote: > If you are using the unattended-upgrades package, you can set it to > send you emails. Those emails will let you know which packages are > upgraded, and if a reboot is required. See > /etc/apt/apt.conf.d/50unattended-upgrades. I

Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-11 Thread Charles Curley
On Sat, 11 Dec 2021 05:52:30 + (GMT) Tim Woodall wrote: > I don't use that but I do something similar. Does unattended-upgrades > email me each day until I reboot? Not every day, but every day when an upgrade is applied it emails you, and tells you that a reboot is pending. -- Does

Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-10 Thread Tim Woodall
On Fri, 10 Dec 2021, Charles Curley wrote: On Fri, 10 Dec 2021 22:11:04 + (GMT) Tim Woodall wrote: Is there a good way to do what I want (which is to avoid missing an automatic upgrade and then not rebooting for months)? If you are using the unattended-upgrades package, you can set it

Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-10 Thread Charles Curley
On Fri, 10 Dec 2021 22:11:04 + (GMT) Tim Woodall wrote: > Is there a good way to do what I want (which is to avoid missing an > automatic upgrade and then not rebooting for months)? If you are using the unattended-upgrades package, you can set it to send you emails. Those emails will let

telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-10 Thread Tim Woodall
Is there a simple way to tell if the kernel/hypervisor that was used to boot is the one currently installed in /boot. I have a script that emails me when it detects a mismatch and it's broken with the latest bullseye xen hypervisor. I was grepping for major.minor.release (from