Opened at 2025-01-14T01:16:39Z
#4159 new defect
Log a message when shutting down because STDIN is closed
Reported by: | hacklschorsch | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | code-frontend-cli | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
#3921 introduced a new behavior for tahoe run where the process will immediately exit when stdin is closed.
#4036 introduced a way to still run tahoe even when we don't have a STDIN (for example when running under systemd).
I was indeed trying to run tahoe under systemd and it took me over a day to find the --allow-stdin-close option (introduced with PR 1306).
I propose we add logging to Tahoe-LAFS 'run' so that when it shuts down because STDIN is closed users can know this, something like:
STDIN (Standard Input) closed, shutting down. Use `--allow-stdin-close` if you want to keep Tahoe-LAFS running when that happens.
Note: See
TracTickets for help on using
tickets.