Debian /etc/network/interfaces not loading on boot (How to fix race condition) The Next CEO of Stack OverflowNetwork routing issues on LinuxSetting up Windows network on XenPort foreword + openVPN + iptables?Centos 6.2 Fresh 'Basic Server' install networking issuesKVM/Libvirt bridged/routed networking not working on newer guest kernelstunneling layer 2 sshtcpdump on bridge interface (virbr) does not receive any packets destined for one of its addressesHow to correctly set up routing on machine with 4 interfaces so that three of interfaces are on the same subnet?Shorewall reporting martiansLinux: Bridging two ethernet connections together to allow second host onto first network

Calculator final project in Python

Why does standard notation not preserve intervals (visually)

Is it possible to use a NPN BJT as switch, from single power source?

Proper way to express "He disappeared them"

Prepend last line of stdin to entire stdin

If the heap is zero-initialized for security, then why is the stack merely uninitialized?

Method for adding error messages to a dictionary given a key

How did people program for Consoles with multiple CPUs?

What does "Its cash flow is deeply negative" mean?

WOW air has ceased operation, can I get my tickets refunded?

What steps are necessary to read a Modern SSD in Medieval Europe?

Would a completely good Muggle be able to use a wand?

Running a General Election and the European Elections together

Is micro rebar a better way to reinforce concrete than rebar?

Should I tutor a student who I know has cheated on their homework?

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Why, when going from special to general relativity, do we just replace partial derivatives with covariant derivatives?

If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Defamation due to breach of confidentiality

Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?

Where do students learn to solve polynomial equations these days?

Is there a difference between "Fahrstuhl" and "Aufzug"



Debian /etc/network/interfaces not loading on boot (How to fix race condition)



The Next CEO of Stack OverflowNetwork routing issues on LinuxSetting up Windows network on XenPort foreword + openVPN + iptables?Centos 6.2 Fresh 'Basic Server' install networking issuesKVM/Libvirt bridged/routed networking not working on newer guest kernelstunneling layer 2 sshtcpdump on bridge interface (virbr) does not receive any packets destined for one of its addressesHow to correctly set up routing on machine with 4 interfaces so that three of interfaces are on the same subnet?Shorewall reporting martiansLinux: Bridging two ethernet connections together to allow second host onto first network










0















I had a server configuration that was working before, but recently I did an update and it seems to have broken things. I believe there were originally two issues, the first of which I've solved. I noticed when I was looking through systemctl status networking that a command I had never seen before was failing. I looked it up and it was from a package I've never seen before, ifupdown2. I installed it and that error resolved. I assume this was an unmarked dependency that was added because I never needed that package before.



Now when my server boots, the networking service runs successfully, but none of the networking configurations are set:



# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
#
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
inet6 fe80::21e:2aff:fec2:813/64 scope link
valid_lft forever preferred_lft forever
#
# ip route # This is not a copy-paste error, it actually just prints nothing
#
# journalctl -u networking
-- Logs begin at Thu 2019-03-28 15:17:47 CDT, end at Thu 2019-03-28 15:19:18 CDT. --
Mar 28 15:17:51 linux-01 systemd[1]: Starting ifupdown2 networking initialization...
Mar 28 15:17:51 linux-01 networking[572]: networking: Configuring network interfaces
Mar 28 15:17:54 linux-01 systemd[1]: Started ifupdown2 networking initialization.


This is my /etc/network/interfaces file:



# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp2s5
iface enp2s5 inet static
address 10.0.6.164/24
gateway 10.0.6.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8


The weird part is even though networking started successfully if I reload it everything works.



# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
#
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
inet 10.0.6.164/24 scope global enp2s5
valid_lft forever preferred_lft forever
inet6 fe80::21e:2aff:fec2:813/64 scope link
valid_lft forever preferred_lft forever
#
# ip route
default via 10.0.6.1 dev enp2s5
10.0.6.0/24 dev enp2s5 proto kernel scope link src 10.0.6.164


I think it may be a race condition based on this. I've capture 3 failures from journalctl and all of them contain something like this:



Mar 28 15:11:51 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link down
Mar 28 15:11:51 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link down
Mar 28 15:11:51 linux-01 kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s5: link is not ready
Mar 28 15:11:51 linux-01 systemd[1]: Started ifupdown2 networking initialization.
Mar 28 15:11:51 linux-01 systemd[1]: Reached target Network.
Mar 28 15:11:51 linux-01 systemd[1]: Starting Permit User Sessions...
Mar 28 15:11:51 linux-01 systemd[1]: Starting Fail2Ban Service...
...
Mar 28 15:11:54 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link up
Mar 28 15:11:54 linux-01 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp2s5: link becomes ready


It seems like the system is trying to load the network configuration before the device is ready, but I don't know how to make it wait until it is. Also, shouldn't allow-hotplug enp2s5 make the timing irrelevant?



Can anyone confirm my assessment of the problem and can anyone tell me how to make systemd wait until the device is ready?



Note: I don't have physical access to the server anymore and getting it is a massive pain. I'd prefer not to do any reboots until I'm 100% sure it will work.










share|improve this question






















  • I'm guessing adding auto enp2s5 to /etc/network/interfaces will fix this.

    – Mark Wagner
    yesterday
















0















I had a server configuration that was working before, but recently I did an update and it seems to have broken things. I believe there were originally two issues, the first of which I've solved. I noticed when I was looking through systemctl status networking that a command I had never seen before was failing. I looked it up and it was from a package I've never seen before, ifupdown2. I installed it and that error resolved. I assume this was an unmarked dependency that was added because I never needed that package before.



Now when my server boots, the networking service runs successfully, but none of the networking configurations are set:



# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
#
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
inet6 fe80::21e:2aff:fec2:813/64 scope link
valid_lft forever preferred_lft forever
#
# ip route # This is not a copy-paste error, it actually just prints nothing
#
# journalctl -u networking
-- Logs begin at Thu 2019-03-28 15:17:47 CDT, end at Thu 2019-03-28 15:19:18 CDT. --
Mar 28 15:17:51 linux-01 systemd[1]: Starting ifupdown2 networking initialization...
Mar 28 15:17:51 linux-01 networking[572]: networking: Configuring network interfaces
Mar 28 15:17:54 linux-01 systemd[1]: Started ifupdown2 networking initialization.


This is my /etc/network/interfaces file:



# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp2s5
iface enp2s5 inet static
address 10.0.6.164/24
gateway 10.0.6.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8


The weird part is even though networking started successfully if I reload it everything works.



# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
#
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
inet 10.0.6.164/24 scope global enp2s5
valid_lft forever preferred_lft forever
inet6 fe80::21e:2aff:fec2:813/64 scope link
valid_lft forever preferred_lft forever
#
# ip route
default via 10.0.6.1 dev enp2s5
10.0.6.0/24 dev enp2s5 proto kernel scope link src 10.0.6.164


I think it may be a race condition based on this. I've capture 3 failures from journalctl and all of them contain something like this:



Mar 28 15:11:51 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link down
Mar 28 15:11:51 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link down
Mar 28 15:11:51 linux-01 kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s5: link is not ready
Mar 28 15:11:51 linux-01 systemd[1]: Started ifupdown2 networking initialization.
Mar 28 15:11:51 linux-01 systemd[1]: Reached target Network.
Mar 28 15:11:51 linux-01 systemd[1]: Starting Permit User Sessions...
Mar 28 15:11:51 linux-01 systemd[1]: Starting Fail2Ban Service...
...
Mar 28 15:11:54 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link up
Mar 28 15:11:54 linux-01 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp2s5: link becomes ready


It seems like the system is trying to load the network configuration before the device is ready, but I don't know how to make it wait until it is. Also, shouldn't allow-hotplug enp2s5 make the timing irrelevant?



Can anyone confirm my assessment of the problem and can anyone tell me how to make systemd wait until the device is ready?



Note: I don't have physical access to the server anymore and getting it is a massive pain. I'd prefer not to do any reboots until I'm 100% sure it will work.










share|improve this question






















  • I'm guessing adding auto enp2s5 to /etc/network/interfaces will fix this.

    – Mark Wagner
    yesterday














0












0








0








I had a server configuration that was working before, but recently I did an update and it seems to have broken things. I believe there were originally two issues, the first of which I've solved. I noticed when I was looking through systemctl status networking that a command I had never seen before was failing. I looked it up and it was from a package I've never seen before, ifupdown2. I installed it and that error resolved. I assume this was an unmarked dependency that was added because I never needed that package before.



Now when my server boots, the networking service runs successfully, but none of the networking configurations are set:



# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
#
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
inet6 fe80::21e:2aff:fec2:813/64 scope link
valid_lft forever preferred_lft forever
#
# ip route # This is not a copy-paste error, it actually just prints nothing
#
# journalctl -u networking
-- Logs begin at Thu 2019-03-28 15:17:47 CDT, end at Thu 2019-03-28 15:19:18 CDT. --
Mar 28 15:17:51 linux-01 systemd[1]: Starting ifupdown2 networking initialization...
Mar 28 15:17:51 linux-01 networking[572]: networking: Configuring network interfaces
Mar 28 15:17:54 linux-01 systemd[1]: Started ifupdown2 networking initialization.


This is my /etc/network/interfaces file:



# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp2s5
iface enp2s5 inet static
address 10.0.6.164/24
gateway 10.0.6.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8


The weird part is even though networking started successfully if I reload it everything works.



# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
#
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
inet 10.0.6.164/24 scope global enp2s5
valid_lft forever preferred_lft forever
inet6 fe80::21e:2aff:fec2:813/64 scope link
valid_lft forever preferred_lft forever
#
# ip route
default via 10.0.6.1 dev enp2s5
10.0.6.0/24 dev enp2s5 proto kernel scope link src 10.0.6.164


I think it may be a race condition based on this. I've capture 3 failures from journalctl and all of them contain something like this:



Mar 28 15:11:51 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link down
Mar 28 15:11:51 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link down
Mar 28 15:11:51 linux-01 kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s5: link is not ready
Mar 28 15:11:51 linux-01 systemd[1]: Started ifupdown2 networking initialization.
Mar 28 15:11:51 linux-01 systemd[1]: Reached target Network.
Mar 28 15:11:51 linux-01 systemd[1]: Starting Permit User Sessions...
Mar 28 15:11:51 linux-01 systemd[1]: Starting Fail2Ban Service...
...
Mar 28 15:11:54 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link up
Mar 28 15:11:54 linux-01 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp2s5: link becomes ready


It seems like the system is trying to load the network configuration before the device is ready, but I don't know how to make it wait until it is. Also, shouldn't allow-hotplug enp2s5 make the timing irrelevant?



Can anyone confirm my assessment of the problem and can anyone tell me how to make systemd wait until the device is ready?



Note: I don't have physical access to the server anymore and getting it is a massive pain. I'd prefer not to do any reboots until I'm 100% sure it will work.










share|improve this question














I had a server configuration that was working before, but recently I did an update and it seems to have broken things. I believe there were originally two issues, the first of which I've solved. I noticed when I was looking through systemctl status networking that a command I had never seen before was failing. I looked it up and it was from a package I've never seen before, ifupdown2. I installed it and that error resolved. I assume this was an unmarked dependency that was added because I never needed that package before.



Now when my server boots, the networking service runs successfully, but none of the networking configurations are set:



# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
#
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
inet6 fe80::21e:2aff:fec2:813/64 scope link
valid_lft forever preferred_lft forever
#
# ip route # This is not a copy-paste error, it actually just prints nothing
#
# journalctl -u networking
-- Logs begin at Thu 2019-03-28 15:17:47 CDT, end at Thu 2019-03-28 15:19:18 CDT. --
Mar 28 15:17:51 linux-01 systemd[1]: Starting ifupdown2 networking initialization...
Mar 28 15:17:51 linux-01 networking[572]: networking: Configuring network interfaces
Mar 28 15:17:54 linux-01 systemd[1]: Started ifupdown2 networking initialization.


This is my /etc/network/interfaces file:



# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp2s5
iface enp2s5 inet static
address 10.0.6.164/24
gateway 10.0.6.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8


The weird part is even though networking started successfully if I reload it everything works.



# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
#
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:2a:c2:08:13 brd ff:ff:ff:ff:ff:ff
inet 10.0.6.164/24 scope global enp2s5
valid_lft forever preferred_lft forever
inet6 fe80::21e:2aff:fec2:813/64 scope link
valid_lft forever preferred_lft forever
#
# ip route
default via 10.0.6.1 dev enp2s5
10.0.6.0/24 dev enp2s5 proto kernel scope link src 10.0.6.164


I think it may be a race condition based on this. I've capture 3 failures from journalctl and all of them contain something like this:



Mar 28 15:11:51 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link down
Mar 28 15:11:51 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link down
Mar 28 15:11:51 linux-01 kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s5: link is not ready
Mar 28 15:11:51 linux-01 systemd[1]: Started ifupdown2 networking initialization.
Mar 28 15:11:51 linux-01 systemd[1]: Reached target Network.
Mar 28 15:11:51 linux-01 systemd[1]: Starting Permit User Sessions...
Mar 28 15:11:51 linux-01 systemd[1]: Starting Fail2Ban Service...
...
Mar 28 15:11:54 linux-01 kernel: r8169 0000:02:05.0 enp2s5: link up
Mar 28 15:11:54 linux-01 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp2s5: link becomes ready


It seems like the system is trying to load the network configuration before the device is ready, but I don't know how to make it wait until it is. Also, shouldn't allow-hotplug enp2s5 make the timing irrelevant?



Can anyone confirm my assessment of the problem and can anyone tell me how to make systemd wait until the device is ready?



Note: I don't have physical access to the server anymore and getting it is a massive pain. I'd prefer not to do any reboots until I'm 100% sure it will work.







networking debian boot systemd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









user2752635user2752635

1203




1203












  • I'm guessing adding auto enp2s5 to /etc/network/interfaces will fix this.

    – Mark Wagner
    yesterday


















  • I'm guessing adding auto enp2s5 to /etc/network/interfaces will fix this.

    – Mark Wagner
    yesterday

















I'm guessing adding auto enp2s5 to /etc/network/interfaces will fix this.

– Mark Wagner
yesterday






I'm guessing adding auto enp2s5 to /etc/network/interfaces will fix this.

– Mark Wagner
yesterday











0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960653%2fdebian-etc-network-interfaces-not-loading-on-boot-how-to-fix-race-condition%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960653%2fdebian-etc-network-interfaces-not-loading-on-boot-how-to-fix-race-condition%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070