You are not logged in.
Hello, archers!
I have strange problem causing netctl to hangs at "netctl start profilename".
I've created profile named "vlan-2500" (/etc/netctl/vlan-2500):
Description='Virtual LAN 2205 on interface eth0'
Interface=eth0.2500
Connection=vlan
# The variable name is plural, but needs precisely one interface
BindsToInterfaces=eth0
VLANID=2500
IP=static
Address="172.28.111.15/24"
Gateway="172.28.111.1"
So, when I try to start it profile, it cause netctl to hang. Here is a process list:
21 ? Ss 0:00 /usr/sbin/sshd -D
29 ? Ss 0:00 \_ sshd: root@pts/0,pts/1
31 pts/0 Ss 0:00 \_ -bash
4464 pts/0 R+ 0:00 | \_ ps axf
57 pts/1 Ss 0:00 \_ -bash
4457 pts/1 S+ 0:00 \_ /bin/bash /usr/bin/netctl start vlan-2500
4461 pts/1 S+ 0:00 \_ systemctl start netctl@vlan\x2d2500.service
4462 pts/1 S+ 0:00 \_ /usr/bin/systemd-tty-ask-password-agent --watch
I suggest that "systemd-tty-ask-password-agent --watch" is indefinitely waiting something.
When I add interface manually through "/sbin/ip" everything works fine.
Some time ago I've countered same issue, but when configuring tuntap interface through netctl.
Any ideas how to get this profile to work?
Thanks for attention.
Offline
Major point: I'm trying this configuration under LXC (however, tuntap issue is still here on native Arch).
Further investigations results in following.
# systemctl show netctl@vlan\\x2d2500 | grep BindsTo
BindsTo=sys-subsystem-net-devices-eth0.device
# systemctl status sys-subsystem-net-devices-eth0.device
sys-subsystem-net-devices-eth0.device
Loaded: loaded
Active: inactive (dead)
Sep 09 11:11:08 git.rn systemd[1]: Expecting device sys-subsystem-net-devices-eth0.device...
Sep 09 11:12:38 git.rn systemd[1]: Job sys-subsystem-net-devices-eth0.device/start timed out.
Sep 09 11:12:38 git.rn systemd[1]: Timed out waiting for device sys-subsystem-net-devices-eth0.device.
Sep 09 11:14:44 git.rn systemd[1]: Expecting device sys-subsystem-net-devices-eth0.device...
Sep 09 11:16:14 git.rn systemd[1]: Job sys-subsystem-net-devices-eth0.device/start timed out.
Sep 09 11:16:14 git.rn systemd[1]: Timed out waiting for device sys-subsystem-net-devices-eth0.device.
Sep 09 11:20:48 git.rn systemd[1]: Stopped sys-subsystem-net-devices-eth0.device.
So, systemd under LXC does not see eth0 interface. Is there a way to fix it?
Offline