Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] new tmpfilesd.eclass
Date: Thu, 16 Aug 2012 18:48:33
Message-Id: robbat2-20120816T183718-096262778Z@orbis-terrarum.net
In Reply to: Re: [gentoo-dev] [RFC] new tmpfilesd.eclass by Sergei Trofimovich
1 On Thu, Aug 16, 2012 at 10:13:43AM +0300, Sergei Trofimovich wrote:
2 > Another misfeature: some fields seem to be optional and tmpfiles.sh
3 > dislikes it (example is taken from the bottom of tmpfiles.d.html).
4 > Looks like just missing quotes in tests:
5 >
6 > tmpfiles.d # cat screen.conf
7 > d /var/run/screens 1777 root root 10d
8 > d /var/run/uscreens 0755 root root 10d12h
9 > sf tmpfiles.d # /lib/rc/sh/tmpfiles.sh --create
10 > /lib/rc/sh/tmpfiles.sh: 274: [: =: unexpected operator
11 > /lib/rc/sh/tmpfiles.sh: 274: [: =: unexpected operator
12 Fixed in commit c870335.
13
14 The documentation http://0pointer.de/public/systemd-man/tmpfiles.d.html
15 is very inconsistent: it mentioned omitted for mode/uid/gid/age, but not
16 argument.
17
18 --
19 Robin Hugh Johnson
20 Gentoo Linux: Developer, Trustee & Infrastructure Lead
21 E-Mail : robbat2@g.o
22 GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85