[Bug 1831258] Re: journalctl --list-boots does not recognize boots in a container
Scott Moser
ssmoser2+ubuntu at gmail.com
Tue Jun 4 15:01:11 UTC 2019
Filed issue with lxcfs at
https://github.com/lxc/lxcfs/issues/285
** Bug watch added: LXCFS bug tracker #285
https://github.com/lxc/lxcfs/issues/285
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1831258
Title:
journalctl --list-boots does not recognize boots in a container
Status in lxd package in Ubuntu:
New
Status in systemd package in Ubuntu:
Invalid
Status in lxd source package in Bionic:
New
Status in systemd source package in Bionic:
Invalid
Status in lxd source package in Eoan:
New
Status in systemd source package in Eoan:
Invalid
Bug description:
$ lxc launch ubuntu-daily:eoan devel1
$ sleep 10 # wait for boot
$ lxc exec devel1 /bin/bash
root at devel1:~# cat /proc/uptime
183.00 173.00
root at devel1:~# cat /etc/cloud/build.info
build_name: server
serial: 20190531
root at devel1:~# lsb_release -sc
eoan
root at devel1:~# journalctl --no-pager --list-boots
0 4ecd6fb081964b75b1ddc09baf1be3d9 Fri 2019-05-31 14:58:48 UTC—Fri 2019-05-31 15:06:10 UTC
root at devel1:~# reboot
root at devel1:~#
$ lxc exec devel1 /bin/bash
## verify the reboot happened
root at devel1:~# cat /proc/uptime
12.00 6.00
## but journalctl only shows the same boot it did before.
root at devel1:~# journalctl --no-pager --list-boots
0 4ecd6fb081964b75b1ddc09baf1be3d9 Fri 2019-05-31 14:58:48 UTC—Fri 2019-05-31 15:09:10 UTC
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: systemd 240-6ubuntu5
ProcVersionSignature: Ubuntu 4.15.0-50.54-generic 4.15.18
Uname: Linux 4.15.0-50-generic x86_64
ApportVersion: 2.20.11-0ubuntu2
Architecture: amd64
Date: Fri May 31 15:06:24 2019
MachineType: LENOVO 20KGS3Y900
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-50-generic root=UUID=25df9069-80c7-46f4-a47c-305613c2cb6b ro quiet splash vt.handoff=1
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/20/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: N23ET63W (1.38 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20KGS3Y900
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN23ET63W(1.38):bd04/20/2019:svnLENOVO:pn20KGS3Y900:pvrThinkPadX1Carbon6th:rvnLENOVO:rn20KGS3Y900:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad X1 Carbon 6th
dmi.product.name: 20KGS3Y900
dmi.product.version: ThinkPad X1 Carbon 6th
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1831258/+subscriptions
More information about the foundations-bugs
mailing list