[Bug 573919] Re: NIS-based autofs maps don't load on startup

2012-03-10 Thread Gergely Katona
It is really great that work is in progress I look forward to see this
bug fixed in lucid/precise! I have a small comment though: in my case
the autofs startup problem is unrelated to NIS, as I use LDAP. Out of
desperation 1.5 years ago I also experimented with flat map files on
local fs and even with that setup I encountered periodic problems with
autofs startup at boot. Either autofs is not started or needs to be
restarted to pick up the shares.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/573919

Title:
  NIS-based autofs maps don't load on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/573919/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 40189] Re: autofs needs to be restarted to pick up some shares

2011-10-05 Thread Gergely Katona
I maintain a 10.04 LTS based cluster of workstations where each node is subject 
to some stress and need to be restarted once in a while. Autofs maps of nfs 
shares are communicated via LDAP.  Autofs fails to initialize (or even start in 
some rare cases)  in its default configuration in about 50% of all boots, 
making the nodes unusable until autofs is restarted. In addition to this bug  
sometimes bind mounts fail to initialize at boot and need a remount. 
After trying out several suggested workarounds unsuccessfully I am using the 
following not too elegant rc.local script, which  hammers autofs into 
submission (works 99% of the time). I also advise my users not to restart their 
computers unless absolutely necessary.

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will exit 0 on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

sleep 10
service autofs start 
sleep 60
service autofs restart 
sleep 60
service autofs restart 
sleep 60
mount -a


exit 0

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/40189

Title:
  autofs needs to be restarted to pick up some shares

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 573919] Re: autofs doesn't work with lucid

2011-01-28 Thread Gergely Katona
Our 10 machine system (all lucid 64-bit) also suffers from this diffuse
bug. Workaround #23 did not work, some of the machines start autofs
anyway even with start on never in /etc/init/autofs.conf . Putting
service autofs restart in /etc/rc.local works only for about half of
the machines and not reproducibly either. When I type manually sudo
service autofs restart at console the system recovers almost all the
time. I don't understand how that is different from putting the command
in /etc/rc.local. I tried with various sleep delays with no success. It
is quite frustrating indeed.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in ubuntu.
https://bugs.launchpad.net/bugs/573919

Title:
  autofs doesn't work with lucid

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs