ubuntu 12.04 boot with nis(ypbind) autofs (nfs) not working.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs5 (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Precise |
Fix Released
|
High
|
James Page |
Bug Description
I upgraded a working 11.10 to 12.04 and now I no longer can login to the machine.
Problem has been for several weeks now so it's obviously not a transient problem.
What is happening is that I get no graphics login. lightdm starts I think but fails to present a login screen.
changing the boot so that I boot into text mode instead reveals the following problems.
Its takes a long time to get a login prompt and when it shows up it's possible to enter root user and password but then the login hangs for a few minutes before a bash prompt show up.
after that its possible to see that autofs has not started so its impossible to login as a normal user.
starting autofs with "start autofs" do not works unless I also restart ypbind at the same time as autofs waits for ypbind and do not understand that is is already started.
after boot ypbind and autofs is restarted I can start lightdm and login to the system.
Problem is this is a 5 minutes procedure for every boot. and no suspend do not work so that is not a workaround.
Upstart is completely impossible to understand so I'm not sure what the problem really is.
Main problem for delays is actually the network.
I added eth0 in /etc/network/ interfaces and now there is no delay at boot.
autofs is still not started and I have to do
start autofs
and in another terminal
restart ypbind
to make autofs actually start.
then I can
start lightdm
then I can login.
It think I should not have to do the change to interfaces fiile and Network-Manager should handle it no ??