2020-02-04 23:46:38 |
Ryan Harper |
bug |
|
|
added bug |
2020-02-04 23:48:57 |
Ryan Harper |
attachment added |
|
test program to recreate failure https://bugs.launchpad.net/ubuntu/+source/linux-signed-5.4/+bug/1861941/+attachment/5325434/+files/test-bcache-byuuid-links.sh |
|
2020-02-04 23:49:28 |
Ryan Harper |
tags |
amd64 apport-bug curtin focal uec-images vmtest |
amd64 apport-bug curtin focal rls-ff-incoming uec-images vmtest |
|
2020-04-07 15:01:53 |
Joshua Powers |
bug task added |
|
linux (Ubuntu) |
|
2020-04-07 15:30:11 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2020-04-08 15:02:52 |
Colin Ian King |
linux-signed-5.4 (Ubuntu): importance |
Undecided |
Medium |
|
2020-04-08 15:02:54 |
Colin Ian King |
linux-signed-5.4 (Ubuntu): assignee |
|
Colin Ian King (colin-king) |
|
2020-04-09 17:06:21 |
Ryan Harper |
attachment added |
|
bcache-release-4.15-20.txt https://bugs.launchpad.net/ubuntu/+source/linux-signed-5.4/+bug/1861941/+attachment/5350481/+files/bcache-release-4.15-20.txt |
|
2020-04-09 17:07:30 |
Ryan Harper |
attachment added |
|
bcache-daily-4.15-76.txt https://bugs.launchpad.net/ubuntu/+source/linux-signed-5.4/+bug/1861941/+attachment/5350483/+files/bcache-daily-4.15-76.txt |
|
2020-04-09 17:14:48 |
Ryan Harper |
linux (Ubuntu): status |
Incomplete |
New |
|
2020-04-09 17:30:11 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2020-04-21 13:32:27 |
Colin Ian King |
bug task added |
|
udev (Ubuntu) |
|
2020-04-21 13:32:43 |
Colin Ian King |
udev (Ubuntu): assignee |
|
Dimitri John Ledkov (xnox) |
|
2020-04-21 13:32:49 |
Colin Ian King |
udev (Ubuntu): importance |
Undecided |
High |
|
2020-04-21 18:24:54 |
Dimitri John Ledkov |
affects |
udev (Ubuntu) |
systemd (Ubuntu) |
|
2020-04-21 18:24:54 |
Dimitri John Ledkov |
systemd (Ubuntu): assignee |
Dimitri John Ledkov (xnox) |
Balint Reczey (rbalint) |
|
2020-04-21 22:04:30 |
Dan Streetman |
bug |
|
|
added subscriber Dan Streetman |
2020-04-21 22:13:11 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rbalint/ubuntu/+source/systemd/+git/systemd/+merge/382712 |
|
2020-04-21 22:13:44 |
Balint Reczey |
merge proposal unlinked |
https://code.launchpad.net/~rbalint/ubuntu/+source/systemd/+git/systemd/+merge/382712 |
|
|
2020-04-30 16:13:14 |
Balint Reczey |
tags |
amd64 apport-bug curtin focal rls-ff-incoming uec-images vmtest |
amd64 apport-bug curtin focal rls-ff-incoming rls-gg-incoming uec-images vmtest |
|
2020-05-08 12:33:49 |
Francis Ginther |
tags |
amd64 apport-bug curtin focal rls-ff-incoming rls-gg-incoming uec-images vmtest |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e rls-ff-incoming rls-gg-incoming uec-images vmtest |
|
2020-05-14 13:21:30 |
Brian Murray |
affects |
linux-signed-5.4 (Ubuntu) |
linux-signed (Ubuntu) |
|
2020-05-14 13:21:40 |
Brian Murray |
nominated for series |
|
Ubuntu Focal |
|
2020-05-14 13:21:40 |
Brian Murray |
bug task added |
|
linux (Ubuntu Focal) |
|
2020-05-14 13:21:40 |
Brian Murray |
bug task added |
|
systemd (Ubuntu Focal) |
|
2020-05-14 13:21:40 |
Brian Murray |
bug task added |
|
linux-signed (Ubuntu Focal) |
|
2020-05-14 13:21:59 |
Brian Murray |
nominated for series |
|
Ubuntu Groovy |
|
2020-05-14 13:21:59 |
Brian Murray |
bug task added |
|
linux (Ubuntu Groovy) |
|
2020-05-14 13:21:59 |
Brian Murray |
bug task added |
|
systemd (Ubuntu Groovy) |
|
2020-05-14 13:21:59 |
Brian Murray |
bug task added |
|
linux-signed (Ubuntu Groovy) |
|
2020-05-14 13:22:21 |
Brian Murray |
tags |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e rls-ff-incoming rls-gg-incoming uec-images vmtest |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e uec-images vmtest |
|
2020-05-18 18:04:37 |
Balint Reczey |
systemd (Ubuntu Groovy): status |
New |
In Progress |
|
2020-05-20 07:44:30 |
Balint Reczey |
attachment added |
|
bcache-tools_1.0.8-3ubuntu1.patch https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941/+attachment/5374566/+files/bcache-tools_1.0.8-3ubuntu1.patch |
|
2020-05-20 07:45:08 |
Balint Reczey |
bug task added |
|
bcache-tools (Ubuntu) |
|
2020-05-20 07:45:32 |
Balint Reczey |
systemd (Ubuntu Focal): status |
New |
Invalid |
|
2020-05-20 07:45:53 |
Balint Reczey |
systemd (Ubuntu Groovy): status |
In Progress |
Invalid |
|
2020-05-20 07:46:09 |
Balint Reczey |
bcache-tools (Ubuntu Groovy): importance |
Undecided |
High |
|
2020-05-20 07:46:09 |
Balint Reczey |
bcache-tools (Ubuntu Groovy): status |
New |
In Progress |
|
2020-05-20 07:46:24 |
Balint Reczey |
linux (Ubuntu Groovy): status |
Incomplete |
Invalid |
|
2020-05-20 07:46:38 |
Balint Reczey |
linux (Ubuntu Focal): status |
New |
Invalid |
|
2020-05-20 07:47:01 |
Balint Reczey |
linux-signed (Ubuntu Groovy): status |
New |
Invalid |
|
2020-05-20 07:47:13 |
Balint Reczey |
bcache-tools (Ubuntu Groovy): assignee |
|
Balint Reczey (rbalint) |
|
2020-05-20 08:31:19 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e uec-images vmtest |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images vmtest |
|
2020-05-20 18:47:43 |
Launchpad Janitor |
bcache-tools (Ubuntu Groovy): status |
In Progress |
Fix Released |
|
2020-05-21 16:44:37 |
Ryan Harper |
linux (Ubuntu Groovy): status |
Invalid |
New |
|
2020-05-21 16:45:08 |
Ryan Harper |
linux-signed (Ubuntu Groovy): status |
Invalid |
New |
|
2020-05-21 17:00:12 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2020-05-21 20:24:22 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Terry Rudd |
2020-05-22 20:58:40 |
Ryan Harper |
attachment added |
|
bcache-tools-fix-lp1861941.tar.gz https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1861941/+attachment/5375721/+files/bcache-tools-fix-lp1861941.tar.gz |
|
2020-05-22 20:59:10 |
Ryan Harper |
attachment added |
|
bcache-tools-debdiff-1.0.8-4_to_1.0.8-4ubuntu1 https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1861941/+attachment/5375722/+files/bcache-tools-debdiff-1.0.8-4_to_1.0.8-4ubuntu1 |
|
2020-05-22 21:00:05 |
Ryan Harper |
attachment added |
|
test-bcache-byuuid-links-fixed.sh https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1861941/+attachment/5375723/+files/test-bcache-byuuid-links-fixed.sh |
|
2020-05-22 21:41:30 |
Ryan Harper |
attachment added |
|
lp1861941-skip-bcache-links.debdiff https://bugs.launchpad.net/ubuntu/+source/bcache-tools/+bug/1861941/+attachment/5375730/+files/lp1861941-skip-bcache-links.debdiff |
|
2020-06-19 17:28:56 |
Alexander Litvinov |
bug |
|
|
added subscriber Canonical Field Critical |
2020-06-19 17:29:13 |
Launchpad Janitor |
linux-signed (Ubuntu): status |
New |
Confirmed |
|
2020-06-19 17:29:13 |
Launchpad Janitor |
bcache-tools (Ubuntu Focal): status |
New |
Confirmed |
|
2020-06-19 17:29:13 |
Launchpad Janitor |
linux-signed (Ubuntu Focal): status |
New |
Confirmed |
|
2020-06-20 03:22:03 |
Nobuto Murata |
bug |
|
|
added subscriber Nobuto Murata |
2020-06-20 14:57:33 |
Launchpad Janitor |
systemd (Ubuntu Groovy): status |
Invalid |
Fix Released |
|
2020-06-22 08:55:32 |
Balint Reczey |
systemd (Ubuntu Focal): status |
Invalid |
Confirmed |
|
2020-06-22 09:25:26 |
Balint Reczey |
bcache-tools (Ubuntu Groovy): status |
Fix Released |
Triaged |
|
2020-06-22 09:25:26 |
Balint Reczey |
bcache-tools (Ubuntu Groovy): assignee |
Balint Reczey (rbalint) |
|
|
2020-06-23 12:48:22 |
Lucas Kanashiro |
bug |
|
|
added subscriber Ubuntu Server |
2020-06-30 11:05:39 |
Balint Reczey |
nominated for series |
|
Ubuntu Bionic |
|
2020-06-30 11:05:39 |
Balint Reczey |
bug task added |
|
linux (Ubuntu Bionic) |
|
2020-06-30 11:05:39 |
Balint Reczey |
bug task added |
|
systemd (Ubuntu Bionic) |
|
2020-06-30 11:05:39 |
Balint Reczey |
bug task added |
|
bcache-tools (Ubuntu Bionic) |
|
2020-06-30 11:05:39 |
Balint Reczey |
bug task added |
|
linux-signed (Ubuntu Bionic) |
|
2020-07-09 09:21:04 |
Colin Ian King |
linux-signed (Ubuntu Groovy): assignee |
Colin Ian King (colin-king) |
|
|
2020-07-10 13:43:42 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~paride/curtin/+git/curtin/+merge/387217 |
|
2020-07-14 19:45:28 |
Francis Ginther |
bug task deleted |
linux-signed (Ubuntu) |
|
|
2020-07-14 19:45:40 |
Francis Ginther |
bug task deleted |
linux (Ubuntu) |
|
|
2020-07-21 12:40:14 |
Rafael David Tinoco |
bug |
|
|
added subscriber Rafael David Tinoco |
2020-07-21 18:04:49 |
Rafael David Tinoco |
bug task deleted |
linux-signed (Ubuntu Bionic) |
|
|
2020-07-21 18:05:10 |
Rafael David Tinoco |
bug task deleted |
linux-signed (Ubuntu Groovy) |
|
|
2020-07-21 18:05:17 |
Rafael David Tinoco |
bug task deleted |
linux-signed (Ubuntu Focal) |
|
|
2020-07-21 18:05:24 |
Rafael David Tinoco |
bug task deleted |
linux (Ubuntu Groovy) |
|
|
2020-07-21 18:05:38 |
Rafael David Tinoco |
systemd (Ubuntu Groovy): assignee |
Balint Reczey (rbalint) |
|
|
2020-07-21 18:05:49 |
Rafael David Tinoco |
bug task deleted |
linux (Ubuntu Focal) |
|
|
2020-07-21 18:05:56 |
Rafael David Tinoco |
bug task deleted |
linux (Ubuntu Bionic) |
|
|
2020-07-21 18:06:21 |
Rafael David Tinoco |
bug task added |
|
util-linux (Ubuntu) |
|
2020-07-21 18:06:57 |
Rafael David Tinoco |
bcache-tools (Ubuntu Groovy): status |
Triaged |
Confirmed |
|
2020-07-21 18:07:29 |
Rafael David Tinoco |
bug task deleted |
systemd (Ubuntu Groovy) |
|
|
2020-07-21 18:08:27 |
Rafael David Tinoco |
bcache-tools (Ubuntu Focal): importance |
Undecided |
Medium |
|
2020-07-21 18:08:29 |
Rafael David Tinoco |
bcache-tools (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2020-07-21 18:08:33 |
Rafael David Tinoco |
systemd (Ubuntu Focal): importance |
Undecided |
Medium |
|
2020-07-21 18:08:35 |
Rafael David Tinoco |
systemd (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2020-07-21 18:13:43 |
Rafael David Tinoco |
bug task deleted |
util-linux (Ubuntu) |
|
|
2020-07-21 18:13:53 |
Rafael David Tinoco |
bug task deleted |
bcache-tools (Ubuntu Groovy) |
|
|
2020-07-21 18:14:08 |
Rafael David Tinoco |
bcache-tools (Ubuntu): status |
Confirmed |
Fix Released |
|
2020-07-21 18:14:12 |
Rafael David Tinoco |
bcache-tools (Ubuntu): importance |
High |
Medium |
|
2020-07-21 18:14:14 |
Rafael David Tinoco |
systemd (Ubuntu): importance |
High |
Medium |
|
2020-07-21 18:14:25 |
Rafael David Tinoco |
systemd (Ubuntu): status |
Fix Released |
Triaged |
|
2020-07-21 18:14:29 |
Rafael David Tinoco |
systemd (Ubuntu Bionic): status |
New |
Triaged |
|
2020-07-21 18:14:31 |
Rafael David Tinoco |
systemd (Ubuntu Focal): status |
Confirmed |
Triaged |
|
2020-07-21 18:14:35 |
Rafael David Tinoco |
bcache-tools (Ubuntu Bionic): status |
New |
Triaged |
|
2020-07-21 18:16:16 |
Rafael David Tinoco |
systemd (Ubuntu): status |
Triaged |
Fix Released |
|
2020-07-21 20:02:54 |
Rafael David Tinoco |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890446 |
|
2020-07-23 00:15:10 |
Rafael David Tinoco |
bcache-tools (Ubuntu): status |
Fix Released |
In Progress |
|
2020-07-23 00:15:13 |
Rafael David Tinoco |
bcache-tools (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2020-07-23 00:15:15 |
Rafael David Tinoco |
bcache-tools (Ubuntu Focal): status |
Confirmed |
In Progress |
|
2020-07-23 00:15:19 |
Rafael David Tinoco |
systemd (Ubuntu Focal): status |
Triaged |
In Progress |
|
2020-07-23 00:15:22 |
Rafael David Tinoco |
systemd (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2020-07-23 00:15:23 |
Rafael David Tinoco |
systemd (Ubuntu): status |
Fix Released |
In Progress |
|
2020-07-23 00:23:33 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-tools/+git/bcache-tools/+merge/387908 |
|
2020-07-23 00:37:36 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-tools/+git/bcache-tools/+merge/387909 |
|
2020-07-23 17:15:50 |
Rafael David Tinoco |
systemd (Ubuntu): status |
In Progress |
Fix Released |
|
2020-07-23 19:32:32 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/+git/systemd/+merge/387991 |
|
2020-07-23 20:09:25 |
Rafael David Tinoco |
merge proposal linked |
|
https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/+git/systemd/+merge/387998 |
|
2020-07-24 20:11:27 |
Rafael David Tinoco |
merge proposal unlinked |
https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/+git/systemd/+merge/387991 |
|
|
2020-07-29 15:31:26 |
Launchpad Janitor |
bcache-tools (Ubuntu): status |
In Progress |
Fix Released |
|
2020-07-31 12:51:56 |
Timo Aaltonen |
bcache-tools (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-07-31 12:51:58 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-07-31 12:52:00 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2020-07-31 12:52:06 |
Timo Aaltonen |
tags |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images vmtest |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-needed verification-needed-focal vmtest |
|
2020-08-05 21:13:16 |
Rafael David Tinoco |
tags |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-needed verification-needed-focal vmtest |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-done-focal verification-needed vmtest |
|
2020-08-05 21:19:34 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-tools/+git/bcache-tools/+merge/388774 |
|
2020-08-05 21:42:47 |
Rafael David Tinoco |
description |
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
* bcache-tools udev created symlinks might disappear when other udev events are processed for the same devices.
* after mkfs.XXX in /dev/bcacheY you might face a condition where /dev/bcache/by-{uuid,label}/zzz symlinks are gone.
* /dev/bcache/by-{uuid,label}/ symlinks are important so bcache devices can be addressed by their UUIDs and not the ordering they were assembled (MAAS depends on this feature, for example).
* it was also discussed in this bug that systemd-udev should *not* populate /dev/disk/by-uuid/ with symlinks of disks that were bcache backing devices. this was turned into a discussion whether blkid should report those or not, and this discussion "died" after sometime.
[Test Case]
* The reproducer script is here:
https://paste.ubuntu.com/p/37KGy2Smnp/
[Regression Potential]
* We are not depending on bcache device udev events any more when creating the /dev/bcache/by-{uuid,label}/ symlinks. Instead, we are depending on a wrapper script that heads bcache device superblock. If there is a bug in this wrapper the symlinks wouldn't work.
* Previously we were thinking in asking the kernel team to remove the bcache udev event delta script they've done for previous case (LP: #1729145). It creates the udev events that were being read and filling the symlinks. We decided not to remove those (just from Groovy and on) so we don't need to worry on Breaks/Conflicts in between the kernel package and bcache-tools (and udev)).
* Long story short: kernel will continue to emit bcache udev events as it did previously but now those events won't be used by anything - after installing this SRU - because udev wrapper script is doing this job (and doing it properly)
[Other Info]
- Original Description:
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2020-08-05 21:44:30 |
Rafael David Tinoco |
description |
[Impact]
* bcache-tools udev created symlinks might disappear when other udev events are processed for the same devices.
* after mkfs.XXX in /dev/bcacheY you might face a condition where /dev/bcache/by-{uuid,label}/zzz symlinks are gone.
* /dev/bcache/by-{uuid,label}/ symlinks are important so bcache devices can be addressed by their UUIDs and not the ordering they were assembled (MAAS depends on this feature, for example).
* it was also discussed in this bug that systemd-udev should *not* populate /dev/disk/by-uuid/ with symlinks of disks that were bcache backing devices. this was turned into a discussion whether blkid should report those or not, and this discussion "died" after sometime.
[Test Case]
* The reproducer script is here:
https://paste.ubuntu.com/p/37KGy2Smnp/
[Regression Potential]
* We are not depending on bcache device udev events any more when creating the /dev/bcache/by-{uuid,label}/ symlinks. Instead, we are depending on a wrapper script that heads bcache device superblock. If there is a bug in this wrapper the symlinks wouldn't work.
* Previously we were thinking in asking the kernel team to remove the bcache udev event delta script they've done for previous case (LP: #1729145). It creates the udev events that were being read and filling the symlinks. We decided not to remove those (just from Groovy and on) so we don't need to worry on Breaks/Conflicts in between the kernel package and bcache-tools (and udev)).
* Long story short: kernel will continue to emit bcache udev events as it did previously but now those events won't be used by anything - after installing this SRU - because udev wrapper script is doing this job (and doing it properly)
[Other Info]
- Original Description:
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
* bcache-tools udev created symlinks might disappear when other udev events are processed for the same devices.
* after mkfs.XXX in /dev/bcacheY you might face a condition where /dev/bcache/by-{uuid,label}/zzz symlinks are gone.
* /dev/bcache/by-{uuid,label}/ symlinks are important so bcache devices can be addressed by their UUIDs and not the ordering they were assembled (MAAS depends on this feature, for example).
* it was also discussed in this bug that systemd-udev should *not* populate /dev/disk/by-uuid/ with symlinks of disks that were bcache backing devices. this was turned into a discussion whether blkid should report those or not, and this discussion "died" after sometime.
[Test Case]
* The reproducer script is here:
https://paste.ubuntu.com/p/37KGy2Smnp/
* Bionic can't reproduce the issue with the 18.04 kernel, nor with the HWE kernel. Nevertheless, it is preferable that Bionic also do the same thing: to read bcache superblock and feed environment for /dev/bcache/by-{uuid,label} symlinks creation.
[Regression Potential]
* We are not depending on bcache device udev events any more when creating the /dev/bcache/by-{uuid,label}/ symlinks. Instead, we are depending on a wrapper script that heads bcache device superblock. If there is a bug in this wrapper the symlinks wouldn't work.
* Previously we were thinking in asking the kernel team to remove the bcache udev event delta script they've done for previous case (LP: #1729145). It creates the udev events that were being read and filling the symlinks. We decided not to remove those (just from Groovy and on) so we don't need to worry on Breaks/Conflicts in between the kernel package and bcache-tools (and udev)).
* Long story short: kernel will continue to emit bcache udev events as it did previously but now those events won't be used by anything - after installing this SRU - because udev wrapper script is doing this job (and doing it properly)
[Other Info]
- Original Description:
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2020-08-05 21:46:46 |
Rafael David Tinoco |
description |
[Impact]
* bcache-tools udev created symlinks might disappear when other udev events are processed for the same devices.
* after mkfs.XXX in /dev/bcacheY you might face a condition where /dev/bcache/by-{uuid,label}/zzz symlinks are gone.
* /dev/bcache/by-{uuid,label}/ symlinks are important so bcache devices can be addressed by their UUIDs and not the ordering they were assembled (MAAS depends on this feature, for example).
* it was also discussed in this bug that systemd-udev should *not* populate /dev/disk/by-uuid/ with symlinks of disks that were bcache backing devices. this was turned into a discussion whether blkid should report those or not, and this discussion "died" after sometime.
[Test Case]
* The reproducer script is here:
https://paste.ubuntu.com/p/37KGy2Smnp/
* Bionic can't reproduce the issue with the 18.04 kernel, nor with the HWE kernel. Nevertheless, it is preferable that Bionic also do the same thing: to read bcache superblock and feed environment for /dev/bcache/by-{uuid,label} symlinks creation.
[Regression Potential]
* We are not depending on bcache device udev events any more when creating the /dev/bcache/by-{uuid,label}/ symlinks. Instead, we are depending on a wrapper script that heads bcache device superblock. If there is a bug in this wrapper the symlinks wouldn't work.
* Previously we were thinking in asking the kernel team to remove the bcache udev event delta script they've done for previous case (LP: #1729145). It creates the udev events that were being read and filling the symlinks. We decided not to remove those (just from Groovy and on) so we don't need to worry on Breaks/Conflicts in between the kernel package and bcache-tools (and udev)).
* Long story short: kernel will continue to emit bcache udev events as it did previously but now those events won't be used by anything - after installing this SRU - because udev wrapper script is doing this job (and doing it properly)
[Other Info]
- Original Description:
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
* bcache-tools udev created symlinks might disappear when other udev events are processed for the same devices.
* after mkfs.XXX in /dev/bcacheY you might face a condition where /dev/bcache/by-{uuid,label}/zzz symlinks are gone.
* /dev/bcache/by-{uuid,label}/ symlinks are important so bcache devices can be addressed by their UUIDs and not the ordering they were assembled (MAAS depends on this feature, for example).
* it was also discussed in this bug that systemd-udev should *not* populate /dev/disk/by-uuid/ with symlinks of disks that were bcache backing devices. this was turned into a discussion whether blkid should report those or not, and this discussion "died" after sometime. This last item is what the systemd update is all about: to disallow /dev/disk/by-XXX/yyyy creation for bcache backing devices (a simple change that will reduce end users confusion).
[Test Case]
* The reproducer script is here:
https://paste.ubuntu.com/p/37KGy2Smnp/
* Bionic can't reproduce the issue with the 18.04 kernel, nor with the HWE kernel. Nevertheless, it is preferable that Bionic also do the same thing: to read bcache superblock and feed environment for /dev/bcache/by-{uuid,label} symlinks creation.
[Regression Potential]
* We are not depending on bcache device udev events any more when creating the /dev/bcache/by-{uuid,label}/ symlinks. Instead, we are depending on a wrapper script that heads bcache device superblock. If there is a bug in this wrapper the symlinks wouldn't work.
* Previously we were thinking in asking the kernel team to remove the bcache udev event delta script they've done for previous case (LP: #1729145). It creates the udev events that were being read and filling the symlinks. We decided not to remove those (just from Groovy and on) so we don't need to worry on Breaks/Conflicts in between the kernel package and bcache-tools (and udev)).
* Long story short: kernel will continue to emit bcache udev events as it did previously but now those events won't be used by anything - after installing this SRU - because udev wrapper script is doing this job (and doing it properly)
[Other Info]
- Original Description:
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2020-08-07 19:43:01 |
Rafael David Tinoco |
description |
[Impact]
* bcache-tools udev created symlinks might disappear when other udev events are processed for the same devices.
* after mkfs.XXX in /dev/bcacheY you might face a condition where /dev/bcache/by-{uuid,label}/zzz symlinks are gone.
* /dev/bcache/by-{uuid,label}/ symlinks are important so bcache devices can be addressed by their UUIDs and not the ordering they were assembled (MAAS depends on this feature, for example).
* it was also discussed in this bug that systemd-udev should *not* populate /dev/disk/by-uuid/ with symlinks of disks that were bcache backing devices. this was turned into a discussion whether blkid should report those or not, and this discussion "died" after sometime. This last item is what the systemd update is all about: to disallow /dev/disk/by-XXX/yyyy creation for bcache backing devices (a simple change that will reduce end users confusion).
[Test Case]
* The reproducer script is here:
https://paste.ubuntu.com/p/37KGy2Smnp/
* Bionic can't reproduce the issue with the 18.04 kernel, nor with the HWE kernel. Nevertheless, it is preferable that Bionic also do the same thing: to read bcache superblock and feed environment for /dev/bcache/by-{uuid,label} symlinks creation.
[Regression Potential]
* We are not depending on bcache device udev events any more when creating the /dev/bcache/by-{uuid,label}/ symlinks. Instead, we are depending on a wrapper script that heads bcache device superblock. If there is a bug in this wrapper the symlinks wouldn't work.
* Previously we were thinking in asking the kernel team to remove the bcache udev event delta script they've done for previous case (LP: #1729145). It creates the udev events that were being read and filling the symlinks. We decided not to remove those (just from Groovy and on) so we don't need to worry on Breaks/Conflicts in between the kernel package and bcache-tools (and udev)).
* Long story short: kernel will continue to emit bcache udev events as it did previously but now those events won't be used by anything - after installing this SRU - because udev wrapper script is doing this job (and doing it properly)
[Other Info]
- Original Description:
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
SRU TEAM: The last 2 commits show a summary for the merges/changes
I added some specific (to Bionic) notes in the template.
Thanks!
[Impact]
* bcache-tools udev created symlinks might disappear when other udev events are processed for the same devices.
* after mkfs.XXX in /dev/bcacheY you might face a condition where /dev/bcache/by-{uuid,label}/zzz symlinks are gone.
* /dev/bcache/by-{uuid,label}/ symlinks are important so bcache devices can be addressed by their UUIDs and not the ordering they were assembled (MAAS depends on this feature, for example).
* it was also discussed in this bug that systemd-udev should *not* populate /dev/disk/by-uuid/ with symlinks of disks that were bcache backing devices. this was turned into a discussion whether blkid should report those or not, and this discussion "died" after sometime. This last item is what the systemd update is all about: to disallow /dev/disk/by-XXX/yyyy creation for bcache backing devices (a simple change that will reduce end users confusion).
[Test Case]
* The reproducer script is here:
https://paste.ubuntu.com/p/37KGy2Smnp/
* Bionic can't reproduce the issue with the 18.04 kernel, nor with the HWE kernel. Nevertheless, it is preferable that Bionic also do the same thing: to read bcache superblock and feed environment for /dev/bcache/by-{uuid,label} symlinks creation.
[Regression Potential]
* We are not depending on bcache device udev events any more when creating the /dev/bcache/by-{uuid,label}/ symlinks. Instead, we are depending on a wrapper script that heads bcache device superblock. If there is a bug in this wrapper the symlinks wouldn't work.
* Previously we were thinking in asking the kernel team to remove the bcache udev event delta script they've done for previous case (LP: #1729145). It creates the udev events that were being read and filling the symlinks. We decided not to remove those (just from Groovy and on) so we don't need to worry on Breaks/Conflicts in between the kernel package and bcache-tools (and udev)).
* Long story short: kernel will continue to emit bcache udev events as it did previously but now those events won't be used by anything - after installing this SRU - because udev wrapper script is doing this job (and doing it properly)
[Other Info]
- Original Description:
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2020-08-07 20:36:25 |
Rafael David Tinoco |
systemd (Ubuntu Bionic): status |
In Progress |
Won't Fix |
|
2020-08-10 16:38:29 |
Michael Skalka |
bug |
|
|
added subscriber Canonical Field High |
2020-08-10 16:38:32 |
Michael Skalka |
removed subscriber Canonical Field Critical |
|
|
|
2020-08-11 18:07:15 |
Launchpad Janitor |
bcache-tools (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2020-08-11 18:07:22 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-08-12 15:28:21 |
Robie Basak |
bcache-tools (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2020-08-12 15:28:23 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-08-12 15:28:29 |
Robie Basak |
tags |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-done-focal verification-needed vmtest |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-done-focal verification-needed verification-needed-bionic vmtest |
|
2020-08-12 15:51:18 |
Seth Forshee |
bug task added |
|
linux (Ubuntu) |
|
2020-08-12 15:54:45 |
Seth Forshee |
linux (Ubuntu): status |
New |
Fix Committed |
|
2020-08-21 14:05:46 |
Rafael David Tinoco |
tags |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-done-focal verification-needed verification-needed-bionic vmtest |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-done verification-done-bionic verification-done-focal vmtest |
|
2020-08-25 16:53:33 |
Launchpad Janitor |
bcache-tools (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2020-09-03 21:55:34 |
Launchpad Janitor |
linux (Ubuntu): status |
Fix Committed |
Fix Released |
|
2020-09-03 21:55:34 |
Launchpad Janitor |
cve linked |
|
2019-19770 |
|
2020-10-27 17:16:10 |
Brian Murray |
systemd (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-10-27 17:16:20 |
Brian Murray |
tags |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-done verification-done-bionic verification-done-focal vmtest |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-done-bionic verification-needed verification-needed-focal vmtest |
|
2020-11-02 17:43:06 |
Dan Streetman |
description |
SRU TEAM: The last 2 commits show a summary for the merges/changes
I added some specific (to Bionic) notes in the template.
Thanks!
[Impact]
* bcache-tools udev created symlinks might disappear when other udev events are processed for the same devices.
* after mkfs.XXX in /dev/bcacheY you might face a condition where /dev/bcache/by-{uuid,label}/zzz symlinks are gone.
* /dev/bcache/by-{uuid,label}/ symlinks are important so bcache devices can be addressed by their UUIDs and not the ordering they were assembled (MAAS depends on this feature, for example).
* it was also discussed in this bug that systemd-udev should *not* populate /dev/disk/by-uuid/ with symlinks of disks that were bcache backing devices. this was turned into a discussion whether blkid should report those or not, and this discussion "died" after sometime. This last item is what the systemd update is all about: to disallow /dev/disk/by-XXX/yyyy creation for bcache backing devices (a simple change that will reduce end users confusion).
[Test Case]
* The reproducer script is here:
https://paste.ubuntu.com/p/37KGy2Smnp/
* Bionic can't reproduce the issue with the 18.04 kernel, nor with the HWE kernel. Nevertheless, it is preferable that Bionic also do the same thing: to read bcache superblock and feed environment for /dev/bcache/by-{uuid,label} symlinks creation.
[Regression Potential]
* We are not depending on bcache device udev events any more when creating the /dev/bcache/by-{uuid,label}/ symlinks. Instead, we are depending on a wrapper script that heads bcache device superblock. If there is a bug in this wrapper the symlinks wouldn't work.
* Previously we were thinking in asking the kernel team to remove the bcache udev event delta script they've done for previous case (LP: #1729145). It creates the udev events that were being read and filling the symlinks. We decided not to remove those (just from Groovy and on) so we don't need to worry on Breaks/Conflicts in between the kernel package and bcache-tools (and udev)).
* Long story short: kernel will continue to emit bcache udev events as it did previously but now those events won't be used by anything - after installing this SRU - because udev wrapper script is doing this job (and doing it properly)
[Other Info]
- Original Description:
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
SRU TEAM: The last 2 commits show a summary for the merges/changes
I added some specific (to Bionic) notes in the template.
Thanks!
[Impact]
* bcache-tools udev created symlinks might disappear when other udev events are processed for the same devices.
* after mkfs.XXX in /dev/bcacheY you might face a condition where /dev/bcache/by-{uuid,label}/zzz symlinks are gone.
* /dev/bcache/by-{uuid,label}/ symlinks are important so bcache devices can be addressed by their UUIDs and not the ordering they were assembled (MAAS depends on this feature, for example).
* it was also discussed in this bug that systemd-udev should *not* populate /dev/disk/by-uuid/ with symlinks of disks that were bcache backing devices. this was turned into a discussion whether blkid should report those or not, and this discussion "died" after sometime. This last item is what the systemd update is all about: to disallow /dev/disk/by-XXX/yyyy creation for bcache backing devices (a simple change that will reduce end users confusion).
[Test Case]
* The reproducer script is here:
https://paste.ubuntu.com/p/37KGy2Smnp/
* Bionic can't reproduce the issue with the 18.04 kernel, nor with the HWE kernel. Nevertheless, it is preferable that Bionic also do the same thing: to read bcache superblock and feed environment for /dev/bcache/by-{uuid,label} symlinks creation.
specifically for the verification for systemd, the above script can be used, and then check that the bcache uuid symlink isn't present at /dev/disk/by-uuid; for example, after running the above reproducer script:
root@lp1861941-f:~# ls -l /dev/bcache/by-uuid/
total 0
lrwxrwxrwx 1 root root 13 Nov 2 17:16 651c5532-0a15-4d56-acdf-9c8b2bb559f1 -> ../../bcache0
root@lp1861941-f:~# ls -l /dev/disk/by-uuid/$(ls /dev/bcache/by-uuid/)
lrwxrwxrwx 1 root root 9 Nov 2 17:16 /dev/disk/by-uuid/651c5532-0a15-4d56-acdf-9c8b2bb559f1 -> ../../vdc
[Regression Potential]
* We are not depending on bcache device udev events any more when creating the /dev/bcache/by-{uuid,label}/ symlinks. Instead, we are depending on a wrapper script that heads bcache device superblock. If there is a bug in this wrapper the symlinks wouldn't work.
* Previously we were thinking in asking the kernel team to remove the bcache udev event delta script they've done for previous case (LP: #1729145). It creates the udev events that were being read and filling the symlinks. We decided not to remove those (just from Groovy and on) so we don't need to worry on Breaks/Conflicts in between the kernel package and bcache-tools (and udev)).
* Long story short: kernel will continue to emit bcache udev events as it did previously but now those events won't be used by anything - after installing this SRU - because udev wrapper script is doing this job (and doing it properly)
[Other Info]
- Original Description:
1.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
2.
root@ubuntu:~# lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
root@ubuntu:~# apt-cache policy linux-image-virtual
linux-image-virtual:
Installed: 5.4.0.12.15
Candidate: 5.4.0.12.15
Version table:
*** 5.4.0.12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu:~# apt-cache policy linux-image-5.4.0-12-generic
linux-image-5.4.0-12-generic:
Installed: 5.4.0-12.15
Candidate: 5.4.0-12.15
Version table:
*** 5.4.0-12.15 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
3. mount /dev/bcache0 && ls -al /dev/bcache/by-uuid/
+ ls -al /dev/bcache/by-uuid/
total 0
drwxr-xr-x 2 root root 60 Feb 4 23:31 .
drwxr-xr-x 3 root root 60 Feb 4 23:31 ..
lrwxrwxrwx 1 root root 13 Feb 4 23:31 abdfd1f6-44ce-4266-91db-24667b9ae51a -> ../../bcache0
4.
root@ubuntu:~# ls -al /dev/bcache/by-uuid
ls: cannot access '/dev/bcache/by-uuid': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-12-generic 5.4.0-12.15
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Tue Feb 4 23:31:52 2020
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-5.4
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2020-11-02 17:46:57 |
Dan Streetman |
tags |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-done-bionic verification-needed verification-needed-focal vmtest |
amd64 apport-bug curtin focal id-5eb42c73b200d93d8fb66e1e patch uec-images verification-done verification-done-bionic verification-done-focal vmtest |
|
2020-11-03 23:38:39 |
Launchpad Janitor |
systemd (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|