[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 :)