Hi Wolfgang, On So 21 Jan 2018 11:02:42 CET, Wolfgang Schweer wrote:
Hi Mike, On Sun, Jan 21, 2018 at 12:19:54AM +0000, Mike Gabriel wrote:for the last couple of years, we have always been struggling with a race condition during boot up of diskful Skolelinux Workstations. The race was between network coming up and autofs launching. We thought we had fixed it several times since squeeze. But when hardware changed (mostly when the hardware became faster during boot), the issue turned back on.Are you talking about Jessie? Stretch?. IIRC this issue disappeared with Stretch. (Virtual machines only, no real hardware available.)
I am talking about jessie and stretch. The issue occurs less often in stretch. I have stuffed 12 new SSD in 12 old notebooks. With slow hard drives the issues seemed to be gone. With the crazily fast new SSDs, 3-4 out of 12 had not autofs homes after reboot.
The issue occurs nearly up to a 100% probability when the workstations connect to the network over WiFi with a system wide configured WPA2 WiFi connection.
With the NetworkManager-wait-online service enabled, the systems take a while to come up, but login over WiFi works always then. No failures seen so far.
The history of getting the issue solved is long. Our recent fix, however, seems to be sustainable: systemctl enable NetworkManager-wait-online.service Once that unit is enabled, systems boot and logon to the system with an LDAP / NFS user is always possible. No failures seen so far. On different hardware variants. @Wolfgang: Where would be the best place to put the above line during system installation of diskful normal workstations?cf/cf.homes (Stretch) cf3/cf.homes (Buster)
Ack.
As an example, see how autofs is disabled conditionally (main server installation).
Ack. Will propose a patch soonish... Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
pgpOCjIdNe2dU.pgp
Description: Digitale PGP-Signatur