[mythtv-users] frontend fails

Peter Bennett pgbennett at comcast.net
Fri Feb 24 15:29:09 UTC 2017



On 02/24/2017 10:07 AM, Mike Bibbings wrote:
> Don.t know if a ticket has been raised, but this problem has been 
> discussed in a number of threads and on mythtv forum, it is related to 
> Systemd starting a whole lot of things in parallel on 16.04 systems, 
> and mythtv-backend.service file not having  "wait for network... ".  I 
> have done the following (based on thread discussions) :
>
> To make sure backend start after network is properly configured:
> In a terminal on the machine running mythtv backend:
>
> sudo systemctl enable NetworkManager-wait-online.service
> sudo systemctl edit mythtv-backend.service
>
> Then paste the following 2 lines
> [Unit]
> After=NetworkManager-wait-online.service
>
> Then exit from the edit screen (it uses nano by default, so Ctrl+x, 
> then y, then Return key)
>
> Now reboot the system (sudo reboot)
>
> In the past I have reproduced the problem by having the mythbackend 
> machine get its IP address from the Router  (this is slower than 
> configuring the mythbackend machine IP address in say 
> /etc/network/interfaces). Mythbuntu 16.04 was installed on an SSD so 
> it starts much faster than spinning disks.
>
> Mike
>

For the next version (29) I am building code in mythfrontend to wait for 
the network during startup. It looks like it would be useful to have it 
for backend startup also.

Peter


More information about the mythtv-users mailing list