#3 Convert tallylog to tmpfiles.d
Merged 5 years ago by tmraz. Opened 5 years ago by walters.
rpms/ walters/pam tmpfiles-tallylog  into  master

Convert tallylog to tmpfiles.d
Colin Walters • 5 years ago  
file modified
+1 -5
@@ -241,11 +241,7 @@ 

  	fi

  done

  

- %post

- /sbin/ldconfig

- if [ ! -e /var/log/tallylog ] ; then

- 	/usr/bin/install -m 600 /dev/null /var/log/tallylog || :

- fi

+ %post -p /sbin/ldconfig

  

  %postun -p /sbin/ldconfig

  

file modified
+1
@@ -1,3 +1,4 @@ 

  d /run/console 0755 root root -

  d /run/faillock 0755 root root -

  d /run/sepermit 0755 root root -

+ f /var/log/tallylog 0600 root root -

This will make it compatible with the rpm-ostree model, which
has /var start out empty (or supports doing so).

More information in https://bugzilla.redhat.com/show_bug.cgi?id=1352154

rebased onto dc7f2be

5 years ago

Pull-Request has been merged by tmraz

5 years ago