[Bug 529530] Re: autofs hangs

2010-03-05 Thread Knirp

OK,

Now I've been away and automounting continued to work after being idle
for more than 48 hours.

Also I rebooted the machine and it did continue to work as expected.

So for now, problem solved with upgrading autofs to 5.0.4!

Thanks!


Regards
Magnus

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

-- 
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 529530] Re: autofs hangs

2010-03-01 Thread Knirp

OK,

Installation updated with package autofs5_5.0.4-3_amd64.deb

Automounting worked fine after installation of autofs5.

Fortunately I will be away for 48 hours now so it will be pretty
interesting to see if it still mounts when I come back!

A side note perhaps, autofs5 upgrade was not totally smooth.
Got this in /var/log/daemon.log:

Mar  1 23:25:20 localhost automount[25377]: syntax error in nsswitch config 
near [ syntax error ]
Mar  1 23:26:47 localhost automount[25377]: syntax error in nsswitch config 
near [ syntax error ]

Had to uncomment "+auto.master" to get rid of those messages.

Stay tuned!

// Magnus

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

-- 
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 529530] [NEW] autofs hangs

2010-02-28 Thread Knirp
Public bug reported:

Binary package hint: autofs


Hi,

After not using automounted directories for a while, autofs seem to
loose track of its mountpoints.

This is what happens:

mag...@htpc:~$ ls /var/lib/mythtv/videos/remote/hmovies
ls: cannot access /var/lib/mythtv/videos/remote/hmovies: No such file or 
directory

mag...@htpc:~$ ls /var/lib/mythtv/videos/remote/hmovies/
ls: cannot access /var/lib/mythtv/videos/remote/hmovies: No such file or 
directory

mag...@htpc:~$ sudo /etc/init.d/autofs restart
Stopping automounter: done.
Starting automounter: done.

mag...@htpc:~$ ls /var/lib/mythtv/videos/remote/hmovies
ls: cannot access /var/lib/mythtv/videos/remote/hmovies: No such file or 
directory

mag...@htpc:~$ ls /var/lib/mythtv/videos/remote/hmovies/
ls: cannot access /var/lib/mythtv/videos/remote/hmovies: No such file or 
directory

It seems to be no way to get it to work again - other than rebooting the entire 
box.
After rebooting all  automounts are accessible again. Also when using these 
automounts frequently it will
keep working.

mag...@htpc:~$ ls -l /var/lib/mythtv/videos|grep remote
drwxr-xr-x 3 root   root0 2010-02-28 17:35 remote

I try to restart and unmount, but somehow autofs is dead.

Also, manually mounting the same cifs share with mount works fine.

More info

mag...@htpc:~$ tail /var/log/daemon.log
Feb 28 16:28:56 localhost automount[16000]: mount_autofs: already mounted
Feb 28 16:28:56 localhost automount[16000]: /var/lib/mythtv/videos/remote: 
mount failed!
Feb 28 16:29:02 localhost automount[16126]: mount_autofs: already mounted
Feb 28 16:29:02 localhost automount[16126]: /var/lib/mythtv/music/remote: mount 
failed!
Feb 28 16:29:02 localhost automount[16180]: mount_autofs: already mounted
Feb 28 16:29:02 localhost automount[16180]: /var/lib/mythtv/videos/remote: 
mount failed!
Feb 28 16:29:58 localhost automount[16298]: mount_autofs: already mounted
Feb 28 16:29:58 localhost automount[16298]: /var/lib/mythtv/music/remote: mount 
failed!

mag...@htpc:~$ cat /etc/auto.master|egrep -v "^#"
/var/lib/mythtv/music/remote   /etc/auto.music --ghost --timeout=300
/var/lib/mythtv/videos/remote  /etc/auto.video --ghost --timeout=300

mag...@htpc:~$ ps aux|grep auto
magnus   16375  0.0  0.0   7336   888 pts/1S+   16:33   0:00 grep 
--color=auto auto


mag...@htpc:~$ cat /etc/auto.music 
hmp3
-fstype=cifs,username=xxx,password=xxx,rw,uid=1000,gid=105,noacl,iocharset=utf8 
://192.168.200.2/hmp3

mag...@htpc:~$ cat /etc/auto.video 
hmovies 
-fstype=cifs,username=xxx,password=xxx,rw,uid=1000,gid=105,noacl,iocharset=utf8 
://192.168.200.2/video

mag...@htpc:~$ cat /etc/mtab|grep auto


mag...@htpc:~$ cat /proc/mounts |grep auto
automount(pid1565) /var/lib/mythtv/videos/remote autofs 
rw,relatime,fd=4,pgrp=1565,timeout=600,minproto=2,maxproto=4,indirect 0 0
automount(pid1549) /var/lib/mythtv/music/remote autofs 
rw,relatime,fd=4,pgrp=1549,timeout=600,minproto=2,maxproto=4,indirect 0 0

mag...@htpc:~$ ps -ef|grep 1565
magnus   16501 32237  0 16:36 pts/100:00:00 grep --color=auto 1565
mag...@htpc:~$ ps -ef|grep 1549
magnus   16503 32237  0 16:36 pts/100:00:00 grep --color=auto 1549

mag...@htpc:~$ sudo umount -a -t autofs
umount: /var/lib/mythtv/music/remote: not mounted

mag...@htpc:~$ sudo fusermount -u /var/lib/mythtv/music/remote
fusermount: /var/lib/mythtv/music/remote not mounted

mag...@htpc:~$ sudo rmmod -f autofs4
ERROR: Removing 'autofs4': Resource temporarily unavailable

mag...@htpc:~$ lsmod|grep auto
autofs431720  2

mag...@htpc:~$ apt-cache policy autofs
autofs:
  Installed: 4.1.4+debian-2.1ubuntu2
  Candidate: 4.1.4+debian-2.1ubuntu2
  Version table:
 *** 4.1.4+debian-2.1ubuntu2 0
500 http://se.archive.ubuntu.com karmic/main Packages
100 /var/lib/dpkg/status

mag...@htpc:~$ apt-cache policy samba-tools
samba-tools:
  Installed: (none)
  Candidate: 2:3.4.0-3ubuntu5.4
  Version table:
 2:3.4.0-3ubuntu5.4 0
500 http://se.archive.ubuntu.com karmic-updates/universe Packages
500 http://security.ubuntu.com karmic-security/universe Packages
 2:3.4.0-3ubuntu5 0
500 http://se.archive.ubuntu.com karmic/universe Packages

mag...@htpc:~$ uname -a
Linux htpc 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 
GNU/Linux

mag...@htpc:~$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

Regards
Magnus

** Affects: autofs (Ubuntu)
 Importance: Undecided
 Status: New

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

-- 
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