[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-11-03 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-11-02 Thread Dan Streetman
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-10-27 Thread Brian Murray
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-09-03 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-25 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-21 Thread Rafael David Tinoco
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-12 Thread Seth Forshee
** 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 Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-12 Thread Robie Basak
Hello Ryan, or anyone else affected, Accepted bcache-tools into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/bcache- tools/1.0.8-2ubuntu0.18.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-11 Thread Launchpad Bug Tracker
This bug was fixed in the package bcache-tools - 1.0.8-3ubuntu0.1 --- bcache-tools (1.0.8-3ubuntu0.1) focal; urgency=medium [ Ryan Harper ] * Add helper script to read bcache devs superblock (LP: #1861941) -- Rafael David Tinoco Thu, 23 Jul 2020 00:33:50 + ** Changed in:

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-10 Thread Michael Skalka
Deescalated to high. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links disappear after mounting bcache0 Status in bcache-tools package

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-07 Thread Rafael David Tinoco
** Changed in: systemd (Ubuntu Bionic) Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-07 Thread Rafael David Tinoco
SRU TEAM: Summary is the one above. The reason why Bionic SRU makes sense was discussed with @paelzer during merge review: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache- tools/+git/bcache-tools/+merge/388774/comments/1022492 Thanks for reviewing the SRU. @rafaeldtinoco **

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-05 Thread Rafael David Tinoco
CURRENT STATUS: SUMMARY: BUG: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941 TESTCASE: https://paste.ubuntu.com/p/37KGy2Smnp/ PPA: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941 BCACHE-TOOLS: GROOVY: https://tinyurl.com/yxonp5hz (merged) FOCAL:

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-05 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-tools/+git/bcache-tools/+merge/388774 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-08-05 Thread Rafael David Tinoco
VERIFICATION FOR FOCAL: (k)rafaeldtinoco@bcachefocal:~$ apt-cache policy bcache-tools bcache-tools: Installed: (none) Candidate: 1.0.8-3ubuntu0.1 Version table: 1.0.8-3ubuntu0.1 500 500 http://br.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages 1.0.8-3 500

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-31 Thread Timo Aaltonen
Hello Ryan, or anyone else affected, Accepted bcache-tools into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/bcache- tools/1.0.8-3ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-29 Thread Launchpad Bug Tracker
This bug was fixed in the package bcache-tools - 1.0.8-4ubuntu1 --- bcache-tools (1.0.8-4ubuntu1) groovy; urgency=medium [ Ryan Harper ] * Revert "Keep symlinks when udev changes /dev/bcacheN" * Add helper script to read bcache devs superblock (LP: #1861941) -- Rafael David

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-27 Thread Rafael David Tinoco
SUMMARY: BUG: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941 TESTCASE: https://paste.ubuntu.com/p/37KGy2Smnp/ PPA: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941 BCACHE-TOOLS: GROOVY: https://tinyurl.com/yxonp5hz (needs-review for an upload) FOCAL:

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-27 Thread Marian Gasparovic
I tested ppa:rafaeldtinoco/lp1861941 several times today on a focal setup where it failed 100%. Glad to report it passes without issue every single time now. Thank you -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-24 Thread Rafael David Tinoco
** Merge proposal unlinked: https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/+git/systemd/+merge/387991 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-23 Thread Rafael David Tinoco
Just spoke to @ddstreet about the SYSTEMD-UDEV merges. We are discussing if we should keep the udev delta (from upstream) or not, considering that the issue will be already fixed by bcache-tools and udev change would only serve not to have backing devices at /dev/disk/by-uuid and

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-23 Thread Rafael David Tinoco
BUG: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941 TESTCASE: https://paste.ubuntu.com/p/37KGy2Smnp/ PPA: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941 BCACHE-TOOLS: GROOVY: https://tinyurl.com/yxonp5hz FOCAL: https://tinyurl.com/y3tbd3un SYSTEMD-UDEV: GROOVY:

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-23 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/+git/systemd/+merge/387991 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-23 Thread Rafael David Tinoco
systemd (udev) is fixed for Groovy: systemd (245.6-1ubuntu1) groovy; urgency=medium [ Ryan Harper ] * Skip over by-uuid/by-label symlinks for bcache backing and cache devices (LP: #1861941) File: debian/patches/lp1861941-dont-generate-disk-byuuid-for-bcache-uuid.patch

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Rafael David Tinoco
About blkid fix: Ryan has explained carefully how to obtain FS UUID from the backing device at: https://github.com/systemd/systemd/pull/16317#issuecomment-655574875 and about bcache-export-cached wrapper he created for simulating CACHED_UUID and CACHED_LABEL (at 69-bcache.rules) and to create

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Rafael David Tinoco
PPA containing (for now) fixes for Groovy and Focal: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941 will contain fix for Bionic as well. Testcase: https://paste.ubuntu.com/p/37KGy2Smnp/ Testcase passes for both versions when having PPA pkgs installed. -- You received this bug

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Rafael David Tinoco
Focal Merge Request: FOCAL: https://tinyurl.com/y3tbd3un -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links disappear after mounting

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-tools/+git/bcache-tools/+merge/387909 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Rafael David Tinoco
Groovy Merge Request: BUG: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941 PPA: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1861941 GROOVY: https://tinyurl.com/yxonp5hz -- You received this bug notification because you are a member of Ubuntu Touch seeded packages,

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/bcache-tools/+git/bcache-tools/+merge/387908 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Rafael David Tinoco
Debian patch submitted (removed previous patch and proposed new one based on what was proposed to upstream): https://salsa.debian.org/debian/bcache-tools/-/merge_requests/2 Tests are good, I could run testcase multiple times and wasn't able to reproduce the original issue. ** Changed in:

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Rafael David Tinoco
I'm setting this bug to In Progress so I can better track reverted fix and the new one in both packages for all Ubuntu versions. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Rafael David Tinoco
Upstream patch submitted (amended from Ryan's previous patch) with a minor PATH fix: - https://github.com/koverstreet/bcache-tools/pull/6/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-22 Thread Rafael David Tinoco
TODOs (currently being started): 1 - adjust/add bcache-tools patch to use bcache-super-show (full path) (bcache-tools - bionic | focal | groovy) 1.1 - Ubuntu kernel patches for CACHED UUID resubmission could be removed (linux - bionic | focal | groovy) IF (1) is done and SRU'ed 1.2 -

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Rafael David Tinoco
Alright. +1 on you last comment. Thanks for the feedback! I'll work on that! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links disappear

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Ryan Harper
@Rafael It's in both places: https://github.com/koverstreet/bcache-tools/pull/1 I can update the PR there as well; though I don't think upstream cares as Kent's working on bcachefs instead of bcache AFAICT. > I see that you are trying to come up with something nor relying in the kernel fix (to

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Rafael David Tinoco
And now, after reading it all, I do follow your comment: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941/comments/47 with the proposed changed. As you're probably not fully dedicated to this, and I can be, I'll give your suggestions a try, possibly among with other things, and

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Rafael David Tinoco
@raharper, quick question... I see that you are trying to come up with something nor relying in the kernel fix (to throw the variables again after pivot root, etc..) https://github.com/g2p/bcache-tools/pull/29/#issue-169277283 why are you merging in "github.com/g2p" ? and not in

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Rafael David Tinoco
@raharper, Great to know.. thanks! I'm in the "reading phase".. I think I managed to read all the history until now.. now I'm reading your analysis for this bug more carefully, knowing the history... -- You received this bug notification because you are a member of Ubuntu Touch seeded packages,

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Rafael David Tinoco
Status from old attempts to solve same nature issues: Older (2018) merge request from @raharper: https://github.com/koverstreet/bcache-tools/pull/1 addressing the fact that kernel uevents would not always emit CACHED_UUID parameters, making udev to delete (whenever that happens)

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Ryan Harper
@Rafael For bcache-tools changes, bcache-export-cached-uuid needs the full path to bcache-super-show, as PATH is not exported when running from udev. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Rafael David Tinoco
Alright, summarizing this so far, we have the following fixes landed in Groovy: udev (systemd pkg): - 60-persistent-storage.rules: skip_bcache_fs_type: - /dev/disk/by-uuid/_ and /dev/disk/by-label/_ not created for bcache devs Since it does not make sense to have the caching device symlink

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Rafael David Tinoco
** No longer affects: util-linux (Ubuntu) ** No longer affects: bcache-tools (Ubuntu Groovy) ** Changed in: bcache-tools (Ubuntu) Status: Confirmed => Fix Released ** Changed in: bcache-tools (Ubuntu) Importance: High => Medium ** Changed in: systemd (Ubuntu) Importance: High =>

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Rafael David Tinoco
** No longer affects: linux-signed (Ubuntu Bionic) ** No longer affects: linux-signed (Ubuntu Groovy) ** No longer affects: linux-signed (Ubuntu Focal) ** No longer affects: linux (Ubuntu Groovy) ** Changed in: systemd (Ubuntu Groovy) Assignee: Balint Reczey (rbalint) => (unassigned) **

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Rafael David Tinoco
Thanks Marian... I'm now currently working on this issue and will provide feedback soon here... -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-20 Thread Marian Gasparovic
Just for the record, last week I tried mitigation/workaround as described in https://paste.ubuntu.com/p/JTB6vYbbkV/ on focal. It failed exactly the same as without those changes. I reported back to Rafael. -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-17 Thread Drew Freiberger
I'm having similar issues to this bug and those described by Dmitrii in https://bugs.launchpad.net/charm-ceph-osd/+bug/1883585 specifically comment #2 and the last comment. It appears that if I run 'udevadm trigger --subsystem-match=block', I get my by-dname devices for bcaches, but if I run

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-17 Thread Drew Freiberger
Relevant package revisions for comment #50: bcache-tools 1.0.8-2build1 snapd2.45.1+18.04.2 systemd 237-3ubuntu10.41 udev 237-3ubuntu10.41 and snaps: Name Version

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-14 Thread Francis Ginther
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 Ubuntu Touch

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-10 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paride/curtin/+git/curtin/+merge/387217 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-09 Thread Colin Ian King
** Changed in: linux-signed (Ubuntu Groovy) Assignee: Colin Ian King (colin-king) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title:

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-06 Thread Dan Streetman
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-02 Thread Ryan Harper
@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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-02 Thread Dan Streetman
@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

Re: [Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-30 Thread Ryan Harper
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-30 Thread Balint Reczey
@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 Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-30 Thread Balint Reczey
** 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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-22 Thread Balint Reczey
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-22 Thread Balint Reczey
** Changed in: systemd (Ubuntu Focal) Status: Invalid => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links disappear

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-22 Thread Alexander Litvinov
Is it possible to backport this ^ to Bionic? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links disappear after mounting bcache0 Status

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-20 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-19 Thread Alexander Litvinov
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 Ubuntu Touch seeded

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-19 Thread Launchpad Bug Tracker
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 Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-19 Thread Alexander Litvinov
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 Ubuntu Touch seeded packages, which is subscribed to systemd in

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-19 Thread Launchpad Bug Tracker
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 Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-19 Thread Launchpad Bug Tracker
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 Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-11 Thread Balint Reczey
@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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-22 Thread Ryan Harper
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-22 Thread Ryan Harper
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-22 Thread Ryan Harper
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-22 Thread Ryan Harper
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-22 Thread Ryan Harper
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-21 Thread Ryan Harper
@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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-21 Thread Ryan Harper
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/

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-20 Thread Ryan Harper
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-20 Thread Balint Reczey
@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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-20 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-20 Thread Ryan Harper
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

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-20 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links disappear after mounting bcache0 Status in bcache-tools package

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-20 Thread Balint Reczey
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:

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-18 Thread Balint Reczey
** Changed in: systemd (Ubuntu Groovy) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links disappear

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-15 Thread Colin Ian King
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 Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-14 Thread Brian Murray
** 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)

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-08 Thread Francis Ginther
** Tags added: id-5eb42c73b200d93d8fb66e1e -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links disappear after mounting bcache0 Status in

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-04-30 Thread Balint Reczey
** Tags added: rls-gg-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache by-uuid links disappear after mounting bcache0 Status in linux

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-04-21 Thread Launchpad Bug Tracker
** 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 Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-04-21 Thread Balint Reczey
** 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 Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-04-21 Thread Dimitri John Ledkov
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) =>