From 9977ebc5d79b8a5ab187fe48fd579e8137883c61 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Dec 05 2018 12:57:25 +0000 Subject: Drop scriptlet for pre-F19 entires in /etc/fstab --- diff --git a/systemd.spec b/systemd.spec index 348b5f5..89d1a4d 100644 --- a/systemd.spec +++ b/systemd.spec @@ -499,13 +499,6 @@ chmod g+s /run/log/journal/ /run/log/journal/`cat /etc/machine-id 2>/dev/null` / # Apply ACL to the journal directory setfacl -Rnm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal/ &>/dev/null || : -# Remove spurious /etc/fstab entries from very old installations -# https://bugzilla.redhat.com/show_bug.cgi?id=1009023 -if [ -e /etc/fstab ]; then - grep -v -E -q '^(devpts|tmpfs|sysfs|proc)' /etc/fstab || \ - sed -i.rpm.bak -r '/^devpts\s+\/dev\/pts\s+devpts\s+defaults\s+/d; /^tmpfs\s+\/dev\/shm\s+tmpfs\s+defaults\s+/d; /^sysfs\s+\/sys\s+sysfs\s+defaults\s+/d; /^proc\s+\/proc\s+proc\s+defaults\s+/d' /etc/fstab || : -fi - # We reset the enablement of all services upon initial installation # https://bugzilla.redhat.com/show_bug.cgi?id=1118740#c23 # This will fix up enablement of any preset services that got installed