[tahoe-lafs-trac-stream] [tahoe-lafs] #2045: Make the paths of the different folders configurable

tahoe-lafs trac at tahoe-lafs.org
Sat Dec 28 14:08:15 UTC 2013


#2045: Make the paths of the different folders configurable
-------------------------+-------------------------------------------------
     Reporter:  meskio   |      Owner:  daira
         Type:           |     Status:  assigned
  enhancement            |  Milestone:  undecided
     Priority:  normal   |    Version:  1.10.0
    Component:  code-    |   Keywords:  FHS unix daemon twistd review-
  nodeadmin              |  needed
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by leif):

 Replying to [comment:18 meskio]:
 > I send a pull request with the changes:
 > https://github.com/tahoe-lafs/tahoe-lafs/pull/79
 A few notes:
 * `test_log_dir` needs to be updated for the change from `logdir` to
 `incident_dir`
 * the name `incidents_dir` (plural) might be better
 * perhaps `storedir` should be `storage_dir`? I think whole words and
 underscores are preferable. s/tempdir/temp_dir/ too.
 * as meskio and I discussed yesterday at 30c3, it does not seem like it
 would be trivial to make `tahoe.cfg` able to configure the path to
 twistd.log because that path is needed in `scripts/startstop_node.py` when
 the config file has not yet been read. A simple solution for properly
 debianizing tahoe is to just have the `--logdir` option passed on the
 commandline by the init script, perhaps configured in `/etc/default/tahoe-
 lafs` or something like that. (The pull request includes a `--logdir`
 commandline option, not to be confused with the `incident_dir` config
 option which was previously called `logdir`.)
 * the `--logdir` option needs to be documented
 * maybe the `--logdir` option should actually be `--logfile` (as the
 twistd option derived from it is) so that the log file doesn't have to be
 called twistd.log. That way it could log to something like `/var/log
 /tahoe-lafs.log`."

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2045#comment:20>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list