Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-14 Thread Ulrich Mueller
On Fri, 13 Aug 2010, Mike Frysinger wrote: Why not checkpath -d -o fowner:fgroup -m 0755 /var/run/foo? i thought there was something. that was the whole point of Bug 192682. if we dont get openrc out the door, i'll have to add to baselayout-1. I thought you already had backported

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-14 Thread Mike Frysinger
On Sat, Aug 14, 2010 at 3:39 PM, Ulrich Mueller wrote: On Fri, 13 Aug 2010, Mike Frysinger wrote: Why not checkpath -d -o fowner:fgroup -m 0755 /var/run/foo? i thought there was something.  that was the whole point of Bug 192682.  if we dont get openrc out the door, i'll have to add to

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-13 Thread Mike Frysinger
On Thu, Aug 12, 2010 at 3:40 PM, Mike Frysinger wrote: On Thu, Aug 12, 2010 at 3:33 PM, Eray Aslan wrote: It will be somewhat more work but instead of the above, we can say tmpfs might be used for /var/run and /var/lock and the init scripts should handle this correctly.  It feels (for want of

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-13 Thread Mike Frysinger
On Fri, Aug 13, 2010 at 12:17 PM, Mike Frysinger wrote: for people who do wish to improve their init.d scripts, recreating a dir is easy if your init.d runs after localmount: [ ! -d /var/run/foo ] install -d -m 755 -o fowner -g fgroup /var/run/foo oh, and for the very few cases that need to

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-13 Thread Jeroen Roovers
On Thu, 12 Aug 2010 15:40:31 -0400 Mike Frysinger vap...@gentoo.org wrote: On Thu, Aug 12, 2010 at 3:33 PM, Eray Aslan wrote: On 08/12/2010 09:48 PM, Samuli Suominen wrote: It says Files under this directory, not Files and directories under this directory. Fair enough. So our

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-13 Thread Ulrich Mueller
On Fri, 13 Aug 2010, Mike Frysinger wrote: for people who do wish to improve their init.d scripts, recreating a dir is easy if your init.d runs after localmount: [ ! -d /var/run/foo ] install -d -m 755 -o fowner -g fgroup /var/run/foo Why not checkpath -d -o fowner:fgroup -m 0755

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-13 Thread Mike Frysinger
On Fri, Aug 13, 2010 at 1:04 PM, Ulrich Mueller wrote: On Fri, 13 Aug 2010, Mike Frysinger wrote: for people who do wish to improve their init.d scripts, recreating a dir is easy if your init.d runs after localmount: [ ! -d /var/run/foo ] install -d -m 755 -o fowner -g fgroup /var/run/foo

[gentoo-dev] keepdir /var/run/package/?

2010-08-12 Thread Eray Aslan
It is perfectly legal to clear /var/run across reboots. Below is a bug from a user that ran into some trouble because an init script assumes that /var/run/package/ exists for its PID file: http://bugs.gentoo.org/show_bug.cgi?id=332397 A quick grep through the tree shows 73 packages that

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-12 Thread Paweł Hajdan, Jr.
On 8/12/10 11:29 AM, Eray Aslan wrote: It is perfectly legal to clear /var/run across reboots. Below is a bug from a user that ran into some trouble because an init script assumes that /var/run/package/ exists for its PID file: Can we add a repoman check for that? signature.asc

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-12 Thread Michael Sterrett
What you're saying doesn't agree with http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA On Thu, Aug 12, 2010 at 2:29 PM, Eray Aslan eray.as...@caf.com.tr wrote: It is perfectly legal to clear /var/run across reboots.  Below is a bug from a user that ran into some trouble

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-12 Thread Eray Aslan
On Thu, Aug 12, 2010 at 02:36:40PM -0400, Michael Sterrett wrote: What you're saying doesn't agree with http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA I do not understand. In the above link, it says: /var/run: [...]Files under this directory must be cleared (removed or

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-12 Thread Samuli Suominen
On 08/12/2010 09:42 PM, Eray Aslan wrote: On Thu, Aug 12, 2010 at 02:36:40PM -0400, Michael Sterrett wrote: What you're saying doesn't agree with http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA I do not understand. In the above link, it says: /var/run: [...]Files

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-12 Thread Jeremy Olexa
On Thu, 12 Aug 2010 21:48:04 +0300, Samuli Suominen ssuomi...@gentoo.org wrote: It says Files under this directory, not Files and directories under this directory. Oh, cmon. If you are going to selectively quote, then I'll give you this: This directory contains system information data

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-12 Thread Eray Aslan
On 08/12/2010 09:48 PM, Samuli Suominen wrote: It says Files under this directory, not Files and directories under this directory. Fair enough. So our policy basically is tmpfs is not supported for /var/run (and also for /var/lock I suppose). It will be somewhat more work but instead of

Re: [gentoo-dev] keepdir /var/run/package/?

2010-08-12 Thread Mike Frysinger
On Thu, Aug 12, 2010 at 3:33 PM, Eray Aslan wrote: On 08/12/2010 09:48 PM, Samuli Suominen wrote: It says Files under this directory, not Files and directories under this directory. Fair enough. So our policy basically is tmpfs is not supported for /var/run (and also for /var/lock I