On samedi, 24 septembre 2016 09.58:12 h CEST Sebastian wrote:
On 09/23/2016 09:26 PM, Yamaban wrote:
AFAIK, you can create the needed dirs with the
needed (user writeable)
permissions by dropping a snippet in /etc/tmpdirs.d/ (for files use
/etc/tmpfiles.d/) and they will be created after boot by
Docu: man:tmpfiles.d(5) man:systemd-tmpfiles(8)
This /could/ be what you want (use /run/name/blah.pid)
without forceing extra tricks.
Yes, this seems to be very good!
But I found out that /etc/tmpdirs.d has been obsoleted by /etc/tmpfiles.d
The tmpdirs.d directory exists on tumbleweed (at least here, may be not a
fresh install) but is not read anymore by systemd-tmpfiles. This caused me
some headache to find out.
Also, the filename has to end with .conf, this is not mentioned on older
blog posts (e.g. from 2010)
Otherwise using /var/lib/name/blah.pid would also
be a valid,
traceable, accountable, and comprehensible solution.
Okay, I will use this on other/older platforms where the above method is
Thanks for your advice!
And better if you package it make that droplet in /usr/lib/tempfiles.d
Making administrator able to overrides your defaults by their on specific
Ioda-Net Sàrl www.ioda-net.ch
Bareos Partner, openSUSE Member, fsfe fellowship
GPG KEY : D5C9B751C4653227
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org