Gentoo Archives: gentoo-dev

From: Jeremy Olexa <darkside@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] keepdir /var/run/package/?
Date: Thu, 12 Aug 2010 19:02:40
Message-Id: 4845f430eec4c571f191295ac6c6d56b@localhost
In Reply to: Re: [gentoo-dev] keepdir /var/run/package/? by Samuli Suominen
1 On Thu, 12 Aug 2010 21:48:04 +0300, Samuli Suominen
2 <ssuominen@g.o> wrote:
3
4 > It says "Files under this directory", not "Files and directories under
5 > this directory."
6
7 Oh, cmon. If you are going to selectively quote, then I'll give you
8 this: "This directory contains system information data describing the
9 system since it was booted." So in my opinion, it is fine to "rm -rf
10 /var/run/*" on system shutdown...
11
12 >
13 > Futhermore is continues with,
14 >
15 > "Programs may have a subdirectory of /var/run; this is encouraged for
16 > programs that use more than one run-time file."
17 >
18 > So I'd say keepdir is legal here...
19
20 Then the app in question can (and should) make the directory, not the
21 ebuild.
22
23 -Jeremy