Ok, I guess we could intercept the /proc//stat read() call and
overwrite the starttime there with the correct value? That is, add the
starttime from /proc//stat to the host boot time and then subtract
that from the guest boot time.
--
You received this bug notification because you are a member
I've created a pull request to address this issue:
https://github.com/lxc/lxcfs/pull/169
Thanks.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1654310
Title:
lxcfs: update the 'btime' field in
Public bug reported:
The 'btime' field in /proc/stat reflects the host boot time and not the
time that the guest container has started.
** Affects: make-dfsg (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs,