Public bug reported:
I noticed that the process start times in my LXDs appear to be offset by
host's uptime at the time the container was booted. For example:
[agnew(~)] uptime
16:18:12 up 5 days, 6:15, 15 users, load average: 0.29, 0.36, 0.51
[agnew(mojo-vault)] lxc launch ubuntu:16.04
Creating prime-shiner
Starting prime-shiner
[agnew(~)] lxc exec prime-shiner /bin/su -
mesg: ttyname failed: Success
root@prime-shiner:~# ps -o lstart 1
STARTED
Sun Jun 25 10:34:52 2017
root@prime-shiner:~# date
Tue Jun 20 04:18:56 UTC 2017
root@prime-shiner:~# date -d 'now + 5 days 6 hours 15 minutes'
Sun Jun 25 10:34:27 UTC 2017
root@prime-shiner:~# _
And in a container that was rebooted yesterday:
[agnew(~)] lxc exec openstack /bin/su -
mesg: ttyname failed: Success
root@openstack:~# date
Tue Jun 20 04:22:42 UTC 2017
root@openstack:~# ps -o lstart 1
STARTED
Fri Jun 23 06:09:34 2017
root@openstack:~# ps -o lstart $$
STARTED
Sat Jun 24 08:26:11 2017
root@openstack:~# _
Version information:
[agnew(~)] lsb_release -rc
Release: 17.04
Codename: zesty
[agnew(~)] uname -a
Linux agnew 4.10.0-22-generic #24-Ubuntu SMP Mon May 22 17:43:20 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
[agnew(~)] dpkg-query -W linux-image-$(uname -r) lxd
linux-image-4.10.0-22-generic 4.10.0-22.24
lxd 2.12-0ubuntu3
** Affects: lxd (Ubuntu)
Importance: Undecided
Status: New
--
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