Skip to content
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

Draft
wants to merge 6 commits into
base: ubuntu-24.04
Choose a base branch
from

Conversation

Meulengracht
Copy link
Member

@Meulengracht Meulengracht commented Sep 3, 2024

Proposed changes

Proposing the util-linux package

Forward porting

Will open for 24.10 once this is approved.

Related issue

Closes #260

Checklist

Copy link

github-actions bot commented Sep 3, 2024

Diff of dependencies:

slices/util-linux.yaml
@@ -1,3 +1,5 @@
+base-files
+libaudit1
 libblkid1
 libc6
 libcap-ng0

@linostar linostar added the Priority Look at me first label Sep 24, 2024
@linostar linostar requested review from linostar and a team September 24, 2024 13:03
- libtinfo6_libs
- libudev1_libs
- libuuid1_libs
- util-linux_generated

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- util-linux_generated
- util-linux_generated
- util-linux_pam-profile

I believe su requires those files in pam-profile slice to run.

Copy link
Member

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"

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?

Copy link
Member

@rebornplusplus rebornplusplus left a 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.

# the following emulates the post-install script
generated:
contents:
/usr/bin/pager: {symlink: /usr/bin/more}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick 🙃

Suggested change
/usr/bin/pager: {symlink: /usr/bin/more}
/usr/bin/pager: {symlink: /bin/more}

- libtinfo6_libs
- libudev1_libs
- libuuid1_libs
- util-linux_generated
Copy link
Member

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.

@linostar linostar mentioned this pull request Oct 16, 2024
2 tasks
contents:
/usr/lib/mime/packages/util-linux:

pam-profile:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pam-profile:
pam-profiles:

cjdcordeiro and others added 2 commits November 18, 2024 15:11
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.
linostar

This comment was marked as outdated.

@rebornplusplus rebornplusplus marked this pull request as draft November 26, 2024 14:26
@linostar linostar self-requested a review November 26, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority Look at me first
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants