Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] keepdir /var/run/package/?
Date: Thu, 12 Aug 2010 18:45:59
Message-Id: 4C6441E4.4040907@gentoo.org
In Reply to: Re: [gentoo-dev] keepdir /var/run/package/? by Eray Aslan
1 On 08/12/2010 09:42 PM, Eray Aslan wrote:
2 > On Thu, Aug 12, 2010 at 02:36:40PM -0400, Michael Sterrett wrote:
3 >> What you're saying doesn't agree with
4 >> http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA
5 >
6 > I do not understand. In the above link, it says:
7 >
8 > "/var/run:
9 > [...]Files under this directory must be cleared (removed or truncated as
10 > appropriate) at the beginning of the boot process."
11 >
12 > So we cannot assume that a directory exists under /var/run during boot.
13 > Hence, keepdiring a dir that will most probably be cleared during boot
14 > is pointless.
15 >
16 > Am I missing something?
17 >
18
19 It says "Files under this directory", not "Files and directories under
20 this directory."
21
22 Futhermore is continues with,
23
24 "Programs may have a subdirectory of /var/run; this is encouraged for
25 programs that use more than one run-time file."
26
27 So I'd say keepdir is legal here...

Replies

Subject Author
Re: [gentoo-dev] keepdir /var/run/package/? Jeremy Olexa <darkside@g.o>
Re: [gentoo-dev] keepdir /var/run/package/? Eray Aslan <eray.aslan@×××××××.tr>