From 6a2b9d48356ffe34055c7d6c1af12474a55ca04c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 28 Feb 2020 10:17:46 +0800 Subject: [PATCH 1/7] try removing uninstalled packages from missing-docs (error 143) atomic_reactor.util - Package chkconfig available, but not installed. atomic_reactor.util - No match for argument: chkconfig atomic_reactor.util - Package dbus-daemon available, but not installed. atomic_reactor.util - No match for argument: dbus-daemon atomic_reactor.util - Package rpm-plugin-systemd-inhibit available, but not installed. atomic_reactor.util - No match for argument: rpm-plugin-systemd-inhibit : : atomic_reactor.util - DEBUG - Running scriptlet: gawk-5.0.1-7.fc32.x86_64 38/38 atomic_reactor.util - DEBUG - Removing intermediate container a533251cf472 atomic_reactor.util - ERROR - {'errorDetail': {'code': 143, 'message': "The command '/bin/sh -c dnf -y reinstall $( Date: Sat, 11 Apr 2020 10:59:09 +0800 Subject: [PATCH 2/7] drop mlocate: https://github.com/containers/toolbox/issues/391 --- extra-packages | 1 - 1 file changed, 1 deletion(-) diff --git a/extra-packages b/extra-packages index b37c946..05763f6 100644 --- a/extra-packages +++ b/extra-packages @@ -17,7 +17,6 @@ less lsof man-db man-pages -mlocate mtr openssh-clients passwd From 366895197f89cf425e596faa006257d2c796c313 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 15 Jun 2020 19:42:09 +0200 Subject: [PATCH 3/7] extra-packages: Add gvfs-client The gvfs-client package is necessary for GIO-based processes inside toolbox containers to use the GVfs backend and volume monitor daemons, and it comes preinstalled on Fedora Silverblue and Workstation. https://github.com/containers/toolbox/pull/466 --- extra-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/extra-packages b/extra-packages index 05763f6..a4c839e 100644 --- a/extra-packages +++ b/extra-packages @@ -8,6 +8,7 @@ fpaste git gnupg gnupg2-smime +gvfs-client hostname iputils jwhois From 4a34af1a90d9c21aaf8850ea9c8acd539073a3ae Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 30 Oct 2020 19:45:38 +0100 Subject: [PATCH 4/7] extra-packages: Allow X11 clients to run as root If an X11 client is started inside a 'su -' session, then xauth(1) needs to be present so that pam_xauth.so can add a new XAUTHORITY environment variable to the 'su -' session. https://github.com/containers/toolbox/pull/572 --- extra-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/extra-packages b/extra-packages index a4c839e..95ecebb 100644 --- a/extra-packages +++ b/extra-packages @@ -35,5 +35,6 @@ vte-profile wget which words +xorg-x11-xauth xz zip From 7ca11730192ca89d929d0453c5cb24203ddeef51 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Sun, 15 Nov 2020 23:15:46 +0100 Subject: [PATCH 5/7] Make locate(1) work inside toolbox containers This reverts commit 1631209a2da6d74264f857528f112c74bb206e4c. https://github.com/containers/toolbox/issues/391 --- extra-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/extra-packages b/extra-packages index 95ecebb..0597b1b 100644 --- a/extra-packages +++ b/extra-packages @@ -18,6 +18,7 @@ less lsof man-db man-pages +mlocate mtr openssh-clients passwd From d642b9f32a96b43d5e12c53b6faff94c9d892e99 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Sun, 15 Nov 2020 23:11:40 +0100 Subject: [PATCH 6/7] Give access to Avahi to resolve the .local mDNS domain The nss-mdns plugin for the GNU Name Service Switch (or NSS) functionality of the GNU C Library is necessary to resolve the .local mDNS domain. The plugin talks to the Avahi daemon running on the host to resolve the names. https://github.com/containers/toolbox/issues/209 --- extra-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/extra-packages b/extra-packages index 0597b1b..942271c 100644 --- a/extra-packages +++ b/extra-packages @@ -20,6 +20,7 @@ man-db man-pages mlocate mtr +nss-mdns openssh-clients passwd pigz From c81107b8acbbd44abafd31793d71141d160e70c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20M=C3=ADchal?= Date: Sun, 27 Sep 2020 23:58:37 +0200 Subject: [PATCH 7/7] Simplify image name Currently the images are named as "f/fedora-toolbox". This is troublesome for new users of toolbox (even those with some background to containers) because everywhere the image is advertised or talked about as "fedora-toolbox". This is taken care of by Toolbox CLI but has no effect on Podman itself (or any other tool capable of working with OCI images). Another pain point is in the Fedora registry[0] all "fedora-toolbox" images get a different entry for every version of Fedora. There is no single place for all "fedora-toolbox" images. With this change I propose to only use "fedora-toolbox" as the name of the container and make use of VERSION to distinguish between versions of Fedora. Currently when you go to the Fedora registry and find an entry for "fedora-toolbox" you'll see all previous images. I believe that with this change that "feature" will be lost. But I personally find that "feature" to be rather confusing because what usually a user wants the latest version of a container (I partially base this statement on the fact that most images are versioned this way; e.g. Ubuntu on Docker Hub[1]). [0] https://registry.fedoraproject.org/ [1] https://hub.docker.com/_/ubuntu --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6252478..a64b726 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ENV NAME=fedora-toolbox VERSION=32 LABEL com.github.containers.toolbox="true" \ com.github.debarshiray.toolbox="true" \ com.redhat.component="$NAME" \ - name="$FGC/$NAME" \ + name="$NAME" \ version="$VERSION" \ usage="This image is meant to be used with the toolbox command" \ summary="Base image for creating Fedora toolbox containers" \