From 3e16f700a8854ef0324d8a6516eb323e3413b48d Mon Sep 17 00:00:00 2001 From: siddharthvipul Date: Sun, 31 May 2020 17:33:08 +0530 Subject: [PATCH] remove package systemd from fedora container base image Signed-off-by: siddharthvipul --- fedora-container-base.ks | 6 ------ fedora-container-common.ks | 2 -- 2 files changed, 8 deletions(-) diff --git a/fedora-container-base.ks b/fedora-container-base.ks index c3a97fa..6d50e82 100644 --- a/fedora-container-base.ks +++ b/fedora-container-base.ks @@ -26,11 +26,6 @@ rm -rf /tmp/* # https://pagure.io/atomic-wg/issue/308 printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf -# https://bugzilla.redhat.com/show_bug.cgi?id=1576993 -systemctl disable dnf-makecache.timer - -#Mask mount units and getty service so that we don't get login prompt -systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service # https://bugzilla.redhat.com/show_bug.cgi?id=1343138 # Fix /run/lock breakage since it's not tmpfs in docker @@ -44,7 +39,6 @@ systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connec # [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m # umount /run -systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true rm /run/nologin # https://pagure.io/atomic-wg/issue/316 # Final pruning diff --git a/fedora-container-common.ks b/fedora-container-common.ks index 4c67755..17d58b1 100644 --- a/fedora-container-common.ks +++ b/fedora-container-common.ks @@ -39,8 +39,6 @@ rpm shadow-utils sssd-client util-linux -#needed by Anaconda https://bugzilla.redhat.com/show_bug.cgi?id=1744115 -systemd -kernel -dosfstools -e2fsprogs