-
Notifications
You must be signed in to change notification settings - Fork 53
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
feat(24.04): add util-linux #330
base: ubuntu-24.04
Are you sure you want to change the base?
feat(24.04): add util-linux #330
Conversation
Diff of dependencies: slices/util-linux.yaml@@ -1,3 +1,5 @@
+base-files
+libaudit1
libblkid1
libc6
libcap-ng0 |
8e61ec5
to
cbaa976
Compare
cbaa976
to
f61b1cb
Compare
- libtinfo6_libs | ||
- libudev1_libs | ||
- libuuid1_libs | ||
- util-linux_generated |
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.
- util-linux_generated | |
- util-linux_generated | |
- util-linux_pam-profile |
I believe su
requires those files in pam-profile slice to run.
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.
Affirm, su
does need those files.
chroot "${rootfs}" lsipc | grep "MSGMNI" | ||
chroot "${rootfs}" lsmem | grep "Total online memory" | ||
chroot "${rootfs}" whereis lsblk | grep "/usr/bin/lsblk" | ||
|
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.
can you also add a test for su
here to ensure that it is working properly?
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 good overall. Just a couple of comments.
slices/util-linux.yaml
Outdated
# the following emulates the post-install script | ||
generated: | ||
contents: | ||
/usr/bin/pager: {symlink: /usr/bin/more} |
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.
nitpick 🙃
/usr/bin/pager: {symlink: /usr/bin/more} | |
/usr/bin/pager: {symlink: /bin/more} |
- libtinfo6_libs | ||
- libudev1_libs | ||
- libuuid1_libs | ||
- util-linux_generated |
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.
Affirm, su
does need those files.
slices/util-linux.yaml
Outdated
contents: | ||
/usr/lib/mime/packages/util-linux: | ||
|
||
pam-profile: |
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.
pam-profile: | |
pam-profiles: |
This commit adds a new slice su-support, which segregates the su and runuser binaries to that slice for granularity. It also modifies the tests a bit.
Proposed changes
Proposing the util-linux package
Forward porting
Will open for 24.10 once this is approved.
Related issue
Closes #260
Checklist