From: Daan De Meyer Date: Fri, 14 Apr 2023 14:23:26 +0000 (+0200) Subject: Drop syslog.service removal logic on centos X-Git-Tag: v15~251^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e0ebb8d7fb68c4595a863d9e19a16dc919c0f2b;p=thirdparty%2Fmkosi.git Drop syslog.service removal logic on centos Another case where we should stop mucking around with distro defaults too much. --- diff --git a/mkosi/distributions/centos.py b/mkosi/distributions/centos.py index bce12d29f..441ffc96e 100644 --- a/mkosi/distributions/centos.py +++ b/mkosi/distributions/centos.py @@ -96,10 +96,6 @@ class CentosInstaller(DistributionInstaller): invoke_dnf(state, "install", ["filesystem", *state.config.packages], env) - syslog = state.root.joinpath("etc/systemd/system/syslog.service") - if release <= 8 and syslog.is_symlink(): - syslog.unlink() - # On Fedora, the default rpmdb has moved to /usr/lib/sysimage/rpm so if that's the case we need to # move it back to /var/lib/rpm on CentOS. move_rpm_db(state.root)