Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#9059 - Missing PID for /usr/bin/mythbackend in MythTV 0.20.2
Attached to Project:
Arch Linux
Opened by Kevin Winter (kw) - Sunday, 30 December 2007, 20:10 GMT
Last edited by Jürgen Hötzel (juergen) - Wednesday, 02 April 2008, 20:05 GMT
Opened by Kevin Winter (kw) - Sunday, 30 December 2007, 20:10 GMT
Last edited by Jürgen Hötzel (juergen) - Wednesday, 02 April 2008, 20:05 GMT
|
DetailsDescription:
When mythbackend starts up its process ID is not captured in '/var/run/mythbackend.pid' Detected in: mythtv 0.20.2.20070828-2 Reason: Process ID is not available when '/bin/pidof' is called in '/etc/rc.d/mythbackend' Solution: This can be fixed by asking mythbackend to create the PID file, see below for an example: --- /etc/rc.d/mythbackend.orig 2007-12-30 19:22:26.000000000 +0000 +++ /etc/rc.d/mythbackend 2007-12-30 19:51:39.000000000 +0000 @@ -8,11 +8,10 @@ start) stat_busy "Starting MythTV Backend" [ ! -e /var/run/mysqld.pid ] && echo -n "mysqld not started" && stat_fail && exit - [ -z "$PID" ] && /usr/bin/mythbackend -d -l /var/log/mythbackend.log -v important + [ -z "$PID" ] && /usr/bin/mythbackend -d -l /var/log/mythbackend.log -p /var/run/mythbackend.pid -v important if [ $? -gt 0 ]; then stat_fail else - echo $PID > /var/run/mythbackend.pid add_daemon mythbackend stat_done fi @@ -23,6 +22,7 @@ if [ $? -gt 0 ]; then stat_fail else + rm -f /var/run/mythbackend.pid &>/dev/null rm_daemon mythbackend stat_done fi |
This task depends upon
Closed by Jürgen Hötzel (juergen)
Wednesday, 02 April 2008, 20:05 GMT
Reason for closing: Implemented
Wednesday, 02 April 2008, 20:05 GMT
Reason for closing: Implemented
Comment by Paul Mattal (paul) -
Thursday, 24 January 2008, 03:15 GMT
I just committed this to CVS. It will get released the next time mythtv is built.