[csw-maintainers] /var/opt/csw/run in the CSWcommon package

Maciej (Matchek) Blizinski maciej at opencsw.org
Fri Oct 9 00:54:00 CEST 2009


On Thu, Oct 8, 2009 at 11:18 PM, Philip Brown <phil at bolthole.com> wrote:
> it is rather different from the standard system version of /var/run,
> in that the system one is tmpfs, and nuked after every reboot.
>
> also.. why would we not use /var/run directly? we would just need to
> be careful about the naming of what goes in there.

All right, I'm updating syslog-ng to use /var/run. Here's also a bit
of a documentation update:

diff --git a/htdocs/standards/layout.shtml b/htdocs/standards/layout.shtml
index 7f8a1f1..7bfb709 100644
--- a/htdocs/standards/layout.shtml
+++ b/htdocs/standards/layout.shtml
@@ -156,8 +156,15 @@ on configuration of complex packages</dd>


           <dt> <b>var</b> </dt>
-          <dd> Dont use this. Use /var/opt/csw instead.
-            <p> </p>
+          <dd> Don't use this. Use /var/opt/csw instead.
+          <p>
+            There's an exception with relation to the <code>pid</code>
+            files. The <code>/var/run</code> directory is a tmpfs,
+            purged after each system restart. CSW packages should place
+            their <code>pid</code> files in <code>/var/run</code> rather
+            than <code>/var/opt/csw/run</code>, provided that there are
+            no file name clashes.
+          </p>
           </dd>

           <dt> <b>X11</b> </dt>

Maciej



More information about the maintainers mailing list