[arch-general] netctl hangs after last update
Hello, after the update yesterday (see pacman log at the end of the e-mail), netctl hangs when I try to start my network connection with the error message:
A dependency job for netctl@conn1.service failed. See 'journalctl -xn' for details. The hanging sub-process of netctl seems to be /usr/bin/systemd-tty-ask-password-agent --watch.
In my syslog are the following lines:
[19:42:09] info daemon systemd Expecting device sys-subsystem- net-devices-eth0.device... [19:43:39] warning daemon systemd Job sys-subsystem-net-devices- eth0.device/start timed out. [19:43:39] err daemon systemd Timed out waiting for device sys-subsystem-net-devices-eth0.device. [19:43:39] err daemon systemd Dependency failed for The main network connection.
My netctl profile is the following:
Description='The main network connection' Interface=ens3 Connection=ethernet IP=static Address=('xx.xx.xx.xx/22') Gateway='xx.xx.xx.xx' DNS=('xx.xx.xx.xx' 'xx.xx.xx.xx') IP6=static Address6=('xxxx:xxxx:xxxx:xxxx::1/64') Gateway6='fe80::1'
My network interfaces: # ifconfig -a ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet xx.xx.xx.xx netmask 255.255.252.0 broadcast xx.xx.xx.xx inet6 xxxx::xxxx:xxxx:xxxx:xxxx prefixlen 64 scopeid 0x20<link> ether 52:54:63:06:b9:80 txqueuelen 1000 (Ethernet) RX packets 8523282 bytes 514974023 (491.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 128762 bytes 22725577 (21.6 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 4277680 bytes 330093367 (314.8 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 4277680 bytes 330093367 (314.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 If I set my ip, subnet, gateway, ... manually with ifconfig, route & so on, everything works fine. Does anybody have an idea what I can do to fix this problem? Regards, Robert. Pacman log: [2014-03-09 17:14] [PACMAN] starting full system upgrade [2014-03-09 17:14] [PACMAN] upgraded chrpath (0.13-3 -> 0.16-1) [2014-03-09 17:14] [PACMAN] upgraded file (5.17-1 -> 5.17-2) [2014-03-09 17:14] [PACMAN] upgraded gnutls (3.2.12-1 -> 3.2.12.1-1) [2014-03-09 17:14] [PACMAN] upgraded gptfdisk (0.8.9-1 -> 0.8.10-1) [2014-03-09 17:14] [PACMAN] upgraded libarchive (3.1.2-4 -> 3.1.2-6) [2014-03-09 17:14] [PACMAN] upgraded libnl (3.2.23-1 -> 3.2.24-1) [2014-03-09 17:14] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ... [2014-03-09 17:14] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait... [2014-03-09 17:14] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default' [2014-03-09 17:14] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img [2014-03-09 17:14] [ALPM-SCRIPTLET] ==> Starting build: 3.13.6-1-ARCH [2014-03-09 17:14] [ALPM-SCRIPTLET] -> Running build hook: [base] [2014-03-09 17:14] [ALPM-SCRIPTLET] -> Running build hook: [udev] [2014-03-09 17:14] [ALPM-SCRIPTLET] -> Running build hook: [autodetect] [2014-03-09 17:14] [ALPM-SCRIPTLET] -> Running build hook: [modconf] [2014-03-09 17:14] [ALPM-SCRIPTLET] -> Running build hook: [block] [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [filesystems] [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [keyboard] [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [fsck] [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> Generating module dependencies [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> Image generation successful [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback' [2014-03-09 17:15] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> Starting build: 3.13.6-1-ARCH [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [base] [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [udev] [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [modconf] [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [block] [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [filesystems] [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [keyboard] [2014-03-09 17:15] [ALPM-SCRIPTLET] -> Running build hook: [fsck] [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> Generating module dependencies [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img [2014-03-09 17:15] [ALPM-SCRIPTLET] ==> Image generation successful [2014-03-09 17:15] [PACMAN] upgraded linux (3.13.5-1 -> 3.13.6-1) [2014-03-09 17:15] [ALPM] warning: /etc/php/php.ini installed as /etc/php/php.ini.pacnew [2014-03-09 17:15] [PACMAN] upgraded php (5.5.9-1 -> 5.5.10-1) [2014-03-09 17:15] [PACMAN] upgraded php-gd (5.5.9-1 -> 5.5.10-1) [2014-03-09 17:15] [PACMAN] upgraded php-intl (5.5.9-1 -> 5.5.10-1) [2014-03-09 17:15] [PACMAN] upgraded owncloud (6.0.1-1 -> 6.0.2-1) [2014-03-09 17:15] [PACMAN] upgraded php-cgi (5.5.9-1 -> 5.5.10-1) [2014-03-09 17:15] [PACMAN] upgraded php-mcrypt (5.5.9-1 -> 5.5.10-1) [2014-03-09 17:15] [PACMAN] upgraded phpmyadmin (4.1.8-1 -> 4.1.9-1) [2014-03-09 17:15] [PACMAN] upgraded s-nail (14.6.1-1 -> 14.6.2-1) [2014-03-09 17:15] [PACMAN] installed libseccomp (2.1.1-1) [2014-03-09 17:15] [ALPM-SCRIPTLET] :: systemd has not been reexecuted. It is recommended that you [2014-03-09 17:15] [ALPM-SCRIPTLET] reboot at your earliest convenience. [2014-03-09 17:15] [ALPM-SCRIPTLET] :: Network device naming is now controlled by udev's net_setup_link [2014-03-09 17:15] [ALPM-SCRIPTLET] builtin. Refer to the NETWORK LINK CONFIGURATION section of the [2014-03-09 17:15] [ALPM-SCRIPTLET] udev manpage for a full description. [2014-03-09 17:15] [ALPM-SCRIPTLET] :: No changes have been made to your network naming configuration. [2014-03-09 17:15] [ALPM-SCRIPTLET] Interfaces should continue to maintain the same names. [2014-03-09 17:15] [PACMAN] upgraded systemd (208-11 -> 210-3)
On Mon, 10 Mar 2014 19:54:56 +0100 Robert Knauer <robert@capsaicin-dev.de> wrote:
Hello, after the update yesterday (see pacman log at the end of the e-mail), netctl hangs when I try to start my network connection with the error message:
A dependency job for netctl@conn1.service failed. See 'journalctl -xn' for details. The hanging sub-process of netctl seems to be /usr/bin/systemd-tty-ask-password-agent --watch.
AFAIK, netctl doesn't call this.
In my syslog are the following lines:
[19:42:09] info daemon systemd Expecting device sys-subsystem- net-devices-eth0.device... [19:43:39] warning daemon systemd Job sys-subsystem-net-devices- eth0.device/start timed out. [19:43:39] err daemon systemd Timed out waiting for device sys-subsystem-net-devices-eth0.device. [19:43:39] err daemon systemd Dependency failed for The main network connection.
So, what exactly is your question? Systemd looks and doesn't find eth0, which is correct since your interface is ens3. In your /etc/systemd/system there should be a .service file which netctl created when you enabled the profile. I bet that unit is the culprit.
My netctl profile is the following:
Description='The main network connection' Interface=ens3 Connection=ethernet IP=static Address=('xx.xx.xx.xx/22') Gateway='xx.xx.xx.xx' DNS=('xx.xx.xx.xx' 'xx.xx.xx.xx') IP6=static Address6=('xxxx:xxxx:xxxx:xxxx::1/64') Gateway6='fe80::1'
My network interfaces: # ifconfig -a ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet xx.xx.xx.xx netmask 255.255.252.0 broadcast xx.xx.xx.xx
Just FYI, hiding IP and MAC addresses is kinda silly... Cheers, -- Leonid Isaev GPG key fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
participants (2)
-
Leonid Isaev
-
Robert Knauer