2020-04-20 17:02:06 |
Thorsten Bonhagen |
bug |
|
|
added bug |
2020-06-30 05:32:27 |
Launchpad Janitor |
clevis (Ubuntu): status |
New |
Confirmed |
|
2020-06-30 05:33:58 |
Ryan Mounce |
bug |
|
|
added subscriber Ryan Mounce |
2020-07-22 22:17:42 |
dann frazier |
bug watch added |
|
https://github.com/latchset/clevis/issues/145 |
|
2020-09-18 21:15:19 |
dann frazier |
nominated for series |
|
Ubuntu Groovy |
|
2020-09-18 21:15:19 |
dann frazier |
bug task added |
|
clevis (Ubuntu Groovy) |
|
2020-09-18 21:15:19 |
dann frazier |
nominated for series |
|
Ubuntu Focal |
|
2020-09-18 21:15:19 |
dann frazier |
bug task added |
|
clevis (Ubuntu Focal) |
|
2020-09-18 21:15:19 |
dann frazier |
nominated for series |
|
Ubuntu Bionic |
|
2020-09-18 21:15:19 |
dann frazier |
bug task added |
|
clevis (Ubuntu Bionic) |
|
2020-09-18 21:15:37 |
dann frazier |
clevis (Ubuntu Groovy): status |
Confirmed |
In Progress |
|
2020-09-18 21:15:39 |
dann frazier |
clevis (Ubuntu Groovy): assignee |
|
dann frazier (dannf) |
|
2020-09-21 14:56:05 |
dann frazier |
clevis (Ubuntu Focal): status |
New |
Confirmed |
|
2020-09-21 14:56:07 |
dann frazier |
clevis (Ubuntu Bionic): status |
New |
Confirmed |
|
2020-09-21 20:52:57 |
Launchpad Janitor |
clevis (Ubuntu Groovy): status |
In Progress |
Fix Released |
|
2020-09-28 22:11:51 |
dann frazier |
clevis (Ubuntu Focal): status |
Confirmed |
In Progress |
|
2020-09-28 22:11:53 |
dann frazier |
clevis (Ubuntu Focal): assignee |
|
dann frazier (dannf) |
|
2020-09-28 22:28:09 |
dann frazier |
description |
Hi,
initramfs-clevis wait 1s for carrier to show up, this is not much and not working in most cases.
For me i have to up to 12 seconds for lan carrier.
fix:
i changed /usr/share/initramfs-tools/scripts/local-top/clevis
to 12s loop:
eth_check() {
for device in $(clevis_all_netbootable_devices); do
for i in {1..12}; do
ip link set dev $device up
sleep 1
ETH_HAS_CARRIER=$(cat /sys/class/net/"$device"/carrier)
if [ "$ETH_HAS_CARRIER" = '1' ]; then
return 0
fi
done
done
return 1
}
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: clevis-initramfs 12-1ubuntu2 [modified: usr/share/initramfs-tools/scripts/local-top/clevis]
ProcVersionSignature: Ubuntu 5.4.0-25.29-generic 5.4.30
Uname: Linux 5.4.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Mon Apr 20 18:55:44 2020
InstallationDate: Installed on 2020-04-18 (2 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
PackageArchitecture: all
SourcePackage: clevis
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
Several users have complained of issues with bringing up networking in the initramfs, which causes automatic LUKS volume unlocking via a network server to fail. The original report for this bug is one example, others can be found in the upstream bug:
https://github.com/latchset/clevis/issues/145
The symptoms vary - see the commit message in [Fix] below for an enumerated list - but the general root cause is that we currently fail to wait for device enumeration to complete before trying to configure an interface.
[Test Case]
Boot a system with a slow-to-enumerate network device and confirm that the system is able to use it to automatically decrypt a LUKS root device.
[Fix]
https://github.com/latchset/clevis/commit/f670383c276d6a61e165ff9e498e19271f8e168c
[Regression Potential]
The biggest risk I see is if a user was somehow benefiting from some unknown side-effect of the existing behavior. The existing "eth_check()" code brings up each interface and checks for a carrier. The new code leaves it to configure_networking() to bring up the device when its actually time to configure it. |
|
2020-10-20 21:20:00 |
Brian Murray |
clevis (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-10-20 21:20:04 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-10-20 21:20:06 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2020-10-20 21:20:11 |
Brian Murray |
tags |
amd64 apport-bug focal |
amd64 apport-bug focal verification-needed verification-needed-focal |
|
2020-10-20 22:11:05 |
Brian Murray |
clevis (Ubuntu Bionic): status |
Confirmed |
Fix Committed |
|
2020-10-20 22:11:12 |
Brian Murray |
tags |
amd64 apport-bug focal verification-needed verification-needed-focal |
amd64 apport-bug focal verification-needed verification-needed-bionic verification-needed-focal |
|
2020-10-23 20:46:44 |
dann frazier |
tags |
amd64 apport-bug focal verification-needed verification-needed-bionic verification-needed-focal |
amd64 apport-bug focal verification-done-focal verification-needed verification-needed-bionic |
|
2020-10-23 20:51:55 |
dann frazier |
tags |
amd64 apport-bug focal verification-done-focal verification-needed verification-needed-bionic |
amd64 apport-bug focal verification-done verification-done-bionic verification-done-focal |
|
2020-10-28 01:17:24 |
Launchpad Janitor |
clevis (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2020-10-28 01:30:39 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-10-28 01:41:43 |
Launchpad Janitor |
clevis (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|