This bug was fixed in the package systemd - 245.4-4ubuntu3.3
---
systemd (245.4-4ubuntu3.3) focal; urgency=medium
[ Rafael David Tinoco ]
* d/p/lp1861941-dont-generate-disk-byuuid-for-bcache-uuid.patch:
Reworded and reintroduced patch to fully explain delta is NOT a fix to
root@lp1861941-f:~# dpkg -l systemd|grep systemd
ii systemd245.4-4ubuntu3.2 amd64system and service manager
root@lp1861941-f:~# dpkg -l udev|grep udev
ii udev 245.4-4ubuntu3.2 amd64/dev/ and hotplug management
daemon
root@lp1861941-f:~# ls -l
Hello Ryan, or anyone else affected,
Accepted systemd into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/245.4-4ubuntu3.3 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
This bug was fixed in the package linux - 5.8.0-18.19
---
linux (5.8.0-18.19) groovy; urgency=medium
* groovy/linux: 5.8.0-18.19 -proposed tracker (LP: #1893047)
* Packaging resync (LP: #1786013)
- update dkms package versions
* Groovy update: v5.8.4 upstream stable
This bug was fixed in the package bcache-tools - 1.0.8-2ubuntu0.18.04.1
---
bcache-tools (1.0.8-2ubuntu0.18.04.1) bionic; urgency=medium
[ Ryan Harper ]
* Add helper script to read bcache devs superblock (LP: #1861941)
-- Rafael David Tinoco Wed, 05 Aug 2020
17:44:05 -0300
Bionic verification:
$ apt changelog bcache-tools | head -10
bcache-tools (1.0.8-2ubuntu0.18.04.1) bionic; urgency=medium
[ Ryan Harper ]
* Add helper script to read bcache devs superblock (LP: #1861941)
-- Rafael David Tinoco Wed, 05 Aug 2020
17:44:05 -0300
bcache-tools
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
I've removed the linux projects from this bug at it's been determined to
not be a kernel issue (see comment 47 for a good summary).
** No longer affects: linux-signed (Ubuntu)
** No longer affects: linux (Ubuntu)
--
You received this bug notification because you are a member of Kernel
** Merge proposal linked:
https://code.launchpad.net/~paride/curtin/+git/curtin/+merge/387217
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid
** Changed in: linux-signed (Ubuntu Groovy)
Assignee: Colin Ian King (colin-king) => (unassigned)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache
Ok, I'm going to revert this from the queued-up focal commits before
uploading, as IIUC the /dev/disk/by-uuid/ symlink shouldn't actually
matter, since the symlink that should be used is /dev/bcache/by-uuid/.
And based on comment 47 it sounds like that's accurate, and the real fix
needs to go into
@ddstreet
I'm not sure where upstream is going just yet. For Ubuntu; I think
1) Adjusting the bcache-tools patch to use the full path to bcache-
super-show should change;
2) If we fix (1) then I think we can drop the systemd patch from a bug
fixing perspective; on the openSUSE image I did
@rbalint @raharper a commit is in the ubuntu-focal git repo for this:
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=3c228b1d9c5d83d7f0f7b7d8f2053a81de57f33c
I was prepping focal for upload, but on reading the last few comments,
should I revert that commit from the
On Tue, Jun 30, 2020 at 6:35 AM Balint Reczey <1861...@bugs.launchpad.net>
wrote:
> @raharper I've forwarded the systemd fix for you with minimal tidying of
> the commit message https://github.com/systemd/systemd/pull/16317
Thanks!
>
> --
> You received this bug notification because you are
@raharper I've forwarded the systemd fix for you with minimal tidying of
the commit message https://github.com/systemd/systemd/pull/16317
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
** Also affects: linux (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: bcache-tools (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: linux-signed (Ubuntu
Reopening against bcache-tools according to @raharper's comment about
preferring a different fix.
https://bugs.launchpad.net/ubuntu/groovy/+source/bcache-tools/+bug/1861941/comments/28
** Changed in: bcache-tools (Ubuntu Groovy)
Status: Fix Released => Triaged
** Changed in: bcache-tools
** Changed in: systemd (Ubuntu Focal)
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after
Is it possible to backport this ^ to Bionic?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
Status in
This bug was fixed in the package systemd - 245.6-1ubuntu1
---
systemd (245.6-1ubuntu1) groovy; urgency=medium
[ Balint Reczey ]
* Merge to Ubuntu from Debian unstable
- Dropped changes:
* Don't try calling NULL callback in bus_wait_for_units_clear.
* test: Skip
The environment used is bionic/4.15.0-106-generic
$ dpkg -l | grep bcache-tools
ii bcache-tools 1.0.8-2build1
amd64bcache userspace tools
--
You received this bug notification because you are a member of Kernel
Packages,
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: linux-signed (Ubuntu Focal)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
Subscring ~field-critical as blocked by it on a customer deployment.
Seems like the duplicate of the one below
https://bugs.launchpad.net/charm-ceph-osd/+bug/1883585
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: bcache-tools (Ubuntu Focal)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: linux-signed (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
@raharper Thanks, I've uploaded the systemd fix to Groovy. Could you
please forward it to upstream?
Also please update bcache-tools since it is Server Team's package and I
also can't upload to Debian until the next keyring refresh.
--
You received this bug notification because you are a member
systemd debdiff with a fix to skip creating /dev/disk/by-uuid for bcache
backing, caching devices.
** Patch added: "lp1861941-skip-bcache-links.debdiff"
https://bugs.launchpad.net/ubuntu/+source/bcache-tools/+bug/1861941/+attachment/5375730/+files/lp1861941-skip-bcache-links.debdiff
--
You
debdiff of the changes
** 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
--
You received this bug notification because you are a
Updated test to be a bit more resilient.
** 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
--
You received this bug notification because you are a member
Tarball of a source package with a fix for this issue:
bcache-tools_1.0.8.orig.tar.gz
bcache-tools_1.0.8-4ubuntu1_amd64.build
bcache-tools_1.0.8-4ubuntu1_amd64.buildinfo
bcache-tools_1.0.8-4ubuntu1_amd64.changes
bcache-tools_1.0.8-4ubuntu1_amd64.deb
bcache-tools_1.0.8-4ubuntu1.debian.tar.xz
OK.
I've reviewed the kernel code, and there are no unexpected changes w.r.t
the CACHED_UUID change event. So I don't think we will need any kernel
changes which is good.
With the small change to the 60-persistent-storage.rules to not attempt
to create a /dev/disk/by-uuid symlink for the
Digging deeper and walking through this in a focal vm, I'm seeing some
strange things.
Starting with a clean disk, and just creating the backing device like
so:
make-bcache -B /dev/vdb
We see /dev/bcache0 get created with vdb as the backing device. Now,
after this, I see:
/dev/bcache/by-uuid/
@Balint
I do not thing the fix you're released is correct, can you upload a new
version without the scripts?
Also, we should fix make-bcache -B to ensure that cset.uuid is not
initialized; that may be why the kernel thinks it should emit the
CACHED_UUID if the suerpblock of the device has a
That doesn't explain why they show up sometimes, but not all of
the time.
There are 3 devices in play here.
* The backing device, let's say /dev/vda; this is where we want
to store the data.
* The caching device, let's say /dev/vdb; this holds the cache.
* The bcache device; this only appears
@raharper To my understanding with the change action udev removes the
DEVLINKS which are not still valid. Udev can't tell which links are
still valid in cache/by-*.
The only reason udev knows about the links is because the rule added
them with SYMLINK+= when the dev was created and it is a sane
This bug was fixed in the package bcache-tools - 1.0.8-4
---
bcache-tools (1.0.8-4) unstable; urgency=medium
[ Debian Janitor ]
* Trim trailing whitespace.
* Bump debhelper from old 11 to 12.
* Set debhelper-compat version in Build-Depends.
[ Balint Reczey ]
* Add Salsa
I guess I don't understand why we see this in focal. The two events in
Colin's trace always happen on any Ubuntu kernel. We should see if we
can get another udev trace on bionic that captures both CHANGE events,
one will be from the bcache driver itself, and one is from the block
layer. THe
** Tags added: patch
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
Status in bcache-tools package in
The reason for udev cleaning up the links is that they are missing from the
change event's DEVLINKS.
Since bcache-tools manages those symlinks IMO it should keep them around.
Please take a look at the attached patch, I'll upload it if it is OK.
** Patch added:
** Changed in: systemd (Ubuntu Groovy)
Status: New => In Progress
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after
This appears not to be a kernel issue per-se, so any idea of an ETA for
a fix with udev for this?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid
** Package changed: linux-signed-5.4 (Ubuntu) => linux-signed (Ubuntu)
** Also affects: linux (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: linux-signed (Ubuntu Focal)
** Tags added: id-5eb42c73b200d93d8fb66e1e
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
Status in linux package
** Tags added: rls-gg-incoming
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
Status in linux package in Ubuntu:
** Merge proposal linked:
https://code.launchpad.net/~rbalint/ubuntu/+source/systemd/+git/systemd/+merge/382712
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache
** Merge proposal unlinked:
https://code.launchpad.net/~rbalint/ubuntu/+source/systemd/+git/systemd/+merge/382712
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
udev source package last existed in precise. systemd-udevd is now
shipped in src:systemd, please file all future udev bugs against systemd
as a starting point.
** Package changed: udev (Ubuntu) => systemd (Ubuntu)
** Changed in: systemd (Ubuntu)
Assignee: Dimitri John Ledkov (xnox) =>
Following up my question; we should see both events in all kernels.
The first event is when the /dev/bcache0 is joined with a cache device,
and emitts the CACHED_UUID value in the uevent; the UUID is the *backing
device bcache metadata UUID* it is not related to the content contained
within the
So, this looks like the bug to me:
Apr 21 14:15:43 ubuntu-focal systemd-udevd[1916]: bcache0:
/usr/lib/udev/rules.d/60-persistent-storage.rules:112 LINK
'disk/by-uuid/30b28bee-6a1e-423d-9d53-32c78ba5454a'
Apr 21 14:15:43 ubuntu-focal systemd-udevd[1916]: bcache0: Updating old name,
Do we have any more information on why we now get two events in Focal?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting
The good news is that the bcache events are reaching udev, however the
/usr/lib/udev/rules.d/60-persistent-storage.rules rules may need to be
modified to ignore bcache specific events.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux
I think we need a udev plumbing expert, I've exhausted my udev
knowledge.
For older releases such as bionic we have one event:
UDEV [1304.304437] change /devices/virtual/block/bcache0 (block)
.ID_FS_TYPE_NEW=
ACTION=change
CACHED_LABEL=
CACHED_UUID=0192e0a7-9d8e-4771-9bb1-d730a2f66a9d
Thanks for the data. I suspect the racy nature is why I can't reproduce
it on my H/W, perhaps the I/O and/or CPU speeds are relevant in tripping
the issue.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
I'm on Focal desktop, running kvm like so
qemu-system-x86_64 -smp 2 -m 1024 --enable-kvm \
-drive id=disk0,if=none,format=qcow2,file=bionic-bcache-links.qcow2 \
-device virtio-blk-pci,drive=disk0,bootindex=0 \
-drive id=disk1,if=none,format=raw,file=bcache1.img \
-device
It appears that it's always been a touch racy. Curtin does not create
bcaches like the script does (make-bcache --wipe-bcache -C /dev/sdc -B
/dev/sdb), rather we make the cache-dev and backing dev separately, and
then attach them by echoing the cacheset uuid into the bcache device
attach sysfs
Requested output on bionic release image (4.15-20)
** 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
--
You received this bug notification because you are a member
Requested data from a daily cloud image with 4.15-76
** 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
--
You received this bug notification because you are a member of
I've tested this with 4.15, 5.0, 5.3 and 5.4 kernels on bionic, eoan and
focal and I'm getting the same results, always a failure. I've not got
it to work at all on 4.15.0 so far. I'm not sure why this is.
Can you run this on a 4.15 based system and gather the output from bash
-x
** Changed in: linux-signed-5.4 (Ubuntu)
Importance: Undecided => Medium
** Changed in: linux-signed-5.4 (Ubuntu)
Assignee: (unassigned) => Colin Ian King (colin-king)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in
Adding Linux task to get kernel team's attention
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
This is still occurring daily.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-5.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1861941
Title:
bcache by-uuid links disappear after mounting bcache0
Status in linux-signed-5.4
61 matches
Mail list logo