← Back to team overview

touch-packages team mailing list archive

[Bug 1420601] Re: Systemd_218-6ubuntu1 and later cannot connect to network except via USB

 

I got this result from your commands, more details in the next comment
with journalctl lines relevant to this:

sudo systemctl status  network-pre.target networking.service network.target ifup@eth0.service
● network-pre.target - Network (Pre)
   Loaded: loaded (/lib/systemd/system/network-pre.target; static; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:systemd.special(7)
           http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget

● networking.service - LSB: Raise network interfaces.
   Loaded: loaded (/etc/init.d/networking)
  Drop-In: /run/systemd/generator/networking.service.d
           └─50-insserv.conf-$network.conf
        /lib/systemd/system/networking.service.d
           └─network-pre.conf
   Active: active (exited) since Wed 2015-02-11 13:26:25 EST; 55s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1214 ExecStart=/etc/init.d/networking start (code=exited, status=0/SUCCESS)

Feb 11 13:26:25 ubuntu networking[1214]: * Configuring network interfaces...
Feb 11 13:26:25 ubuntu networking[1214]: /etc/resolvconf/update.d/libc: Warn...f
Feb 11 13:26:25 ubuntu networking[1214]: ...done.

● network.target - Network
   Loaded: loaded (/lib/systemd/system/network.target; static; vendor preset: enabled)
   Active: active since Wed 2015-02-11 13:26:26 EST; 54s ago
     Docs: man:systemd.special(7)
           http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget

● ifup@eth0.service - ifup for eth0
   Loaded: loaded (/lib/systemd/system/ifup@.service; static; vendor preset: enabled)
   Active: inactive (dead)

Feb 11 13:27:21 ubuntu systemd[1]: [/lib/systemd/system/ifup@.service:14] T...g.
Hint: Some lines were ellipsized, use -l to show in full.
luke@ubuntu:~$ sudo systemctl status -l  network-pre.target networking.service network.target ifup@eth0.service
● network-pre.target - Network (Pre)
   Loaded: loaded (/lib/systemd/system/network-pre.target; static; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:systemd.special(7)
           http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget

● networking.service - LSB: Raise network interfaces.
   Loaded: loaded (/etc/init.d/networking)
  Drop-In: /run/systemd/generator/networking.service.d
           └─50-insserv.conf-$network.conf
        /lib/systemd/system/networking.service.d
           └─network-pre.conf
   Active: active (exited) since Wed 2015-02-11 13:26:25 EST; 1min 35s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1214 ExecStart=/etc/init.d/networking start (code=exited, status=0/SUCCESS)

Feb 11 13:26:25 ubuntu networking[1214]: * Configuring network interfaces...
Feb 11 13:26:25 ubuntu networking[1214]: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf
Feb 11 13:26:25 ubuntu networking[1214]: ...done.

● network.target - Network
   Loaded: loaded (/lib/systemd/system/network.target; static; vendor preset: enabled)
   Active: active since Wed 2015-02-11 13:26:26 EST; 1min 35s ago
     Docs: man:systemd.special(7)
           http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget

● ifup@eth0.service - ifup for eth0
   Loaded: loaded (/lib/systemd/system/ifup@.service; static; vendor preset: enabled)
   Active: inactive (dead)

Feb 11 13:27:21 ubuntu systemd[1]: [/lib/systemd/system/ifup@.service:14] Trailing garbage, ignoring.
Feb 11 13:28:01 ubuntu systemd[1]: [/lib/systemd/system/ifup@.service:14] Trailing garbage, ignoring.
luke@ubuntu:~$ sudo systemctl status   network-pre.target networking.service network.target ifup@eth0.service
● network-pre.target - Network (Pre)
   Loaded: loaded (/lib/systemd/system/network-pre.target; static; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:systemd.special(7)
           http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget

● networking.service - LSB: Raise network interfaces.
   Loaded: loaded (/etc/init.d/networking)
  Drop-In: /run/systemd/generator/networking.service.d
           └─50-insserv.conf-$network.conf
        /lib/systemd/system/networking.service.d
           └─network-pre.conf
   Active: active (exited) since Wed 2015-02-11 13:26:25 EST; 1min 47s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1214 ExecStart=/etc/init.d/networking start (code=exited, status=0/SUCCESS)

Feb 11 13:26:25 ubuntu networking[1214]: * Configuring network interfaces...
Feb 11 13:26:25 ubuntu networking[1214]: /etc/resolvconf/update.d/libc: Warning: /etc/res...onf
Feb 11 13:26:25 ubuntu networking[1214]: ...done.

● network.target - Network
   Loaded: loaded (/lib/systemd/system/network.target; static; vendor preset: enabled)
   Active: active since Wed 2015-02-11 13:26:26 EST; 1min 46s ago
     Docs: man:systemd.special(7)
           http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget

● ifup@eth0.service - ifup for eth0
   Loaded: loaded (/lib/systemd/system/ifup@.service; static; vendor preset: enabled)
   Active: inactive (dead)

Feb 11 13:27:21 ubuntu systemd[1]: [/lib/systemd/system/ifup@.service:14] Trailing garbag...ng.
Feb 11 13:28:01 ubuntu systemd[1]: [/lib/systemd/system/ifup@.service:14] Trailing garbag...ng.
Feb 11 13:28:13 ubuntu systemd[1]: [/lib/systemd/system/ifup@.service:14] Trailing garbag...ng.
Hint: Some lines were ellipsized, use -l to show in full.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1420601

Title:
  Systemd_218-6ubuntu1 and later cannot connect to network except via
  USB

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  
  systemd_218-6ubuntu1_amd64.deb   and later work ONLY with USB networking devices when booted from Dracut. Dracut network module is NOT in use, and binaries needed to connect to the network do not appear in my initramfs, yet systemd version loaded from it determines whether or not network can be connected. With an AMD Athlon II x4 machined and a Gigabyte AMD motherboard (785 series I think), I get the systemd networking unit entering a failed state, and the wired network cannot be turned on. On an Intel Atom Pine Trail netbook the wireless attempt to connect to the network but hangs on requesting an IP address from the router, never completing. Rolling back systemd to systemd_218-5ubuntu2_amd64.deb always fixes this and brings back normal network connectivity.  Finally, an AMD bulldozer machine connected by a USB wifi device has no trouble at all with the newer builds of systemd.

  systemd_218-5ubuntu2_amd64.deb , which came out Jan 23, seems to be
  the last good version. Same upstream version of systemd, apparently
  just build-time changes caused this.

  I'm not sure if this bug will appear with a normal Ubuntu initramfs-
  tools initramfs (I use Dracut with systemd in the initramfs), but I
  bring this up because my /boot partition is not normally mounted (so
  as not to corrupt a monitored hash value) and which version of systemd
  is in the initramfs, not the version on disk, determines whether or
  not networking functions on my machines.  I do understand my setup has
  diverged a lot from normal Ubuntu, someone should see if this problem
  exists in a normal Ubuntu install. If not I will need to find out what
  changed(possibly a udev rule?) and revert it myself in all later
  versions.

  I've been using systemd with dracut/systemd in the initramfs since
  last May, I now rely on it to run a parallelized version of my multi-
  encrypted disk unlocking program and am not about to revert it.
  Initramfs-tools seems to be unable to cope with multiple asynchrounous
  instances of cryptsetup, while dracut/systemd handles it just fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1420601/+subscriptions


References