2018-05-18 07:48:16 |
karlsebal |
bug |
|
|
added bug |
2018-05-18 08:21:26 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug bionic dist-upgrade |
amd64 apport-bug bionic dist-upgrade xenial2bionic |
|
2018-06-01 18:47:40 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu): status |
New |
Incomplete |
|
2018-06-01 19:06:14 |
Steve Langasek |
bug |
|
|
added subscriber Steve Langasek |
2018-06-07 04:14:32 |
karlsebal |
attachment added |
|
afterboot.dmesg https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1771962/+attachment/5149572/+files/afterboot.dmesg |
|
2018-06-07 15:19:35 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu): status |
Incomplete |
Triaged |
|
2018-06-09 04:27:36 |
Steve Langasek |
description |
Since upgrade to Bionic ubuntu is hanging at boot for about 30s. A `dmesg` shows
```
[ 3.407230] clocksource: Switched to clocksource tsc
[ 34.632583] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
```
This is 100% reproducable and is always 30s minimum. I do not know in which package to report this properly – please excuse me.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.17
ProcVersionSignature: Ubuntu 4.15.0-20.21-lowlatency 4.15.17
Uname: Linux 4.15.0-20-lowlatency x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: i3
Date: Fri May 18 09:40:59 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-06-03 (1444 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to bionic on 2018-05-13 (5 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz:
Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
Error executing command as another user: Not authorized
This incident has been reported. |
[SRU Justification]
A regression in initramfs-tools causes it to autogenerate config in the initramfs saying to resume from any available swap devices, even if the swap device is ephemeral (i.e. swap encrypted with a random key). This adds an inappropriate 30-second boot delay to any system with randomly-crypted swap, which includes any system that was installed with encrypted home directories in earlier releases.
[Test case]
1. Install the ecryptfs-utils package.
2. Enable encrypted swap by running 'sudo ecryptfs-setup-swap'.
3. Run 'update-initramfs -u' to regenerate the initramfs.
4. Reboot.
5. Verify that dmesg shows a 30-second delay before mounting the root filesystem.
6. Install initramfs-tools from bionic-proposed.
7. Reboot.
8. Verify that dmesg no longer shows a 30-second delay before mounting the root filesystem.
[Regression potential]
This makes changes to shell scripts, and shell is a perilous language. An unnoticed bug could cause all initramfs generation, and thus all kernel installation, to fail for some users. A regression could also cause a user to lose hiberation support that they currently have.
[Original description]
Since upgrade to Bionic ubuntu is hanging at boot for about 30s. A `dmesg` shows
```
[ 3.407230] clocksource: Switched to clocksource tsc
[ 34.632583] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
```
This is 100% reproducable and is always 30s minimum. I do not know in which package to report this properly – please excuse me.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.17
ProcVersionSignature: Ubuntu 4.15.0-20.21-lowlatency 4.15.17
Uname: Linux 4.15.0-20-lowlatency x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: i3
Date: Fri May 18 09:40:59 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-06-03 (1444 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to bionic on 2018-05-13 (5 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz:
Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
Error executing command as another user: Not authorized
This incident has been reported. |
|
2018-06-09 04:31:17 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu): status |
Triaged |
Fix Committed |
|
2018-06-12 22:35:04 |
Brian Murray |
affects |
ubuntu-release-upgrader (Ubuntu) |
initramfs-tools (Ubuntu) |
|
2018-06-12 22:39:30 |
Brian Murray |
initramfs-tools (Ubuntu Bionic): status |
New |
Fix Committed |
|
2018-06-12 22:39:31 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-06-12 22:39:33 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2018-06-12 22:39:36 |
Brian Murray |
tags |
amd64 apport-bug bionic dist-upgrade xenial2bionic |
amd64 apport-bug bionic dist-upgrade verification-needed verification-needed-bionic xenial2bionic |
|
2018-06-12 22:41:12 |
Brian Murray |
initramfs-tools (Ubuntu): status |
Fix Committed |
Fix Released |
|
2018-06-13 07:54:00 |
Laurent Bonnaud |
bug |
|
|
added subscriber Laurent Bonnaud |
2018-06-15 06:30:55 |
Steve Langasek |
tags |
amd64 apport-bug bionic dist-upgrade verification-needed verification-needed-bionic xenial2bionic |
amd64 apport-bug bionic dist-upgrade verification-done verification-done-bionic xenial2bionic |
|
2018-06-19 15:39:23 |
Launchpad Janitor |
initramfs-tools (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-06-19 15:39:28 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-09-18 09:38:22 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~tdaitx/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/355188 |
|
2018-09-18 10:23:02 |
Tiago Stürmer Daitx |
merge proposal unlinked |
https://code.launchpad.net/~tdaitx/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/355188 |
|
|