Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 1997 20:33:38 +1100 (EST)
From:      Mark Hannon <mark@seeware.DIALix.oz.au>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-current@freebsd.org
Subject:   Re: 2.2-RELEASE, dtmail stopped working
Message-ID:  <199703230933.UAA00798@putte.seeware.DIALix.oz.au>

next in thread | raw e-mail | index | archive | help


> > > 
> > > > When I try and start dtmail I get a dialog box saying:
> > > > "Mailer has not been properly installed and cannot be run because
> > > >  the execution group is incorrectly set"
> > > > 
> > > > Things worked correctly when the machine had 2.1.7 installed.
> > > > If I su to root and run dtmail it starts OK.
> > > > 
> > > > Any ideas?
> > > 
> > > ktrace it, and see what it stumples across.
> > > 
> > 
> > I'm working on it.  As dtmail is sgid bin I can't ktrace it from my
> > normal user & if I run dtmail as root it works fine :-(
> > 

I finally got the trace working.  Made a little hack in the kernel
to do so (modified kern/kern_exec.c to not stop tracing on suid 
processes).

The traces are quite long, I have looked through them and included
the parts where they start deviating.

On the 2.1.7 kernel:

   283 dtmail   RET   stat -1 errno 2 No such file or directory
   283 dtmail   CALL  stat(0xfa7e8,0xefbeb438)
   283 dtmail   NAMI  "/usr/include/X11/bitmaps"
   283 dtmail   RET   stat -1 errno 2 No such file or directory
   283 dtmail   CALL  break(0x109fb0)
   283 dtmail   RET   break 0
   283 dtmail   CALL  break(0x109fb0)
   283 dtmail   RET   break 0
   283 dtmail   CALL  gettimeofday(0xefbfd080,0)
   283 dtmail   RET   gettimeofday 0
   283 dtmail   CALL  access(0x859451b,0x4)
   283 dtmail   NAMI  "/etc/localtime"
   283 dtmail   RET   access 0
   283 dtmail   CALL  open(0x859451b,0,0x85bb060)
   283 dtmail   NAMI  "/etc/localtime"
   283 dtmail   RET   open 12/0xc
   283 dtmail   CALL  read(0xc,0xefbfad38,0x1f08)
   283 dtmail   GIO   fd 12 read 785 bytes
      
    :
    
   Continues....


With 2.2:

   319 dtmail   RET   stat -1 errno 2 No such file or directory
   319 dtmail   CALL  stat(0xfdf40,0xefbeb114)
   319 dtmail   NAMI  "/usr/include/X11/bitmaps"
   319 dtmail   RET   stat -1 errno 2 No such file or directory
   319 dtmail   CALL  write(0x3,0xb76e0,0x47c)
   319 dtmail   GIO   fd 3 wrote 1148 bytes
       "7\^P\^F\0\v\0À\^B#\0\0\0\f\0\0\0\^VÞ\0\0\0\0\0\0007\0\^F\0\f\0À\^B#\0\
	\0\0\f\0\0\0;ï\0\0\0\0\0\0007\0\^F\0\r\0À\^B#\0\0\0\f\0\0\0Ls\0\0\0\0\
	\0\0007t\^F\0\^N\0À\^B#\0\0\0\f\0\0\0ì²\0\0\^VÞ\0\0\^A\^P\r\0\^O\0À\^B\
	#\0\0\0\0\0\0\0\^E\0\^E\0\0\0\^A\0\0\0\0\0
	,\0\0\^VÞ\0\0\0\0\0\0\^A\0\0\0000\M^@"\0!\0\0\0\^R\0	\0\^O\0À\^B'\0\
	\0\0\^_\0\0\0\b\0\0\0\f\0\0\0Dialog_popup\^R\0\r\0\^O\0À\^B$\0\0\0\^_\
	\0\0\0\b\0À\^B\^Z\0\0\0putte.seeware.DIALix.oz.au\0\0\^R\0\^X\0\^O\0À\
	\^B(\0\0\0)\0\0\0 \0\0\0\^R\0\0\0\f\^B\0\0\0\0\0\0\0\0\0\0\^E\0\0\0\^E\
	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\

    :
    
   Pops up dialog box with error message.

I can't see from the trace why the 2.1.7 calls the break routine, what
is it anyway?  I can't find it in my manpages.

What sort of trace should I do to help localise this problem
further?

Regards/Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703230933.UAA00798>