CDE 1.3: Hangs/Core Dumps for automounted logins: What am I doing wrong?

CDE 1.3: Hangs/Core Dumps for automounted logins: What am I doing wrong?

Post by Carl Marin » Sat, 09 Sep 2000 21:19:54



Problem:
CDE hangs / dumps core when I login in with my automounted account.  I
setup a non-automounted test account and it works fine.
The workstation is an Ultra 10 running Solaris 7 with the latest Rec/Sec
Patch Cluster.  What am I doing wrong?

/var/adm/messages:
Sep  7 20:16:34 pittysing /usr/dt/bin/ttsession[977]: Could not find
mount point for /etc/tt/types.xdr
Sep  7 20:16:34 pittysing dtwm[980]: libtt[980]: libtt:
startup_ttsession("ttsession -s -d :0.0") failed with code -1, see
syslog

/etc/auto_master:
/net            -hosts          -nosuid,nobrowse
/home           auto_home       -nobrowse
/xfn            -xfn

/etc/auto_home:
*       pittysing:/export/home/&

/etc/dfs/dfstab:
/usr/sbin/share -F nfs -o rw=pittysing -d "home dirs"  /export/home
/usr/sbin/share -F nfs -o ro -d "CD-ROM"  /cdrom/cdrom0

Thanks,
Carl

 
 
 

CDE 1.3: Hangs/Core Dumps for automounted logins: What am I doing wrong?

Post by Thomas Deh » Sun, 10 Sep 2000 03:25:09



> Problem:
> CDE hangs / dumps core when
> I login in with my automounted account.  I
> setup a non-automounted test account and it works fine.
> The workstation is an Ultra 10 running Solaris 7 with the latest Rec/Sec
> Patch Cluster.  What am I doing wrong?
>/var/adm/messages:
>Sep  7 20:16:34 pittysing /usr/dt/bin/ttsession[977]: Could not find
>mount point for /etc/tt/types.xdr
>Sep  7 20:16:34 pittysing dtwm[980]: libtt[980]: libtt:
>startup_ttsession("ttsession -s -d :0.0") failed with code -1, see
>syslog

This bug only shows up with lofs-mounted home-directories
in combination with the automounter (and
not on all those systems).
Go back to revision 107893-05, and wait for -09.
If you have a support contract with Sun, you
might open a call and ask them whether they
can provide you with the preliminary patch T107893-09.

Thomas

 
 
 

CDE 1.3: Hangs/Core Dumps for automounted logins: What am I doing wrong?

Post by Kenneth Simpso » Sun, 10 Sep 2000 13:40:50


Hi - pardon my ignorance, but what are

        "lsof-mounted home-directories"

-- Ken



> > Problem:
> > CDE hangs / dumps core when
> > I login in with my automounted account.  I
> > setup a non-automounted test account and it works fine.
> > The workstation is an Ultra 10 running Solaris 7 with the latest Rec/Sec
> > Patch Cluster.  What am I doing wrong?

> >/var/adm/messages:
> >Sep  7 20:16:34 pittysing /usr/dt/bin/ttsession[977]: Could not find
> >mount point for /etc/tt/types.xdr
> >Sep  7 20:16:34 pittysing dtwm[980]: libtt[980]: libtt:
> >startup_ttsession("ttsession -s -d :0.0") failed with code -1, see
> >syslog

> This bug only shows up with lofs-mounted home-directories
> in combination with the automounter (and
> not on all those systems).
> Go back to revision 107893-05, and wait for -09.
> If you have a support contract with Sun, you
> might open a call and ask them whether they
> can provide you with the preliminary patch T107893-09.

> Thomas

 
 
 

CDE 1.3: Hangs/Core Dumps for automounted logins: What am I doing wrong?

Post by Thomas Deh » Sun, 10 Sep 2000 15:22:56



Quote:> Hi - pardon my ignorance, but what are

> "lsof-mounted home-directories"

lofs, not lsof.

Locally mounted via lofs, for example
   mount -F lofs -o rw /export/home/user /home/user,
and then have /home/user as user's login directory.
There appear to exist some conditions under which
ttsession cannot correctly resolve this mount.

Thomas

> -- Ken



> > > Problem:
> > > CDE hangs / dumps core when
> > > I login in with my automounted account.  I
> > > setup a non-automounted test account and it works fine.
> > > The workstation is an Ultra 10 running Solaris 7 with the latest
Rec/Sec
> > > Patch Cluster.  What am I doing wrong?

> > >/var/adm/messages:
> > >Sep  7 20:16:34 pittysing /usr/dt/bin/ttsession[977]: Could not find
> > >mount point for /etc/tt/types.xdr
> > >Sep  7 20:16:34 pittysing dtwm[980]: libtt[980]: libtt:
> > >startup_ttsession("ttsession -s -d :0.0") failed with code -1, see
> > >syslog

> > This bug only shows up with lofs-mounted home-directories
> > in combination with the automounter (and
> > not on all those systems).
> > Go back to revision 107893-05, and wait for -09.
> > If you have a support contract with Sun, you
> > might open a call and ask them whether they
> > can provide you with the preliminary patch T107893-09.

> > Thomas

 
 
 

CDE 1.3: Hangs/Core Dumps for automounted logins: What am I doing wrong?

Post by Roland Main » Tue, 12 Sep 2000 14:49:54



> "lsof-mounted home-directories"

See lofs(7FS) - loopback virtual file system

In fact lofs is a mount which does more or less the same as a softlink -
it redirecs access to one directory to another (without the side-effects
of a softlink... :-)
The automounter in Solaris uses them to mount local filesystems in /home
(foreign dirs are mounted via NFS&co.). The automounter in Linux does
the same using softlinks - with all bad side-effects when a
script/program uses relative paths...

Unfortunately lofs does some "optimisations" (it "mirrors" dirs but not
files) which are sometimes the source of trouble - unfortunately there's
no option to turn this behaviour _off_.
Starting with ToolTalk patch 107893-06 ttsession tries to handle
lofs-mounts correctly (e.g. in a way that CDE actions works across
machines again - even if the automounted dir is local) - which works for
our configuration. But it seems that some configurations have problems
with this patch... ;-(

----

Bye,
Roland

--
  __ .  . __


  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-13193 FAX +49 641 99-41359

 
 
 

CDE 1.3: Hangs/Core Dumps for automounted logins: What am I doing wrong?

Post by Roland Main » Tue, 12 Sep 2000 14:33:48




> > Hi - pardon my ignorance, but what are

> > "lsof-mounted home-directories"

> lofs, not lsof.

> Locally mounted via lofs, for example
>    mount -F lofs -o rw /export/home/user /home/user,
> and then have /home/user as user's login directory.
> There appear to exist some conditions under which
> ttsession cannot correctly resolve this mount.

Which conditions ? The patch works for me (very well :-) and I can't see
the problems...

----

Bye,
Roland

--
  __ .  . __


  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-13193 FAX +49 641 99-41359

 
 
 

CDE 1.3: Hangs/Core Dumps for automounted logins: What am I doing wrong?

Post by Carl Marin » Tue, 12 Sep 2000 18:03:36




> > Problem:
> > CDE hangs / dumps core when
> > I login in with my automounted account.  I
> > setup a non-automounted test account and it works fine.
> > The workstation is an Ultra 10 running Solaris 7 with the latest Rec/Sec
> > Patch Cluster.  What am I doing wrong?

> >/var/adm/messages:
> >Sep  7 20:16:34 pittysing /usr/dt/bin/ttsession[977]: Could not find
> >mount point for /etc/tt/types.xdr
> >Sep  7 20:16:34 pittysing dtwm[980]: libtt[980]: libtt:
> >startup_ttsession("ttsession -s -d :0.0") failed with code -1, see
> >syslog

> This bug only shows up with lofs-mounted home-directories
> in combination with the automounter (and
> not on all those systems).
> Go back to revision 107893-05, and wait for -09.
> If you have a support contract with Sun, you
> might open a call and ask them whether they
> can provide you with the preliminary patch T107893-09.

> Thomas

Thomas,

Thanks, backed out the patches and now it works as expected.

Carl

 
 
 

1. syslogd 1.3 dumps core, what's wrong ?

"Out of the box" Slackware 3.1 (Sep 96) kernel 2.0.0 installation,
(upgraded with XF86 3.2 for MGA)
syslogd ver 1.3: when started from rc.S, waits about ten seconds; creates
process for a few seconds (as seen from top), then quits and dumps core.
When started manually in debug mode (command syslogd -d),
gives immediately "Segmentation fault. Core dumped."

Size of syslogd is **500, when installation CD lists **776.
Installed binary from syslogd.tgz anew, same size (**500), same result.
Compiled it from source, same size (**500), same result.

Everything else (of what I have tested) seems to work OK (Netscape 3.0,
JDK102, NCSA httpd 1.5.2a, ...)

klogd seems to work, when started manually with given target file.

Anybody seen this before ?

-Kari-

2. Linux ppp connection problem

3. Simple perl-based WWW-server hangs: what am I doing wrong?

4. xf86config database

5. jdk1.1.3 and RH5 == core dump ?

6. wide character support?

7. DP2 Java 1.3 makes core dump

8. Reading Infomagic HTML files in WIN95

9. apache 1.1.1 + ssl 1.3 -> core dump???

10. Mozilla compiled with NetBSD 1.3, core dumped

11. CDE 1.3 under Solaris 7 hangs

12. what is the difference between cde 1.3 and cde 1.3.1 ?

13. dump core or not dump core