Public bug reported:

Release: Jaunty

autofs does not seems to exit cleanly on Jaunty. 
After users log on the system, /proc/mounts is not being cleared, and a 
segfault is shown in the system logs:

[ 5839.284941] automount[19289]: segfault at 7fbf078cdd90 ip
00007fbf078cdd90 sp 00007fbf037e1118 error 4 in
libresolv-2.9.so[7fbf07d99000+14000]

The issue seems to come from this section in /etc/init.d/umountfs:

do_stop () {
        exec 9<&0 </proc/mounts

        PROTECTED_MOUNTS="$(sed -n '0,/^\/[^ ]* \/ /p' /proc/mounts)"
        WEAK_MTPTS="" # be gentle, don't use force
        REG_MTPTS=""
        TMPFS_MTPTS=""
        while read DEV MTPT FSTYPE REST
        do

which takes a long while to iterate over 9K+ lines.

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

-- 
Autofs does not exit cleanly in Jaunty
https://bugs.launchpad.net/bugs/381367
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to