Re: boot hangs when no ethernet cable is plugged in

2015-07-10 Thread Michael Biebl
Am 09.07.2015 um 17:00 schrieb Vincent Lefevre: > On 2015-07-09 14:57:01 +0200, Michael Biebl wrote: >> Am 09.07.2015 um 14:39 schrieb Vincent Lefevre: >>> Wouldn't the right thing be to fix broken software? Software shouldn't >>> just require $network, but something more precise and/or handle erro

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Vincent Lefevre
On 2015-07-09 14:57:01 +0200, Michael Biebl wrote: > Am 09.07.2015 um 14:39 schrieb Vincent Lefevre: > > Wouldn't the right thing be to fix broken software? Software shouldn't > > just require $network, but something more precise and/or handle error > > conditions. > > Ideally yes. The reality is,

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Vincent Lefevre
On 2015-07-09 08:53:28 -0400, Patrick Wiseman wrote: > On Thu, Jul 9, 2015 at 8:39 AM, Vincent Lefevre wrote: > > But if one of the goals of allow-hotplug is to do link detection > > (see my other message about that), then this is fine for laptops. > > Just as a matter of interest, what network m

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Vincent Lefevre
On 2015-07-09 08:53:28 -0400, Patrick Wiseman wrote: > On Thu, Jul 9, 2015 at 8:39 AM, Vincent Lefevre wrote: > > But if one of the goals of allow-hotplug is to do link detection > > (see my other message about that), then this is fine for laptops. > > Just as a matter of interest, what network m

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Michael Biebl
Am 09.07.2015 um 14:39 schrieb Vincent Lefevre: > Wouldn't the right thing be to fix broken software? Software shouldn't > just require $network, but something more precise and/or handle error > conditions. Ideally yes. The reality is, that we have ~620 sysv init scripts in Debian which have Requi

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Patrick Wiseman
On Thu, Jul 9, 2015 at 8:39 AM, Vincent Lefevre wrote: > On 2015-07-09 14:19:48 +0200, Michael Biebl wrote: >> Am 09.07.2015 um 12:21 schrieb Vincent Lefevre: >> > Remove the "allow-hotplug eth0" line and have eth0 be brought up >> > automatically when there's an Ethernet signal? I haven't seen an

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Vincent Lefevre
On 2015-07-09 14:19:48 +0200, Michael Biebl wrote: > Am 09.07.2015 um 12:21 schrieb Vincent Lefevre: > > Remove the "allow-hotplug eth0" line and have eth0 be brought up > > automatically when there's an Ethernet signal? I haven't seen any > > drawback yet. > > The drawback is, that you might have

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Vincent Lefevre
On 2015-07-09 11:29:02 +0100, Lisi Reisz wrote: > On Thursday 09 July 2015 11:21:34 Vincent Lefevre wrote: > > On 2015-07-09 10:46:06 +0100, Lisi Reisz wrote: > > > On Thursday 09 July 2015 10:31:21 Vincent Lefevre wrote: > > > > On 2015-07-09 09:29:26 +0100, Lisi Reisz wrote: > > > > > On Wednesda

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Michael Biebl
Am 09.07.2015 um 12:21 schrieb Vincent Lefevre: > On 2015-07-09 10:46:06 +0100, Lisi Reisz wrote: >> On Thursday 09 July 2015 10:31:21 Vincent Lefevre wrote: >>> On 2015-07-09 09:29:26 +0100, Lisi Reisz wrote: On Wednesday 08 July 2015 23:40:55 Vincent Lefevre wrote: > So, I wonder why the

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Lisi Reisz
On Thursday 09 July 2015 11:21:34 Vincent Lefevre wrote: > On 2015-07-09 10:46:06 +0100, Lisi Reisz wrote: > > On Thursday 09 July 2015 10:31:21 Vincent Lefevre wrote: > > > On 2015-07-09 09:29:26 +0100, Lisi Reisz wrote: > > > > On Wednesday 08 July 2015 23:40:55 Vincent Lefevre wrote: > > > > > S

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Vincent Lefevre
On 2015-07-09 10:46:06 +0100, Lisi Reisz wrote: > On Thursday 09 July 2015 10:31:21 Vincent Lefevre wrote: > > On 2015-07-09 09:29:26 +0100, Lisi Reisz wrote: > > > On Wednesday 08 July 2015 23:40:55 Vincent Lefevre wrote: > > > > So, I wonder why the default file contains "allow-hotplug eth0". > >

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Lisi Reisz
On Thursday 09 July 2015 10:31:21 Vincent Lefevre wrote: > On 2015-07-09 09:29:26 +0100, Lisi Reisz wrote: > > On Wednesday 08 July 2015 23:40:55 Vincent Lefevre wrote: > > > So, I wonder why the default file contains "allow-hotplug eth0". > > > This seems to be incorrect: it doesn't make sense to

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Vincent Lefevre
On 2015-07-09 09:29:26 +0100, Lisi Reisz wrote: > On Wednesday 08 July 2015 23:40:55 Vincent Lefevre wrote: > > So, I wonder why the default file contains "allow-hotplug eth0". > > This seems to be incorrect: it doesn't make sense to put eth0 up > > only because the network interface eth0 is presen

Re: boot hangs when no ethernet cable is plugged in

2015-07-09 Thread Lisi Reisz
On Wednesday 08 July 2015 23:40:55 Vincent Lefevre wrote: > On my Debian/unstable laptop, when I boot without an ethernet cable > plugged in, the boot hangs for several dozens of seconds with the > following message: > > A start job is running for ifup for eth0 > > I suspect that the default /etc

boot hangs when no ethernet cable is plugged in

2015-07-08 Thread Vincent Lefevre
On my Debian/unstable laptop, when I boot without an ethernet cable plugged in, the boot hangs for several dozens of seconds with the following message: A start job is running for ifup for eth0 I suspect that the default /etc/network/interfaces file is incorrect. It contains: allow-hotplug eth