My gdb fu is very weak but --- [EMAIL PROTECTED] /]# gdb /usr/sbin/automount5 /core.23739 GNU gdb Red Hat Linux (6.3.0.0-1.153.el4rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `automount5'. Program terminated with signal 11, Segmentation fault. (no debugging symbols found) Loaded symbols for /usr/sbin/automount5 Reading symbols from /lib/tls/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_files.so.2 --- Also changing /etc/auto.master to use /home and not /rhome doesn't stop the core dumps. CC -----Original Message----- From: Coe, Colin C. (Unix Engineer) Sent: Friday, 16 November 2007 12:47 PM To: [email protected] Subject: RE: [autofs] Problem with autofs_home map Hi Ian I've just seen autofs5 (yay!) in the RHEL4 channels so I'm giving it a shot but it's not looking good so far. /rhome still isn't created and the real /home is still getting over ridden. Also, automount5 is core dumping and /var/log/debug is still empty. Thanks CC --- [EMAIL PROTECTED] /]# date Fri Nov 16 12:43:49 WST 2007 [EMAIL PROTECTED] /]# service autofs5 stop Stopping automount5: [ OK ] [EMAIL PROTECTED] /]# > /var/log/debug [EMAIL PROTECTED] /]# # /rhome should *not* exist here... [EMAIL PROTECTED] /]# ls -ld /home /rhome ls: /rhome: No such file or directory drwxr-xr-x 4 root root 1024 Oct 12 11:05 /home [EMAIL PROTECTED] /]# cat /etc/auto.master # # $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $ # # Sample auto.master file # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # For details of the format look at autofs(5). #/misc /etc/auto.misc --timeout=60 #/misc /etc/auto.misc #/net /etc/auto.net /- autofs.global --ghost nfsvers=3,tcp,rsize=32768,wsize=32768 /rhome autofs.home --ghost nfsvers=3,tcp,rsize=32768,wsize=32768 --debug [EMAIL PROTECTED] /]# cat /etc/sysconfig/autofs5 LOCALOPTIONS="" DAEMONOPTIONS="--timeout=60 --debug" UNDERSCORETODOT=0 DISABLE_DIRECT=0 DEFAULT_MAP_OBJECT_CLASS="automountMap" DEFAULT_ENTRY_OBJECT_CLASS="automount" DEFAULT_MAP_ATTRIBUTE="automountMapName" DEFAULT_ENTRY_ATTRIBUTE="automountKey" DEFAULT_VALUE_ATTRIBUTE="automountInformation" [EMAIL PROTECTED] /]# cat /etc/syslog.conf # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console # Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none /var/log/messages # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* -/var/log/maillog # Log cron stuff cron.* /var/log/cron # Everybody gets emergency messages *.emerg * # Save news errors of level crit and higher in a special file. uucp,news.crit /var/log/spooler # Save boot messages also to boot.log local7.* /var/log/boot.log daemon.* /var/log/debug [EMAIL PROTECTED] /]# service syslog restart Shutting down kernel logger: [ OK ] Shutting down system logger: [ OK ] Starting system logger: [ OK ] Starting kernel logger: [ OK ] [EMAIL PROTECTED] /]# service autofs5 status automount5 is stopped [EMAIL PROTECTED] /]# service autofs5 start Starting automount5: [ OK ] [EMAIL PROTECTED] /]# service autofs5 status automount5 (pid 23416) is running... [EMAIL PROTECTED] /]# # /rhome *should* exist here... [EMAIL PROTECTED] /]# ls -ld /home /rhome ls: /rhome: No such file or directory drwxr-xr-x 16 root root 0 Nov 16 12:44 /home [EMAIL PROTECTED] /]# cat /var/log/debug [EMAIL PROTECTED] /]# file /core.* /core.23296: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from 'automount5' [EMAIL PROTECTED] /]# date Fri Nov 16 12:44:04 WST 2007 [EMAIL PROTECTED] /]# --- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coe, Colin C. (Unix Engineer) Sent: Friday, 16 November 2007 11:07 AM To: Ian Kent Cc: [email protected] Subject: Re: [autofs] Problem with autofs_home map Hey Ian OK, but the debug.log was attached previously . It only contained: --- > [EMAIL PROTECTED] images]# cat /var/log/debug > Nov 8 13:09:17 las004 dhcpd: DHCPDISCOVER from 00:1a:64:2c:0d:ee via > eth2: network 10.240.59/24: no free leases --- Nothing autofs related was put in the log file. Thanks CC <snip> NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments. _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
