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
core/device: drop nonexistent devlink units #24522
core/device: drop nonexistent devlink units #24522
Conversation
ab0c221
to
52a4aa5
Compare
8635cb0
to
a0689e0
Compare
a0689e0
to
f05bb82
Compare
f05bb82
to
d955008
Compare
|
@keszybz Thank you for the comments. All comments are addressed. PTAL. |
d955008
to
ffdac17
Compare
|
Looks reasonable. But needs a rebase now. |
ffdac17
to
2af5960
Compare
|
@keszybz Rebased. PTAL. |
|
Can you moves the "Fixes" from the 5th commit to the 6th commit? I was extremely confused trying to figure out how the 5th commit could possibly fix the issue until I moved on to the 6th commit and noticed that that was the actual fix. |
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.
Some questions and suggestions. This one is hard to review because I lack knowledge about this part of systemd.
dbe277f
to
675fd33
Compare
|
@DaanDeMeyer Thank you for the review. Addressed the suggestions, and add/update comments to answer the questions. |
675fd33
to
57d9bdc
Compare
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.
Found a few more things
57d9bdc
to
b38765e
Compare
Previously, existing device units for devlinks or aliases were not removed unless the main device unit is removed. This makes all existing device units for devlinks and aliases are checked if they are still required, and remove if not necessary anymore. Fixes systemd#24518.
This should not happen, just for safety.
b38765e
to
fb227a3
Compare
|
Sad NEWS. Now, device_setup_devlink_units() and device_setup_alias_units() are merged into device_setup_extra_units(). PTAL. |
|
focal-amd64 failed in "upstream": TEST-38-FREEZER: FAIL ( 98 s), TEST-29-PORTABLE: FAIL (217 s). The system seems to be very slow, so I hope it's some timeout issue, unrelated to this PR. |
Fixes #24518.