Ok, I guess we could intercept the /proc/<pid>/stat read() call and
overwrite the starttime there with the correct value? That is, add the
starttime from /proc/<pid>/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 of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1654310

Title:
  lxcfs: update the 'btime' field in /proc/stat to reflect guest boot
  time not host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxcfs/+bug/1654310/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to