Comment 4 for bug 194085

Revision history for this message
ullix (ullix) wrote :

I forgot to state: I am using the Kubuntu desktop.

I have no idea what EIT is, and there is no device of this name or a similar one under /dev there is no group with even a faint similarity to EIT. I also verified that the mythtv user can write to the recording location.

There is more strange stuff: The mythtv user and group exist only as system user:group(112:120), and the user had been inactivated (must have come from installation default since I never touched that), although a home directory for mythtv had been created under /home. I activated user mythtv, and went through the same tests again --> Identical behaviour as originally reported.

I rebooted the computer and started the main user session with no myth-anything running. Then I started a new parallel session as user mythtv and started "mythbackend" in the konsole. No error message, and basically same output to the konsole as shown in a previous posting. But when trying live TV the "all inputs taken ..." message came up. Switching over to the other session with the main user resulted in the same failure.

However, starting "mythbackend" in the konsole in the main user session allowed both the main user and mythtv user to watch live TV in their respective sessions!

Then from the main user (mythtv user has no admin rights) I killed mythbackend and started it with "sudo /etc/init.d/mythtv-backend start" : both main user and mythtv user received the error message of "all inputs taken...".

More odd behaviour:
when mythbackend was started in the konsole, then attempting to stop it via "sudo /etc/init.d/mythtv-backend stop" yields the message "Stopping MythTV server: mythbackend No /usr/bin/mythbackend found running; none killed." and mythbackend remains running.
When following with command "sudo /etc/init.d/mythtv-backend start" the script pretends to start mythbackend, but the PID of mythbackend is left unchanged. But when the same command is issued again, then it returns the message "mythbackend already running, use restart instead."

Are the mythtv scripts in init.d not actually testing the running status but maintaining flags somewhere? Are similar flags also the reason for the "all inputs taken..." errors?