1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-12-01 11:03:07 +00:00

live-base: Disable abrtd on live systems

Grabbing coredumps on live systems is not a good idea. Either there is
no persistent storage, or it will be really slow and also small. So
disable abrtd and stop it in the same way as other services.
This commit is contained in:
Benjamin Berg 2018-03-07 16:18:48 +01:00
parent 9fdd766e5d
commit 4f4fe63125

View File

@ -206,6 +206,10 @@ systemctl --no-reload disable atd.service 2> /dev/null || :
systemctl stop crond.service 2> /dev/null || : systemctl stop crond.service 2> /dev/null || :
systemctl stop atd.service 2> /dev/null || : systemctl stop atd.service 2> /dev/null || :
# turn off abrtd on a live image
systemctl --no-reload disable abrtd.service 2> /dev/null || :
systemctl stop abrtd.service 2> /dev/null || :
# Don't sync the system clock when running live (RHBZ #1018162) # Don't sync the system clock when running live (RHBZ #1018162)
sed -i 's/rtcsync//' /etc/chrony.conf sed -i 's/rtcsync//' /etc/chrony.conf