Bug 3482

Summary: mythbackend.service must depend on network-online.target
Product: Fedora Reporter: Stefan Becker <chemobejk>
Component: mythtvAssignee: Richard <hobbes1069>
Status: RESOLVED FIXED    
Severity: normal CC: jarod
Priority: P5    
Version: 21   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Stefan Becker 2015-01-02 12:52:50 CET
mythbackend tries to bind its ports to a valid IP address during startup. If it can't find a valid IP address it falls back to loopback IP. While this ensures operation of mythbackend & recording, all other services, like frontend, mythweb and remote access will fail.

The fix is to simply move from network.target to network-online.target in the systemd configuration file, i.e.

   After=network-online.target mariadb.service mysqld.service time-sync.target

NOTE: network-online.target might be new for F21, hence the fix should be F21+
Comment 1 Richard 2015-01-02 16:30:05 CET
Sounds reasonable. 

The network-online target does not seem to be available for F20 but I'm trying it on my F20 mythbox anyway to make sure it doesn't cause problems.  I'm not sure that it will care about a missing target in "After=" and I would rather have one service file than multiple that need conditionals to know which to install.
Comment 2 Richard 2015-01-04 23:33:29 CET
Ok, rawhide/f21 build is complete and F21/19 are building.

Thanks!