-
Notifications
You must be signed in to change notification settings - Fork 1.2k
storage: Warn when renaming the volume group that contains the root filesystem #22024
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
storage: Warn when renaming the volume group that contains the root filesystem #22024
Conversation
bb90713 to
234e6ef
Compare
234e6ef to
4ab01e1
Compare
4ab01e1 to
03dcef7
Compare
pkg/storaged/lvm2/volume-group.jsx
Outdated
| ], | ||
| Action: { | ||
| Title: _("Rename"), | ||
| Danger: contains_rootfs(client, vgroup.path) ? _("This volume group contains the root filesystem. Renaming it might require further changes to the bootloader configuration or kernel command line.") : null, |
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.
I don't understand this. The tests cover both scenarios, renaming the rootfs, and renaming something else.
martinpitt
left a comment
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.
Thanks! Depending on your patience/workload I'd prefer a cleanup round, but if you are under pressure I can be talked into 👍 'ing 😁
…ilesystem Because that might break the next boot. Fixes cockpit-project#20815
03dcef7 to
993bd7f
Compare
Always! It's much better now, thanks! |
martinpitt
left a comment
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.
Happy CI wife, happy life! I guess/hope that this is a flake?
Because that might break the next boot.
Fixes #20815