Community Packages

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!
Tasklist

FS#28224 - [mythtv] automatic mythfilldatabase (tv_grab_*) fails when mythbackend started as daemon

Attached to Project: Community Packages
Opened by Johan R (cleanrock) - Thursday, 02 February 2012, 11:48 GMT
Last edited by Jonathan Conder (PirateJonno) - Saturday, 14 April 2012, 12:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Conder (PirateJonno)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I reported this once in extra but it was ignored (works for me) so i try again:

Automatic (started by mythbackend) mythfilldatabase fails (my setup use tv_grab_se_swedb) when mythbackend is started as a daemon.
I am pretty sure this is because the perl directories are missing from PATH when mythbackend is started as a daemon at boot.
I add this to beginning of /etc/rc.d/mythbackend to get automatic mythfilldatabase to work:
PATH=$PATH:/usr/bin/vendor_perl:/usr/bin/core_perl

mythtv 1:0.24.2-2
This task depends upon

Closed by  Jonathan Conder (PirateJonno)
Saturday, 14 April 2012, 12:08 GMT
Reason for closing:  Fixed
Comment by Jonathan Conder (PirateJonno) - Friday, 03 February 2012, 00:59 GMT
Not all grabber scripts use perl. Why don't you just use the full path to tv_grab_se_swedb? Alternatively you could add that PATH setting to /etc/conf.d/mythbackend (rather than rc.d, to avoid your other bug). However I would be willing to add this by default if it makes sense to do so (i.e. if it cannot be solved in a nicer way). Perhaps it is a bug in xmltv or something. Can you find an example of another distribution that does it your way?
Comment by Jonathan Conder (PirateJonno) - Friday, 03 February 2012, 01:17 GMT
It looks like that path is defined in profile.d, so it might work if you used bash to run the script (e.g. bash -c 'tv_grab_se_swedb')
Comment by Alexander F. Rødseth (xyproto) - Thursday, 22 March 2012, 20:26 GMT
Is this still an issue with mythtv 1:0.24.2-3 ?
Comment by Johan R (cleanrock) - Thursday, 22 March 2012, 20:40 GMT
The -3 changes does not change this, its only a dep change (python2-lxml).

Jonathan,
I havent gathered the energy/time to check other distros yet.
For now i moved my PATH changes to /etc/conf.d/mythbackend, thanks for that info.
Comment by Jonathan Conder (PirateJonno) - Wednesday, 11 April 2012, 03:17 GMT
As of 0.25 the rc.d script is sourcing /etc/profile, so it should work for you now.

Loading...