My kernel above is downrev, but this also happens with the current zesty
kernel:

[agnew(~)] uname -a
Linux agnew 4.10.0-24-generic #28-Ubuntu SMP Wed Jun 14 08:14:34 UTC 2017 
x86_64 x86_64 x86_64 GNU/Linux
[agnew(~)] uptime
 16:47:57 up 5 min,  3 users,  load average: 0.46, 1.13, 0.63
[agnew(~)] lxc exec openstack /bin/su - 
mesg: ttyname failed: Success
root@openstack:~# date ; ps -o lstart $$
Tue Jun 20 04:48:00 UTC 2017
                 STARTED
Tue Jun 20 04:48:45 2017
root@openstack:~# logout

The container was started on boot, so 45 seconds sounds about right.

And then if I restart the container, the offset becomes larger:

[agnew(~)] lxc restart openstack
[agnew(~)] lxc exec openstack /bin/su - 
mesg: ttyname failed: Success
root@openstack:~# date ; ps -o lstart $$
Tue Jun 20 04:48:43 UTC 2017
                 STARTED
Tue Jun 20 04:54:46 2017
root@openstack:~# logout

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699010

Title:
  process start times offset by host uptime

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

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

Reply via email to