SUMMARY: SS1000 (Sol 2.3) automount dumps core with defined-variables entries

From: Paulo Licio de Geus (
Date: Fri Oct 21 1994 - 12:48:10 CDT

original question:
> Hi,
> I've been running 2.3 on SS1+'s and SS10/40's with no trouble for
> quite some time. A few weeks ago we changed the way different binaries
> are treated via automount variables. It used to be manually defined
> variables such as "sunos4" and "solaris2"; we now use:
> #key mount-options location
> ...
> ahand parana,parana2,parana3,parana4:/l/rep15/&.n/$ARCH-$OSNAME-$OSREL
> alliance ecl:/l/rep01/&/$ARCH-$OSNAME-$OSREL
> gnu parana,parana2,parana3,parana4:/l/rep15/&/$ARCH-$OSNAME-$OSREL
> hard cmos:/l/rep02/&/$ARCH-$OSNAME-$OSREL
> ...
> Solaris machines have those variables predefined into automountd, and
> other OS's have these manually defined upon automount's invocation.
> The servers listed above run SunOS 4.1.3 and Solaris 2.3, both
> unpatched apart from a few security fixes.
> The affected machines, two SS1000 running 2.3 with the Recommended
> patches from sunsolve, work OK for all automount maps except the ones
> that use the above syntax. Any access to the above maps dumps core.
> I should also point out that the problem occurred with a plain 2.3 (no
> patches), and that's why I decided to apply them. Again, the SS10's
> are not patched and run fine.
> I'd appreciate any help. People are pressing and I've grepped
> after automount problems and couldn't find a clue to
> our problem.


We found the problem ourselves. truss'ing automountd revealed that it
was crashing when reading /etc/netmasks. Due to past history, our yp
netmask was and had never given us any
problems. By changing /etc/netmasks on both SS1000's to (i.e. the inclusion of zeroes to complete
the network number), both systems' automountd started to behave

This is strange, given that the global yp mask is still
143.106 and that ypbind is invoked (/etc/rc2.d/S71...)
before automountd (/etc/rc2.d/S73...). Also, other 2.3 machines never
exhibited such behaviour with the same setup.

So, we're correcting the global yp netmask map as well (we'll add
zeroes to the network number)...

Paulo Licio de Geus			INTERNET:
Depto de Ciencia da Computacao		voice: +55 192 39-3115/8695/8442
DCC - IMECC - UNICAMP			fax: +55 192 39-7470/5808
caixa postal: 6065
13081-970  Campinas SP Brazil

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:13 CDT