Page MenuHomeSolus

Initial commit of toolbox
AbandonedPublic

Authored by livingsilver94 on Sep 13 2022, 9:06 PM.
Tags
None
Referenced Files
F11003792: D13583.diff
Mon, Jul 31, 6:59 PM
F10961506: D13583.diff
Tue, Jul 18, 4:45 PM
F10944727: D13583.diff
Sat, Jul 15, 12:58 AM
F10888712: D13583.diff
Jun 27 2023, 6:54 AM
F10887486: D13583.id.diff
Jun 26 2023, 1:00 PM
F10884617: D13583.id33209.diff
Jun 25 2023, 1:22 AM
F10883911: D13583.id33208.diff
Jun 24 2023, 4:33 PM
F10871105: D13583.id33210.diff
Jun 18 2023, 1:26 PM

Details

Reviewers
None
Group Reviewers
Triage Team
Maniphest Tasks
T10389: Toolbx
Summary

Initial commit of toolbox. Fixes T10389.

Test Plan

Created, entered a Fedora container and installed a bunch of packages.

Diff Detail

Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4384
Build 4384: arc lint + arc unit

Event Timeline

I think the host file system is not exposed because podman itself is not working properly: no /etc/subuid and /etc/subguid force us to use sudo. @chax is there anything you can do? Can we use these file in a stateless location?

I think you need to manually create the /etc/subuid and /etc/subgid files. Try $USER:100000:65536

For rationale:

$ cat /etc/login.defs | grep SUB_UID
SUB_UID_MIN                100000
SUB_UID_MAX             600100000
SUB_UID_COUNT               65536
$ cat /etc/login.defs | grep SUB_GID
SUB_GID_MIN                100000
SUB_GID_MAX             600100000
SUB_GID_COUNT               65536

I think you need to manually create the /etc/subuid and /etc/subgid files. Try $USER:100000:65536

For rationale:

$ cat /etc/login.defs | grep SUB_UID
SUB_UID_MIN                100000
SUB_UID_MAX             600100000
SUB_UID_COUNT               65536
$ cat /etc/login.defs | grep SUB_GID
SUB_GID_MIN                100000
SUB_GID_MAX             600100000
SUB_GID_COUNT               65536

Yeah, I create them manually for using podman in rootless mode.

Yeah it's required for lxc/lxd as well. I'm hoping that the new kernel feature around id mapping for mounted filesystems will ultimately lead to this no longer being necessary.

I think you need to manually create the /etc/subuid and /etc/subgid files. Try $USER:100000:65536

Yes I know that, still on Fedora podman and toolbox work out of the box. I'd be handy to have them ready to use on Solus too.

@chax look here if it's useful: https://src.fedoraproject.org/rpms/podman/blob/rawhide/f/podman.spec#_105

Anyway, planning changes as I didn't notice we have go-md2man in the repo.