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.) > 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) As an example, see how autofs is disabled conditionally (main server installation). Wolfgang
Attachment:
signature.asc
Description: PGP signature