[tahoe-dev] debian package: initscript and FHS

Greg Troxel gdt at ir.bbn.com
Mon May 2 11:20:15 PDT 2011


bertagaz at ptitcanardnoir.org writes:

> basedir/tmp should be /tmp/nodedir
> basedir/logs should be /var/log/tahoe/node (something in /var/log)
> basedir/storage should be /var/lib/node (in /var/lib anyway)

So if in the pre-FHS tahoe world you had a directory:

   /n0/TAHOES/pubgrid-server

then that would still exist, but then

  tmp subdir => /tmp/pubgrid-server (not /tmp/tahoe/pubgrid-server?)

  logs subdir => /var/log/tahoe/pubgrid-server

  storage subdir => /var/lib/pubgrid-server (not /var/lib/tahoe/pubgrid-server?)

> Rather than describing the whole layout, maybe a use case might answer :

> In the example you gave, only the first part is concerned, the one with
> the "tahoes" uid, which I guess is something like a tahoe setup ran by the
> system. Others wouldn't change from their actual setup (i.e in
> $HOME/.tahoe, started by users by hands,...).

I still don't know what you want to happen.

Do you mean:

  system nodes (tahoe run under special tahoe user) have the above 3
  transformation?

  system node directories go where???   Why isn't the whole node dir in
  /var/lib, except tmp and logs?

  user nodes sit in user directories, and aren't any different from
  current practice.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20110502/488beb90/attachment.pgp>


More information about the tahoe-dev mailing list