Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
Control: close -1 Hi all, On Do 16 Aug 2012 16:35:35 CEST, Mike Gabriel wrote: Hi Marius, hi all, On Do 16 Aug 2012 14:29:37 CEST Marius Kotsbak wrote: Den 16. aug. 2012 13:46, skrev Giorgio Pioda: Hi, I would fix it disabling network-manager on the eth0 if we are talking about fix client stations. Well, network-manager is useful for laptop clients to be able to access wireless and mobile broandband connections, so I think we should keep it. But have you checked the dependency/start order of network-manager and autofs services? Is sounds like there is something wrong there. Autofs should start after network-manager service. The problem is not the start order of the services. The problem is that network-manager starts connecting eth0 in background. While that is happening all the other boot scripts overtake the dhclient process issues by network-manager. Mike The above issue is not present anymore on Debian Edu jessie and stems from the old Debian Edu squeeze times. Thus, closing... Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpHG1RdgHTps.pgp Description: Digitale PGP-Signatur
Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
Hi, I would fix it disabling network-manager on the eth0 if we are talking about fix client stations. cheers Giorgio On Tue, Aug 14, 2012 at 10:00:29AM +0200, Mike Gabriel wrote: Package: debian-edu-config Version: 1.454~svn77318 Severity: normal Hi all, on some occasions (30-60% of the system reboots) the startup of autofs fails. This is due to a race condition between network-manager bringing up eth0 (in most cases) and the need of autofs to access LDAP for listing up the automountable shares. This script fixes the issue, it can be placed on any Debian Edu machine: $ cat /etc/network/if-up.d/autofs #!/bin/sh if [ -x /etc/init.d/autofs ]; then /etc/init.d/autofs restart fi Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
Den 16. aug. 2012 13:46, skrev Giorgio Pioda: Hi, I would fix it disabling network-manager on the eth0 if we are talking about fix client stations. Well, network-manager is useful for laptop clients to be able to access wireless and mobile broandband connections, so I think we should keep it. But have you checked the dependency/start order of network-manager and autofs services? Is sounds like there is something wrong there. Autofs should start after network-manager service. -- Marius -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
Hi Marius, hi all, On Do 16 Aug 2012 14:29:37 CEST Marius Kotsbak wrote: Den 16. aug. 2012 13:46, skrev Giorgio Pioda: Hi, I would fix it disabling network-manager on the eth0 if we are talking about fix client stations. Well, network-manager is useful for laptop clients to be able to access wireless and mobile broandband connections, so I think we should keep it. But have you checked the dependency/start order of network-manager and autofs services? Is sounds like there is something wrong there. Autofs should start after network-manager service. The problem is not the start order of the services. The problem is that network-manager starts connecting eth0 in background. While that is happening all the other boot scripts overtake the dhclient process issues by network-manager. Mike -- DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpdazsMj9hUP.pgp Description: Digitale PGP-Unterschrift
Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
Den 16. aug. 2012 16:35, skrev Mike Gabriel: Hi Marius, hi all, On Do 16 Aug 2012 14:29:37 CEST Marius Kotsbak wrote: Den 16. aug. 2012 13:46, skrev Giorgio Pioda: Hi, I would fix it disabling network-manager on the eth0 if we are talking about fix client stations. Well, network-manager is useful for laptop clients to be able to access wireless and mobile broandband connections, so I think we should keep it. But have you checked the dependency/start order of network-manager and autofs services? Is sounds like there is something wrong there. Autofs should start after network-manager service. The problem is not the start order of the services. The problem is that network-manager starts connecting eth0 in background. While that is happening all the other boot scripts overtake the dhclient process issues by network-manager. Okay I see. I thought it was blocking until the IP address was offered. If this is reproduced in plain Debian too, I suggest moving this bug to the autofs or network-manager package. -- Marius -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
Package: debian-edu-config Version: 1.454~svn77318 Severity: normal Hi all, on some occasions (30-60% of the system reboots) the startup of autofs fails. This is due to a race condition between network-manager bringing up eth0 (in most cases) and the need of autofs to access LDAP for listing up the automountable shares. This script fixes the issue, it can be placed on any Debian Edu machine: $ cat /etc/network/if-up.d/autofs #!/bin/sh if [ -x /etc/init.d/autofs ]; then /etc/init.d/autofs restart fi Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpU0tQ53FSxk.pgp Description: Digitale PGP-Unterschrift
Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
Hi, On Dienstag, 14. August 2012, Mike Gabriel wrote: on some occasions (30-60% of the system reboots) the startup of autofs fails. thats on squeeze or wheezy? This script fixes the issue, it can be placed on any Debian Edu machine: $ cat /etc/network/if-up.d/autofs #!/bin/sh if [ -x /etc/init.d/autofs ]; then /etc/init.d/autofs restart fi that fix is wrong, one must use invoke-rc.d cheers, Holger -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
Hi Holger, On Di 14 Aug 2012 10:35:16 CEST Holger Levsen wrote: Hi, On Dienstag, 14. August 2012, Mike Gabriel wrote: on some occasions (30-60% of the system reboots) the startup of autofs fails. thats on squeeze or wheezy? Clients+server are squeeze. This script fixes the issue, it can be placed on any Debian Edu machine: $ cat /etc/network/if-up.d/autofs #!/bin/sh if [ -x /etc/init.d/autofs ]; then /etc/init.d/autofs restart fi that fix is wrong, one must use invoke-rc.d Ack. Mike -- DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpUOj4uIzSMw.pgp Description: Digitale PGP-Unterschrift pgp3U8jlM3ogY.pgp Description: Digitale PGP-Unterschrift
Bug#684859: AutoFS fails to start on some occasions for networked D-E client systems
On Di 14 Aug 2012 12:06:51 CEST Mike Gabriel wrote: This script fixes the issue, it can be placed on any Debian Edu machine: $ cat /etc/network/if-up.d/autofs #!/bin/sh if [ -x /etc/init.d/autofs ]; then /etc/init.d/autofs restart fi that fix is wrong, one must use invoke-rc.d For the record: the fix should be like this... $ cat /etc/network/if-up.d/autofs #!/bin/sh invoke-rc.d --quiet autofs restart Mike -- DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgp1j4u6TdYC5.pgp Description: Digitale PGP-Unterschrift