Opened 9 years ago
Closed 9 years ago
Last modified 9 years ago
#12621 closed Bug Report - General (fixed)
Mythbackend claims it rotates logs on SIGHUP, but it doesn't
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 0.28 |
Component: | MythTV - General | Version: | 0.27.4 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
The output of mythbackend --help
claims the process will reload the log file when it receives a HUP signal. Several pages in the wiki also gives instructions on sending HUP signals in logrotate scripts.
But that rotation does not happen. Actually, mythbackend simply ignores the signal, judging by the contents of /proc/<pid>/status
. I've taken a look in the code, and the call to ignore the signal is easily found in mythbackend/main.cpp
. I've tried find in the code some other way to trigger a log reopen but haven't seen anything. Is there a way?
Change History (8)
comment:1 Changed 9 years ago by
Status: | new → infoneeded_new |
---|
comment:2 Changed 9 years ago by
Version 0.27.4.
(I could have sworn I entered that in the menu! But I see it says Unspecified now.)
comment:3 Changed 9 years ago by
Milestone: | unknown → 0.28 |
---|---|
Version: | Unspecified → 0.27.4 |
comment:4 Changed 9 years ago by
Status: | infoneeded_new → new |
---|
comment:6 Changed 9 years ago by
Owner: | set to John Poet <jpoet@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
What version is this with?