[Bug 1654310] Re: lxcfs: update the 'btime' field in /proc/stat to reflect guest boot time not host

2017-06-19 Thread Jason Baron
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

[Bug 1654310] Re: lxcfs: update the 'btime' field in /proc/stat to reflect guest boot time not host

2017-01-30 Thread Jason Baron
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

[Bug 1654310] [NEW] lxcfs: update the 'btime' field in /proc/stat to reflect guest boot time not host

2017-01-05 Thread Jason Baron
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,