I've got some proposed wording for /run in.  You can see the change here:

http://bzr.linuxfoundation.org/loggerhead/lsb/devel/fhs-spec/revision/36

It's basically the wording for /var/run moved over, with /var/run being 
largely replaced by a few compatibility statements.  I did it this way 
because a lot of the concerns that people had expressed seemed to be 
handled well in the /var/run wording, such as persistence across reboots.

A few notes that might be worth some review by others:

  - I considered the BSD case for making /run optional, or moving it to 
the Linux annex.  The problem is that it makes the text for /var/run 
really crazy; in all likelihood, /var/run would end up having to move to 
the annexes as well.  We know that there are a number of other 
objectionable sections in the FHS from the BSD point of view.  If and 
when we get a decent solution to those problems, we can rethink the way 
/run happens as part of that solution.

  - "It is valid to implement /var/run as a symlink to /run."  True? 
Too bold?  Too specific?

  - /var/run/utmp is explicitly mentioned in FHS 2.3.  After looking at 
Fedora 15, I decided it should stay there, since there's no /run/utmp 
there.  I figure that having /run/utmp via symlinking /var/run to /run 
is OK, even though not explicitly mentioned, so there should be no 
issues.  OTOH, do we want to encourage people to move utmp?

  - I've added explicit rules forbidding use of both /run and /var/run 
by programs, to prevent confusion.  My thought is that a program should 
either use /run or /var/run.  Can anyone think of a good reason why a 
program would want to use both?

Other comments or objections are welcome as well, of course.

-- 
Jeff Licquia
The Linux Foundation
+1 (317) 915-7441
[email protected]

Linux Foundation Events Schedule:  events.linuxfoundation.org
Linux Foundation Training Schedule: training.linuxfoundation.org

Join us this year in celebrating the 20th Anniversary of Linux!
   Watch the "Story of Linux" here:
   http://www.youtube.com/watch?v=5ocq6_3-nEw
   See all of the 20th Anniversary activities here: 
http://www.linuxfoundation.org/20th
_______________________________________________
fhs-discuss mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/fhs-discuss

Reply via email to