Page MenuHomeSolus

Initial commit of toolbox
Changes PlannedPublic

Authored by livingsilver94 on Tue, Sep 13, 9:06 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 Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4386
Build 4386: arc lint + arc unit

Event Timeline

livingsilver94 created this revision.Tue, Sep 13, 9:06 PM
livingsilver94 requested review of this revision.Tue, Sep 13, 9:06 PM

Add MAINTAINERS.md

Fix sysconfdir path

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
chax added a comment.Tue, Sep 13, 10:01 PM

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.

livingsilver94 added a comment.EditedWed, Sep 14, 6:15 AM

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.

livingsilver94 planned changes to this revision.Wed, Sep 14, 6:18 AM

@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.