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

Add support for wrapping binaries (rpm) #1789

Merged
merged 1 commit into from
Apr 15, 2020

Commits on Apr 15, 2020

  1. Add support for wrapping binaries (rpm, dracut, grubby)

    We need to be friendlier to people who are transitioning from
    "traditional" yum managed systems.  This patchset starts to lay
    out the groundwork for supporting "intercepting" binaries that
    are in the tree.
    
    For backwards compatibility, this feature is disabled by default,
    to enable it, one can add `cliwrap: true` to the manifest.
    
    To start with for example, we wrap `/usr/bin/rpm` and cause it
    to drop privileges.  This way it can't corrupt anything; we're
    not just relying on the read-only bind mount.  For example nothing
    will accidentally get written to `/var/lib/rpm`.
    
    Now a tricky thing with this one is we *do* want it to write if
    we're in an unlocked state.
    
    There are various other examples of binaries we want to intercept,
    among them:
    
     - `grubby` -> `rpm-ostree kargs`
     - `dracut` -> `rpm-ostree initramfs`
     - `yum` -> well...we'll talk about that later
    cgwalters committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    5d5f4da View commit details
    Browse the repository at this point in the history