On Sat, Dec 03, 2016 at 05:34:13PM +0000, Jonathan de Boyne Pollard wrote:
> Anonymous:
> >The error message:"A start job is running for LSB: Raise 
> >network interface (xx sec/no limit)". Where xx is a count up in 
> >seconds that never ends.
> 
> Greg Wooledge:
> >"LSB" stands for Linux Standard Base [...] I don't know what LSB has 
> >to do with Debian's boot process waiting for the network interfaces to 
> >be configured before proceeding.
> 
> The systemd doco doesn't cover it.  Here you go:
> 
> * http://unix.stackexchange.com/a/233581/5132
> 
> * http://unix.stackexchange.com/a/326354/5132
> 
> So xe has an old van Smoorenburg rc script whose description is "Raise 
> network interface", and that old rc script not completing its work is 
> the problem.

Neither of those links talks about jessie's specific default script that
waits for network interfaces to start.  (Which I also have on my system.)
Neither do they mention this "van Smoorenburg".

So anyway, here's what I have.  This is all default jessie stuff, either
native jessie install, or an upgrade from a previous version of Debian,
I have no idea which:

wooledg@wooledg:~$ sudo grep -r -i 'raise network' /etc
[sudo] password for wooledg: 
/etc/init.d/networking:# Short-Description: Raise network interfaces.
/etc/init.d/networking:# Description:       Prepare /run/network directory, 
ifstate file and raise network interfaces, or take them down.

wooledg@wooledg:~$ less /etc/init.d/networking
#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          networking ifupdown
# Required-Start:    mountkernfs $local_fs urandom
# Required-Stop:     $local_fs
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Raise network interfaces.
# Description:       Prepare /run/network directory, ifstate file and raise netw
ork interfaces, or take them down.
### END INIT INFO
[...]

P.S.: no "van Smoorenburg" in the script itself either.

wooledg@wooledg:~$ sudo journalctl
[...]
Dec 05 03:31:18 wooledg systemd[1]: Starting Remote File Systems.
Dec 05 03:31:18 wooledg systemd[1]: Reached target Remote File Systems.
Dec 05 03:31:18 wooledg systemd[1]: Starting Trigger Flushing of Journal to Pers
Dec 05 03:31:18 wooledg systemd[1]: Starting LSB: Prepare console...
Dec 05 03:31:18 wooledg systemd[1]: Started Load/Save Random Seed.
Dec 05 03:31:18 wooledg systemd[1]: Starting LSB: Raise network interfaces....
Dec 05 03:31:19 wooledg kernel: kvm: disabled by bios
Dec 05 03:31:19 wooledg kernel: kvm: disabled by bios
Dec 05 03:31:19 wooledg kernel: kvm: disabled by bios
Dec 05 03:31:19 wooledg kernel: kvm: disabled by bios
Dec 05 03:31:19 wooledg kbd[364]: Setting console screen modes.
Dec 05 03:31:19 wooledg systemd-journal[200]: Runtime journal is using 8.0M (max
Dec 05 03:31:19 wooledg systemd[1]: Started Trigger Flushing of Journal to Persi
Dec 05 03:31:19 wooledg kernel: intel_rapl: Found RAPL domain package
Dec 05 03:31:19 wooledg kernel: intel_rapl: Found RAPL domain core
Dec 05 03:31:19 wooledg kernel: intel_rapl: Found RAPL domain uncore
Dec 05 03:31:19 wooledg kernel: intel_rapl: RAPL package 0 domain package locked
Dec 05 03:31:19 wooledg systemd[1]: Started Create Volatile Files and Directorie
Dec 05 03:31:19 wooledg systemd[1]: Starting Update UTMP about System Boot/Shutd
Dec 05 03:31:19 wooledg systemd[1]: Found device WDC_WD2500AAKX-60U6AA0 3.
Dec 05 03:31:19 wooledg systemd[1]: Activating swap /dev/disk/by-uuid/b8d67062-8
Dec 05 03:31:19 wooledg kernel: Adding 4939772k swap on /dev/sda3.  Priority:-1 
Dec 05 03:31:19 wooledg systemd[1]: Activated swap /dev/disk/by-uuid/b8d67062-82
[...]
Dec 05 03:31:28 wooledg networking[373]: DHCPOFFER from 10.76.172.3
Dec 05 03:31:28 wooledg dhclient[514]: DHCPACK from 10.76.172.3
Dec 05 03:31:28 wooledg networking[373]: DHCPACK from 10.76.172.3
Dec 05 03:31:28 wooledg networking[373]: Failed to reload smbd.service: sysinit.
Dec 05 03:31:28 wooledg networking[373]: invoke-rc.d: initscript smbd, action "r
Dec 05 03:31:28 wooledg dhclient[514]: bound to 10.76.172.109 -- renewal in 1082
Dec 05 03:31:28 wooledg networking[373]: bound to 10.76.172.109 -- renewal in 10
Dec 05 03:31:29 wooledg networking[373]: done.
Dec 05 03:31:29 wooledg systemd[1]: Started LSB: Raise network interfaces..
Dec 05 03:31:29 wooledg systemd[1]: Starting Network.
Dec 05 03:31:29 wooledg systemd[1]: Reached target Network.
Dec 05 03:31:29 wooledg systemd[1]: Starting Network is Online.
Dec 05 03:31:29 wooledg systemd[1]: Reached target Network is Online.
[...]

Given the 11 seconds between the two mentions of "Raise network",
which pretty closely matches the countdown I observed on the screen
while booting, I guess there's just one instance of the thing, and the
first line is when it starts, and the second line is when it finishes
(in response to dhcp-client being satisfied).

Reply via email to