rpm-ostree/tests/vmcheck
Colin Walters e41a8ab26f 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
2020-04-15 16:22:57 +02:00
..
install.sh spec: Bump libmodulemd version requirement 2020-02-25 16:48:15 +01:00
overlay.sh tests: Misc tweaks 2019-12-16 15:17:01 +01:00
runtest.sh vmcheck: Run vm_kola_spawn separately from if-statement 2020-03-19 16:24:04 +01:00
sync.sh Rework vmcheck to use kola spawn, move off of PAPR 2019-12-13 19:18:30 +01:00
test-autoupdate-check.sh Print CVEs fixed in available updates 2018-12-05 18:56:49 +00:00
test-autoupdate-stage.sh Stabilize stage automatic update policy 2018-08-21 01:01:45 +00:00
test-cached-rpm-diffs.sh tests/vmcheck: Fully drop python 3 requirement 2019-06-10 15:36:06 +00:00
test-db.sh vmcheck: Work around read-only /sysroot 2020-03-19 16:24:04 +01:00
test-download-only.sh vmcheck: Work around read-only /sysroot 2020-03-19 16:24:04 +01:00
test-history.sh Add new ex history command 2019-09-24 14:17:12 +00:00
test-initramfs.sh core,kernel: Set up /etc/passwd for dracut 2020-02-13 23:26:04 +01:00
test-kernel-args.sh daemon: Use MountFlags=slave and opt-in to OSTree read-only /sysroot 2019-12-13 01:44:56 +01:00
test-layering-basic-1.sh importer: Quote filenames with spaces for tmpfiles.d 2020-03-23 19:16:36 +01:00
test-layering-basic-2.sh vmcheck: Work around read-only /sysroot 2020-03-19 16:24:04 +01:00
test-layering-gpg.sh
test-layering-local.sh vmcheck: Store temporary files in /var/tmp instead 2018-09-07 14:20:01 +00:00
test-layering-non-root-caps.sh tests: Don't make system user with differently-named group 2019-02-25 14:21:28 +00:00
test-layering-relabel.sh core: Change relabeling to use libostree's SELinux support 2017-12-08 15:01:32 +00:00
test-layering-relayer.sh
test-layering-rpmdb.sh core: handle shared files and multilib 2018-02-08 21:58:55 +00:00
test-layering-scripts.sh Rework vmcheck to use kola spawn, move off of PAPR 2019-12-13 19:18:30 +01:00
test-layering-unified.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-livefs.sh vmcheck: Work around read-only /sysroot 2020-03-19 16:24:04 +01:00
test-misc-1.sh Add support for wrapping binaries (rpm, dracut, grubby) 2020-04-15 16:22:57 +02:00
test-misc-2.sh vmcheck: Work around read-only /sysroot 2020-03-19 16:24:04 +01:00
test-override-kernel.sh initramfs: Use dracut args from commitmeta if available 2020-02-27 21:09:54 +01:00
test-override-local-replace.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-override-remove.sh app/status: Group EVRs for RemovedBasePackages if possible 2019-06-18 14:34:13 +00:00
test-override-replace-2.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-pinned-commit.sh Handle "pinned commits" specifically 2018-06-11 20:37:58 +00:00
test-reset.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-rojig-client.sh vmcheck/test-rojig-client.sh: Don't check full rojig NEVRA 2019-03-19 12:19:38 +00:00
test-upgrades.sh app/deploy: Add --disallow-downgrade switch 2019-08-21 16:43:37 -04:00