Issue 2551238
Created on 2022-11-09 16:04 by rouilj, last changed 2025-01-20 20:53 by rouilj.
msg7658 |
Author: [hidden] (rouilj) |
Date: 2022-11-09 16:04 |
|
The documentation says that -l must be used if -d is specified,
but roundup-server exits with no output if this is not followed.
My guess is roundup-server forks then fails to open a log file which
causes it to crash and since it has already disassociated from the controlling
terminal the error message is lost.
What should happen is that an error reporting the missing -l logfile option when - is used
should be reported to stdout/stderr along with the full help text.
|
msg8306 |
Author: [hidden] (rouilj) |
Date: 2025-01-19 23:56 |
|
I worked on this. In addition to -l, -L is also valid with -d.
> My guess is roundup-server forks then fails to open a log file
When roundup-server is run with a pid file it daemonizes. This changes
the directory to '/'. Any log file names that are not absolute (e.g.
logging.ini files used by the logging subsystem) will fail to open in /
and cause the server to exit.
I have failed so far to be able to make all these files absolute with os.path.abspath
or equivalent.
|
msg8316 |
Author: [hidden] (rouilj) |
Date: 2025-01-20 20:53 |
|
Error is now generated.
Documented issue with relative log files in admin guide.
changeset: 8297:03513f5066f3
|
|
Date |
User |
Action |
Args |
2025-01-20 20:53:06 | rouilj | set | status: new -> fixed resolution: fixed messages:
+ msg8316 |
2025-01-19 23:56:18 | rouilj | set | messages:
+ msg8306 |
2022-11-09 16:04:22 | rouilj | create | |
|