On Thu, Aug 16, 2012 at 10:13:43AM +0300, Sergei Trofimovich wrote:
> Another misfeature: some fields seem to be optional and tmpfiles.sh
> dislikes it (example is taken from the bottom of tmpfiles.d.html).
> Looks like just missing quotes in tests:
>
> tmpfiles.d # cat screen.conf
> d /var/run/s
> > Oh, nice. What do you think of moving those helper implementations to
> > tmpfiles-d.eclass and make
> >
> > systemd_dotmpfilesd() { dotmpfiles_d "$@"; }
> >
> > as William suggested? That way we would not impose blocker DEPENDs
> > from systemd.eclass to users and might help adding {do,n
On Thu, 16 Aug 2012 10:38:06 +0300
Sergei Trofimovich wrote:
> On Wed, 15 Aug 2012 23:25:16 +0200
> Michał Górny wrote:
>
> > On Wed, 15 Aug 2012 23:57:57 +0300
> > Sergei Trofimovich wrote:
> >
> > > But there is no simple way to install such helpers from ebuilds.
> > > The tmpfiles.d is aim
On Wed, 15 Aug 2012 23:25:16 +0200
Michał Górny wrote:
> On Wed, 15 Aug 2012 23:57:57 +0300
> Sergei Trofimovich wrote:
>
> > But there is no simple way to install such helpers from ebuilds.
> > The tmpfiles.d is aimed to help in such situations.
>
> Yes, there is.
>
> $ grep dotmpfiles *.ecl
On Thu, 16 Aug 2012 06:19:55 +
"Robin H. Johnson" wrote:
> On Wed, Aug 15, 2012 at 11:57:57PM +0300, Sergei Trofimovich wrote:
> > As gentoo switched to /var/run/ -> /run in tmpfs recently
> > people got into problems [1] of missing directories like:
> > /var/run/screen/
> > /var/run/
On Wed, Aug 15, 2012 at 11:57:57PM +0300, Sergei Trofimovich wrote:
> As gentoo switched to /var/run/ -> /run in tmpfs recently
> people got into problems [1] of missing directories like:
> /var/run/screen/
> /var/run/openfire/
> /var/run/proftpd/
> they did bite me personally.
If the p
I have a couple of minor requests for readability.
Can you call the eclass tmpfiles-d.eclass?
Then, for the functions themselves, use names like,
dotmpfiles_d
newtmpfiles_d
so they will be a bit more readable?
Thanks,
William
pgpmBlPbfeN2v.pgp
Description: PGP signature
On Wed, 15 Aug 2012 23:57:57 +0300
Sergei Trofimovich wrote:
> But there is no simple way to install such helpers from ebuilds.
> The tmpfiles.d is aimed to help in such situations.
Yes, there is.
$ grep dotmpfiles *.eclass
systemd.eclass:# @FUNCTION: systemd_dotmpfilesd
systemd.eclass:systemd_
As gentoo switched to /var/run/ -> /run in tmpfs recently
people got into problems [1] of missing directories like:
/var/run/screen/
/var/run/openfire/
/var/run/proftpd/
they did bite me personally.
openrc-0.10 brought [2] basic support for systemd's tmpfiles'd:
http://0pointer.de