[mythtv-commits] Ticket #12621: Mythbackend claims it rotates logs on SIGHUP, but it doesn't
MythTV
noreply at mythtv.org
Tue Jan 26 19:24:34 UTC 2016
#12621: Mythbackend claims it rotates logs on SIGHUP, but it doesn't
--------------------------------------+-------------------------
Reporter: goeran@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
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?
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12621>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list