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

merge of fedora-toolbox and coreos-toolbox efforts #90

Open
dustymabe opened this issue Dec 7, 2018 · 4 comments
Open

merge of fedora-toolbox and coreos-toolbox efforts #90

dustymabe opened this issue Dec 7, 2018 · 4 comments

Comments

@dustymabe
Copy link
Member

From @debarshiray:

Goal:

Evaluate the current state of fedora-toolbox on Fedora CoreOS; identify
problems and use-cases; and start filing issues and writing patches.

Background:

So far, fedora-toolbox has been written, tested and used solely on Fedora
Silverblue systems. In short (here is a longer write-up), on Silverblue,
fedora-toolbox is meant to offer a mutable RPM-based development environment
that's seamlessly integrated with the host OS. That means running rootless,
shared $HOME, access to hardware like GPUs, etc.. It's not about security,
but giving the developer a safe sandbox to tinker in without breaking the host
OS or being conscious of the underlying container technology.

From @dustymabe:

The above writeup is from @debarshiray. There seems to be some general agreement that we'd like to merge the efforts of https://github.com/debarshiray/fedora-toolbox and https://github.com/coreos/toolbox. Let's discuss at our next meeting how we can get there.

Previous discussions:

@dustymabe dustymabe added the meeting topics for meetings label Dec 7, 2018
@dustymabe
Copy link
Member Author

In the weekly meeting today we discussed merging the coreos-toolbox and fedora-toolbox efforts into just toolbox. A summary of the discussion is below:

  • the goal is to get users a command they can run without a lot of CLI options
    • the holy grail is just running toolbox or sudo toolbox and allowing the user to get to the environment he/she wants
  • currently the two implementations have different flags/mountpoints, base images, build process and sudo/non-sudo needs
  • we would like to break the problem space into two "modes", switchable with --mode flag or by setting defaults in config files.
    • developing mode - silverblue/Fedora workstation
      • I'm a dev hacking on git repos and building/testing code
      • usually run as non-root. error if root, allow overriding
    • debugging mode - Fedora Server/Fedora Cloud/FCOS
      • I'm a sysadmin trying to debug a problem on my server
      • usually run with root permissions. error if non-root. allow overriding
  • we'd like to consolidate things like cli flags and make other parts configurable based on mode
    • [config.defaults]: mode, mountpoints, base images
    • [config.developing]: override defaults for mountpoints, base images, CLI args to podman
    • [config.debugging]: override defaults for mountpoints, base images, CLI args to podman
  • we'd like configuration to be similar to systemd with read-only default files and directory dropin style overrides
    • this would allow users and distribution creators to customize things in a sane familiar

@dustymabe dustymabe removed the meeting topics for meetings label Dec 12, 2018
@dustymabe dustymabe changed the title discuss merge of fedora-toolbox and coreos-toolbox efforts merge of fedora-toolbox and coreos-toolbox efforts Dec 12, 2018
@bgilbert
Copy link
Contributor

For the record, what are the practical differences between the two modes?

@cgwalters
Copy link
Member

Hm, I think of the "debugging, privileged" case as "general sysadmin work". For example, running tcpdump. Or running more sophisticated htop like programs, killing processes. And maybe one wants to use emacs inside the container to edit systemd unit files on the host. etc.

@jlebon
Copy link
Member

jlebon commented Feb 5, 2020

@dustymabe I think we can close this, right? FCOS now ships toolbox.

Re. specifically about the running as root case, if it's indeed the case that it doesn't work yet (as per containers/toolbox#267), we should open a new ticket and bump priority on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants