Re: Tips on how to handle tmpfile changes

2011-12-13 Thread Lennart Poettering
On Wed, 07.12.11 09:37, Michael Cronenworth (m...@cchtml.com) wrote: > The vnstat service has traditionally run as the root user. This was > fixed in Fedora 16 and higher to run as the vnstat user, but the same > fix was just introduced[1] into Fedora 15. There is a problem with this > fix in t

Re: Tips on how to handle tmpfile changes

2011-12-07 Thread Paul Howarth
On Wed, 07 Dec 2011 10:13:24 -0600 Michael Cronenworth wrote: > Paul Howarth wrote: > > Simplest way is just to include the directory in the RPM in the > > same way as you would if it was anywhere else in the filesystem. > > That caters for operation immediately after installation, and the > > tm

Re: Tips on how to handle tmpfile changes

2011-12-07 Thread Michael Cronenworth
Paul Howarth wrote: > How about using the vnstatd --pidfile option in the initscript rather > than adding it into the config file? That's a good idea. Thanks Paul, Toshio, and Johann. I'll go to the maintainer now with these ideas. P.S. It seems Fedora e-mail is being delayed (not sure if it is

Re: Tips on how to handle tmpfile changes

2011-12-07 Thread Toshio Kuratomi
On Wed, Dec 07, 2011 at 10:13:24AM -0600, Michael Cronenworth wrote: > Paul Howarth wrote: > > Simplest way is just to include the directory in the RPM in the same way > > as you would if it was anywhere else in the filesystem. That caters for > > operation immediately after installation, and the t

Re: Tips on how to handle tmpfile changes

2011-12-07 Thread Jóhann B. Guðmundsson
On 12/07/2011 03:37 PM, Michael Cronenworth wrote: > The vnstat service has traditionally run as the root user. This was > fixed in Fedora 16 and higher to run as the vnstat user, but the same > fix was just introduced[1] into Fedora 15. There is a problem with this > fix in that it requires "syste

Re: Tips on how to handle tmpfile changes

2011-12-07 Thread Michael Cronenworth
Paul Howarth wrote: > Simplest way is just to include the directory in the RPM in the same way > as you would if it was anywhere else in the filesystem. That caters for > operation immediately after installation, and the tmpfiles script can > re-create it on reboot. The /run/vnstat directory must

Re: Tips on how to handle tmpfile changes

2011-12-07 Thread Paul Howarth
On 12/07/2011 03:37 PM, Michael Cronenworth wrote: > The vnstat service has traditionally run as the root user. This was > fixed in Fedora 16 and higher to run as the vnstat user, but the same > fix was just introduced[1] into Fedora 15. There is a problem with this > fix in that it requires "syste

Tips on how to handle tmpfile changes

2011-12-07 Thread Michael Cronenworth
The vnstat service has traditionally run as the root user. This was fixed in Fedora 16 and higher to run as the vnstat user, but the same fix was just introduced[1] into Fedora 15. There is a problem with this fix in that it requires "systemd-tmpfiles" to be run to create the new /run/vnstat di