Upgrade from r41 to r55 on BBB failed to boot and also to failover (drops into rescue systemd mode)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Snappy |
High
|
Unassigned | ||
Bug Description
While testing autopkgtest against the beagleboneblack I ran into the following problem:
****** Running ./tests/
current version: 41
available version: 55
upgrading...
Installing ubuntu-core (55)
Name Date Version Developer
ubuntu-core 2015-05-08 55 ubuntu!
Reboot to use the new ubuntu-core.
Rebooting testbed...
....
adt-virt-ssh: DBG: execute-timeout: /tmp/adt-
<VirtSubproc>: failure: (down) ['rm', '-rf', '/tmp/sudo_
while cleaning up because of another error:
<VirtSubproc>: failure: Timed out on waiting for ssh connection
"""
It turns out the upgrade broke and systemd drops me into a recovery shell and says it can not execute /bin/plymouth (which indeed is not available on the system).
So there are two bugs here:
1. the system did not upgrade correctly (either /bin/plymouth is missing or there is a incorrect systemd unit that referes to it)
2. the system should not go into a recovery shell but instead just auto-reboot back into the good system
| Michael Vogt (mvo) wrote : | #1 |
| Michael Vogt (mvo) wrote : | #2 |
It looks like the "systemd-
| Michael Vogt (mvo) wrote : | #3 |
Subscribing pitti to get intput what we can do with systemd so that it automatically reboots in the rescue.service if snappy_mode is set to "try".
| Changed in snappy: | |
| status: | New → Triaged |
| importance: | Undecided → High |
| summary: |
Upgrade from r41 to r55 on BBB failed to boot and also to failover + (drops into rescue systemd mode) |
| tags: | added: snappy-robustness |
| Martin Pitt (pitti) wrote : | #4 |
> it can not execute /bin/plymouth
This is most likely just from
ExecStartPre=
which is guarded with the "-" so it's just cosmetical.
Not many logs here, but I suppose that this was actually emergency.target, triggered by local-fs.target's "OnFailure=
[1] Unfortunately using a drop-in (local-
| Michael Vogt (mvo) wrote : | #5 |
We won't work on this 15.04 bug anymore.
| Changed in snappy: | |
| status: | Triaged → Won't Fix |


Some relevant information: localdomain systemd-fsck[424]: fsck.fat 3.0.27 (2014-11-12) localdomain systemd-fsck[424]: /snappy-system.txt localdomain systemd-fsck[424]: Duplicate directory entry. localdomain systemd-fsck[424]: First Size 1581 bytes, date 13:41:12 May 21 2015 localdomain systemd-fsck[424]: Second Size 0 bytes, date 17:31:44 Jul 24 1913 localdomain systemd-fsck[424]: Auto-renaming second. localdomain systemd-fsck[424]: Renamed to FSCK0000.000 localdomain systemd-fsck[424]: /snappy-stamp.txt localdomain systemd-fsck[424]: File size is 0 bytes, cluster chain length is > 0 bytes. localdomain systemd-fsck[424]: Truncating file to 0 bytes. localdomain systemd[1]: Mounting /boot/uboot... localdomain mount[440]: mount: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1, localdomain kernel: FAT-fs (mmcblk0p1): IO charset iso8859-1 not found
"""
May 21 13:42:06 localhost.
May 21 13:42:06 localhost.
May 21 13:42:06 localhost.
May 21 13:42:06 localhost.
May 21 13:42:06 localhost.
May 21 13:42:06 localhost.
May 21 13:42:06 localhost.
May 21 13:42:06 localhost.
May 21 13:42:06 localhost.
May 21 13:42:06 localhost.
...
May 21 13:42:06 localhost.
May 21 13:42:07 localhost.
May 21 13:42:07 localhost.
"""