From 14849e69746603ca2e7a4c81ac16e84d00c6d608 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 30 Jul 2018 20:01:11 +0000 Subject: [PATCH] Use tmpfiles macro Currently this will always run even if we're not booted via systemd; I saw error spew when doing an rpm-ostree build. The systemd macro silences errors. --- samba.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba.spec b/samba.spec index c6dd0f3..03ad2f8 100644 --- a/samba.spec +++ b/samba.spec @@ -1155,7 +1155,7 @@ getent group printadmin >/dev/null || groupadd -r printadmin || : %post common /sbin/ldconfig -/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf +%tmpfiles_create %{_tmpfilesdir}/samba.conf if [ -d /var/cache/samba ]; then mv /var/cache/samba/netsamlogon_cache.tdb /var/lib/samba/ 2>/dev/null mv /var/cache/samba/winbindd_cache.tdb /var/lib/samba/ 2>/dev/null