Re: Again netgroup problems
On Sun, Jul 05, 2015 at 11:31:07AM +0200, Giorgio Pioda wrote:
> yeterday evening ath the end the WS login was ok on 4 clients...
> This morning still functional.
> Then I wanted to set async mode to nfs and doing this i rebooted
> the tjener instead of restarting only nfs services (I'v been lazy),
> and SURPRISE. Login is not any more possible. Even reverting back
> to sync mode doersn't change, so i guess the triggering event has been
> the reboot, not the nfs modification.
> More. Calling nscd -i hangs for long time. Thus i restarted manually
> nscd and nslcd, after this nscd -i started running again. But still no
> WS login.
> I'm slowly thinking that there is some kind of race condition at boot
> between ncsd/autofs/nfs4. Woould be wise if someboby else could
> try to reproduce my events.
I can confirm a boot race condition (IIRC somebody talked six months ago about
autofs/systemd issues in this mailing list)
Restarting manually the sercvices in the (more or less correct) order on tjener:
1) nscd & nslcd
2) nfs-common nfs-kernel
Fixes WS login
I guess some careful upstream check is really needed
Giorgio Pioda - Sysadmin SPSE-Tenero
Cell +41 79 629 20 63
Tel +41 58 468 62 48
Fax +41 58 468 61 98