tahoe --node-directory=foo start/stop seems to ignore foo. #1751

Closed
opened 2012-05-31 18:11:32 +00:00 by nejucomo · 1 comment

For example:

$ ps aux | grep tahoe
tahoe     5786  0.0  7.4 187260 37356 ?        Sl   17:45   0:00 /usr/bin/python /usr/bin/tahoe start
n         6027  0.0  0.1   9388   928 pts/1    S+   18:01   0:00 grep tahoe
$ sudo -u tahoe tahoe --node-directory=/home/tahoe/.tahoe stop
STOPPING '/home/n/.tahoe'
'/home/n/.tahoe' does not look like a running node directory (no twistd.pid)
For example: ``` $ ps aux | grep tahoe tahoe 5786 0.0 7.4 187260 37356 ? Sl 17:45 0:00 /usr/bin/python /usr/bin/tahoe start n 6027 0.0 0.1 9388 928 pts/1 S+ 18:01 0:00 grep tahoe $ sudo -u tahoe tahoe --node-directory=/home/tahoe/.tahoe stop STOPPING '/home/n/.tahoe' '/home/n/.tahoe' does not look like a running node directory (no twistd.pid) ```
nejucomo added the
unknown
normal
defect
1.9.1
labels 2012-05-31 18:11:32 +00:00
nejucomo added this to the undecided milestone 2012-05-31 18:11:32 +00:00

Tahoe's command+subcommand parser takes arguments in two places: tahoe --ARG1 SUBCOMMAND --ARG2. It looks like we're ignoring --node-directory when it appears in ARG1, only paying attention to it when it appears in ARG2.

This is another aspect of #166, so I'll close this as a dup and update the other ticket.

Tahoe's command+subcommand parser takes arguments in two places: `tahoe --ARG1 SUBCOMMAND --ARG2`. It looks like we're ignoring `--node-directory` when it appears in ARG1, only paying attention to it when it appears in ARG2. This is another aspect of #166, so I'll close this as a dup and update the other ticket.
warner added the
duplicate
label 2012-05-31 18:34:07 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1751
No description provided.