curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #03670
[Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
The proposal to merge ~ogayot/curtin:by-path-by-uuid into curtin:master has been updated.
Commit message changed to:
block_meta: ensure we don't use /dev/disk/by-path/XXX/by-uuid as volspec
Systems 256 introduced new symlinks in /dev/disk/by-path to avoid
potential UUID duplicates when the same image is written to multiple
storage units.
Such symlinks include:
* /dev/disk/by-path/${path}/by-uuid/
* /dev/disk/by-path/${path}/by-label/
* /dev/disk/by-path/${path}/by-partnum/
* /dev/disk/by-path/${path}/by-partuuid/
* /dev/disk/by-path/${path}/by-partlabel/
When writing the fstab, we want curtin to specify the UUID of the
devices; rather than rely on a devlink which path can change when a
device gets removed or added.
To do so, we look for devlinks that match "by-uuid" and keep the first
match. Unfortunately, we now have two matches:
* /dev/disk/by-uuid/${uuid}
* /dev/disk/by-path/${path}/by-uuid/${uuid}
Ensure we use a stricter matching rule to avoid matching
/dev/disk/by-path/${path}/by-uuid/${uuid}.
LP: #2081256
Signed-off-by: Olivier Gayot <olivier.gayot@xxxxxxxxxxxxx>
For more details, see:
https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/473583
--
Your team curtin developers is requested to review the proposed merge of ~ogayot/curtin:by-path-by-uuid into curtin:master.
Follow ups
-
[Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: mp+473583, 2024-09-23
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Olivier Gayot, 2024-09-23
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Server Team CI bot, 2024-09-23
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Dan Bungert, 2024-09-23
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Olivier Gayot, 2024-09-23
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Dan Bungert, 2024-09-23
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Dan Bungert, 2024-09-23
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Heinrich Schuchardt, 2024-09-23
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Chris Peterson, 2024-09-20
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Server Team CI bot, 2024-09-20
-
Re: [Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Server Team CI bot, 2024-09-20
-
[Merge] ~ogayot/curtin:by-path-by-uuid into curtin:master
From: Olivier Gayot, 2024-09-20