| Summary: | Incorrect openrc init script in media-tv/mythtv-0.27.5_p20150904 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Neil Bothwick <neil> |
| Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | bkohler |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Diff for /etc/init.d/mythbackend | ||
*** This bug has been marked as a duplicate of bug 560142 *** 2 bugs. 1. start-stop-daemon man page shows --user takes user:group when it apparently does not work. 2. runscript man page shows the example of checkpath taking --dir and not --directory. Neil: Can you run the following as root on your machine: start-stop-daemon --user mythtv:video --exec id and provide the output? (In reply to Doug Goldstein from comment #3) > Neil: > > Can you run the following as root on your machine: > > start-stop-daemon --user mythtv:video --exec id > > and provide the output? nvm. I see the issue. *** This bug has been marked as a duplicate of bug 560142 *** The --user option is after a --, which I took to mean that the option is passed to the program being executed, not interpreted by start-stop-daemon. It is mythbackend that is objecting to the added group AFAICT. (In reply to Neil Bothwick from comment #6) > The --user option is after a --, which I took to mean that the option is > passed to the program being executed, not interpreted by start-stop-daemon. > It is mythbackend that is objecting to the added group AFAICT. Correct. Which is why I had re-closed this bug as a duplicate and pushed a replacement ebuild to the tree. See bug #560142. |
Created attachment 411552 [details, diff] Diff for /etc/init.d/mythbackend The init script has a couple of errors. The first, mythv instead of mythtv as the user given to checkpath, causes an error. The second is that the user passed to mythbackend is mythtv:video, not mythtv. This causes the init script to execute successfully but without starting mythtv.