Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93560 - mythbackend init ignores MYTH_PID and MYTH_LOG
Summary: mythbackend init ignores MYTH_PID and MYTH_LOG
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 08:20 UTC by JJ
Modified: 2005-05-22 15:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for init.d/mythbackend and 0.18-mythbackend.rc (0.18-mythbackend.rc.patch,300 bytes, patch)
2005-05-22 08:22 UTC, JJ
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description JJ 2005-05-22 08:20:58 UTC
mythbackend init.d uses hard coded pid and log locations

is a problem when running as non root


Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/mythbackend start
2.
3.

Actual Results:  
mythbackend failed to start as non root user has no write permissions in /var/run

Expected Results:  
the init.d file should use the settings from conf.d
Comment 1 JJ 2005-05-22 08:22:53 UTC
Created attachment 59545 [details, diff]
patch for init.d/mythbackend and 0.18-mythbackend.rc
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2005-05-22 15:20:29 UTC
The option to change this was inheritly removed. Oddly you're the first person
to complain of this problem since 0.18.1 is suppose to write PID info prior to
dropping privs. Currently it's a "worksforme".

And the making the log area variable won't happen. Promise you that much. Even
the pid. If it's a real issue (not just a start-stop-daemon issue) then I'll
move it to a directory where it's a non issue.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2005-05-22 15:43:53 UTC
Use the new init script available under files. If you don't know how to do it..
re-emerge MythTV and you'll get it.