[SOLVED] /dev/.lxc-boot-id

Apr 26, 2018
111
10
23
With recent updates we are receiving rkhunter reports about /dev/.lxc-boot-id being a hidden file. Easily fixed in rkhunter but which PVE/LXC package is responsible for creating this file?

Thanks!
 
With recent updates we are receiving rkhunter reports about /dev/.lxc-boot-id being a hidden file. Easily fixed in rkhunter but which PVE/LXC package is responsible for creating this file?
I assume that rkhunter reports this from inside a container?

In any case lxc itself creates this file - see https://github.com/lxc/lxc/blob/master/src/lxc/conf.c#L3163
it's then bind mounted to /proc/sys/kernel/random/boot_id - see http://0pointer.de/blog/projects/ids.html
in short it is used (among other things) for `journalctl -b` to work

I hope this explains it.
 
So the recent lxc-pve package update
not too sure it's so recent (AFAIR it's been that way since at least 6.1)

anyways - glad your question is answered :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!