-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: provide /proc/sys/kernel/random/boot_id #3027
Comments
This is the wrong place. This should be done by the container at startup. |
@brauner Where is the project for container startup? lxc? lxd? at first this looks no different to faking |
This should live in liblxc. |
And be done at |
Transferred over to liblxc, the runtime can indeed setup a memfd or something, put a uuid in there and bind-mount it (read-only) over the /proc file when it's in charge of mounting proc. |
Closes lxc#3027. BugLink: https://bugs.launchpad.net/bugs/1831258 Cc: Dimitri John Ledkov <xnox@ubuntu.com> Cc: Scott Moser <smoser@ubuntu.com> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Closes lxc#3027. BugLink: https://bugs.launchpad.net/bugs/1831258 Cc: Dimitri John Ledkov <xnox@ubuntu.com> Cc: Scott Moser <smoser@ubuntu.com> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Closes lxc#3027. BugLink: https://bugs.launchpad.net/bugs/1831258 Cc: Dimitri John Ledkov <xnox@ubuntu.com> Cc: Scott Moser <smoser@ubuntu.com> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Closes lxc#3027. BugLink: https://bugs.launchpad.net/bugs/1831258 Cc: Dimitri John Ledkov <xnox@ubuntu.com> Cc: Scott Moser <smoser@ubuntu.com> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Closes #3027. BugLink: https://bugs.launchpad.net/bugs/1831258 Cc: Dimitri John Ledkov <xnox@ubuntu.com> Cc: Scott Moser <smoser@ubuntu.com> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
As originally filed in ubuntu at bug 1831258
journalctl --list-boots
identifies boots by reading/proc/sys/kernel/random/boot_id
. Without doing this, the journal can only detect a reboot if the host has rebooted.Without this ability to detect boots, functionality like
journalctl --boot=X
will also not work.nspawn seems to do something similar in nspawn/nspawn.c:setup_boot_id
The text was updated successfully, but these errors were encountered: