<p dir="ltr">Greetings Hika,</p>
<p dir="ltr">Indeed systemd does replace udev. I haven't yet had many problems with it, as its been integrated for a year now or so in Sabayon, the binary Gentoo-derived distro that has saved me hours of compiling while retaining the customizability and feel I've loved with Gentoo for many years.</p>
<p dir="ltr">You can disable predictable naming of you desire, by adding</p>
<p dir="ltr">net.ifnames=0 biosdevname=0</p>
<p dir="ltr">To the list of kernel command line options in your boot loader (grub, etc) config.</p>
<div class="gmail_quote">On Jan 25, 2015 4:57 PM, "Hika van den Hoven" <<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hoi Justin,<br>
<br>
Monday, January 26, 2015, 12:32:06 AM, you wrote:<br>
<br>
> I seem to run into a fun interplay between Fedora, my Ceton InfiniTV card,<br>
> systemd, and my mythbackend (which handle two remote frontends).<br>
<br>
> 1. The system boots.<br>
> 2. The ceton driver loads, and for some reason systemd promptly renames<br>
> this to network interface p5p1.<br>
> 3. In the meantime, my actual ethernet interface (p5p2) is busy waiting on<br>
> a response from my DHCP server.<br>
> 4. Systemd loads mythbackend, which currently depends on<br>
> network-online.target.<br>
> 5. Because network interface p5p1 is up and running and has an IP address<br>
> then YAY, as far as system is concerned the network is online. Mythbackend<br>
> is a go to start.<br>
> 6. Mythbackend starts, but doesn't actually listen on the not-yet-available<br>
> ethernet connection to the outside world (p5p2).<br>
> 7. At some point in the future, the DHCP server gets back to the backend<br>
> and gives it a configuration for p5p2, meaning it can talk to the outside<br>
> world. However it's too late for mythbackend to listen on this interface,<br>
> and is not reachable from any of the remote frontends.<br>
<br>
> This happens predictably and repeatably. I have no idea why systemd feels<br>
> compelled to rename ctn0 to p5p1, or how to convince network manager that<br>
> even though p5p1 looks and feels like a connection to the outside world,<br>
> it's not. I already have mythbackend.service configured as starting<br>
> "After=network-online.service" but clearly that's not enough.<br>
<br>
> Google searches for "systemd network interface naming" and umpteen<br>
> varieties of that only gives results talking about the wonderful new<br>
> feature of systemd that will bring predictable network interface naming to<br>
> Linux.<br>
<br>
> First off, has anyone else seen this behavior?<br>
<br>
> Secondly, does anyone have any suggestions on the right approach? Should I<br>
> tweak systemd to not rename the interface? Should I try and get network<br>
> manager to understand that p5p1 (or ctn0) is not actually a useful network<br>
> interface? Should I just kludge it and put "sleep 10" before the<br>
> mythbackend starts?<br>
<br>
> Thanks,<br>
> -jdm<br>
<br>
A temporary workaround could be to put all processes needing network<br>
on a 2? second wait-loop before starting up. Hopefully that would let<br>
them get the right interface. Am I correct that systemd doesn't use<br>
udev, but its own variant? Because that's where I would look.<br>
Furthermore, I keep far from systemd for it's to inaccessible for<br>
troubleshooting and I have heard and experienced to many things like<br>
you name. I guess it needs another 5 years to mature.<br>
<br>
Tot mails,<br>
Hika mailto:<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a><br>
<br>
"Zonder hoop kun je niet leven<br>
Zonder leven is er geen hoop<br>
Het eeuwige dilemma<br>
Zeker als je hoop moet vernietigen om te kunnen overleven!"<br>
<br>
De lerende Mens<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>