FS#34063 - [shadow] It might be a good idea to have mode, uid. gid args in the tmpfile

Attached to Project: Arch Linux
Opened by Connor Behan (connorbehan) - Thursday, 28 February 2013, 00:24 GMT
Last edited by Dave Reisner (falconindy) - Friday, 08 March 2013, 20:19 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The lastlog.tmpfiles, part of the shadow package says to create /var/log/lastlog if it does not exist with the line:

"f /var/log/lastlog"

Instead of say:

"f /var/log/lastlog 0644 root root"

Now the last three parameters are optional according to the systemd tmpfiles.d spec. I only looked into this because I use initscripts (on one of my machines) which is less flexible about tmpfiles. The lastlog file was introduced after initscripts began using systemd tools so this went unnoticed until I switched to initscripts-fork.

If you don't want to change this, I'll just hack the fork or put up with the warning message. Thanks!
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 08 March 2013, 20:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in svn. Not doing a release for this.

Loading...