-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s390x: create 'by-partlabel' symlinks for labeled filesystems on DASD-CDL partitions #2473
s390x: create 'by-partlabel' symlinks for labeled filesystems on DASD-CDL partitions #2473
Conversation
…-CDL partitions CDL formatted DASD disks support only up to 3 partitions and don't use GPT, so there is no `/dev/disk/by-partlabel/*` symlinks but only `/dev/disk/by-label/*`.
@@ -0,0 +1,15 @@ | |||
# CoreOS-specific symlinks for DASD disks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sane to me but...this isn't actually CoreOS specific, is it? I think we could upstream this to systemd, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH i don't know. There is an issue when installing CoreOS on zVM with config generated by Butane + boot-device
syntax sugar, where by-partlabel
is used by default for LUKS encryption.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @bgilbert
We shouldn't do this. Those partitions don't actually have partition labels, but this PR is incorrectly claiming that they do, and repurposing a completely different label (the filesystem label) just to have a name to use for the symlink. This seems likely to increase confusion without solving an actual problem. The proper fix for coreos/butane#453 is to add Butane layouts for s390x, not to try to force the x86_64 template to work on s390x. I'll go ahead and close. |
OK, I do generally agree, however I would say that this is pretty widespread issue for us, beyond just that LUKS example. If I understand correctly, every use of |
Yes, it's always been like that. If we want to switch our docs to |
I had similar concerns about this udev-rule, on the other hand DASDs don't support GPT and usage of filesystems
Agree. At least i refreshed my memory regarding udev |
Well, filesystem and partition labels have different lifecycles. |
CDL formatted DASD disks support only up to 3 partitions and don't use GPT, so there is no
/dev/disk/by-partlabel/*
symlinks but only/dev/disk/by-label/*
.