From owner-freebsd-current Sun Mar 23 01:51:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA01599 for current-outgoing; Sun, 23 Mar 1997 01:51:48 -0800 (PST) Received: from melbourne.dialix.com.au (seeuucp@melbourne.dialix.com.au [203.12.2.24]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA01594 for ; Sun, 23 Mar 1997 01:51:44 -0800 (PST) Received: (from seeuucp@localhost) by melbourne.dialix.com.au with UUCP id UAA26822; Sun, 23 Mar 1997 20:51:14 +1100 (EST) X-Authentication-Warning: melbourne.dialix.com.au: seeuucp set sender to mark@seeware.DIALix.oz.au using -f Received: from putte.seeware.DIALix.oz.au (putte.seeware.DIALix.oz.au [10.0.0.1]) by doorway.seeware.DIALix.oz.au (8.8.5/8.7.3) with ESMTP id UAA00406; Sun, 23 Mar 1997 20:33:38 +1100 (EST) From: Mark Hannon Received: (from mark@localhost) by putte.seeware.DIALix.oz.au (8.8.5/8.7.3) id UAA00798; Sun, 23 Mar 1997 20:33:38 +1100 (EST) Date: Sun, 23 Mar 1997 20:33:38 +1100 (EST) Message-Id: <199703230933.UAA00798@putte.seeware.DIALix.oz.au> To: joerg_wunsch@uriah.heep.sax.de Subject: Re: 2.2-RELEASE, dtmail stopped working Cc: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=C.us-ascii Content-MD5: bA6UMJqExEe7WH+5Vr50mw== Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by freefall.freebsd.org id BAA01595 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > > > > > 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