Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #242986
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz |
| Date | 2021-12-12 02:30 +0100 |
| Message-ID | <DtlQB-26U-1@gated-at.bofh.it> (permalink) |
| References | <DsWpb-3ET-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Tim, On Fri, Dec 10, 2021 at 10:11:04PM +0000, 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 then I have to schedule downtime to boot into it, so I am well aware of what is booted into what. However, it seems you can read the ELF build ID from the kernel file and also from "xl info" (or /sys/hypervisor/properties/buildid if you decode it). Please see attached file check_running_hypervisor.sh for an example. Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
telling if we've actually booted from /boot/xen-4.14-amd64.gz Tim Woodall <debianuser@woodall.me.uk> - 2021-12-10 23:20 +0100
Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz Charles Curley <charlescurley@charlescurley.com> - 2021-12-11 04:40 +0100
Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz Tim Woodall <debianuser@woodall.me.uk> - 2021-12-11 07:00 +0100
Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz Charles Curley <charlescurley@charlescurley.com> - 2021-12-11 19:10 +0100
Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-12 09:10 +0100
Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz Charles Curley <charlescurley@charlescurley.com> - 2021-12-11 22:00 +0100
Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz Andy Smith <andy@strugglers.net> - 2021-12-12 02:30 +0100
Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz Tim Woodall <debianuser@woodall.me.uk> - 2021-12-12 08:20 +0100
Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz Tim Woodall <debianuser@woodall.me.uk> - 2021-12-12 16:20 +0100
csiph-web