[11389] in Athena Bugs
sun4 7.6Q: mkserv (yes, I know it isn't supported on the SUN)
daemon@ATHENA.MIT.EDU (jweiss@MIT.EDU)
Tue Nov 16 22:21:54 1993
From: jweiss@MIT.EDU
To: bugs@MIT.EDU
Cc: jweiss@MIT.EDU
Date: Tue, 16 Nov 93 22:21:40 EST
System name: the-other-woman
Type and version: SPARC/Classic 7.6Q (plus partial update)
Display type: cgthree
What were you trying to do?
run mkserv discuss on my workstation. Note that I already
have mkserv remote.
Well for various reasons I ran mkserv update right after I ran
the mkserv discuss. (Well I'm using a copy of the script in
~/mkserv/discuss2.add, which is identical to the normal one, except
for having sun4 in the list of allowed platforms.
What's wrong:
During the invocation od mkserv update mkserv coredumped
(leaving the partial update noted above.)
[...]
Updating /var/server
SyncTree version 3.1.19
Updating root symlinks...
SyncTree version 3.1.19
Copying /etc/passwd to /etc/passwd.local
Segmentation Fault - core dumped
(gdb) where
#0 0xef726454 in __iob ()
#1 0xef7263ec in __iob ()
#2 0xef726018 in __iob ()
#3 0xef72d030 in __iob ()
#4 0x17050 in os_switch_service ()
#5 0x19e04 in swservice ()
#6 0x18f5c in change_configs ()
#7 0x12b94 in main ()
(gdb)
I've determined that I can prevent the coredump by removing the
discuss service from /etc/inetd.conf, before running the mkserv
update.
What should have happened:
Well, not generating large a file named core that contained my
passwd file and environment (among other things) would be a win.
Please describe any relevant documentation references:
man mkserv
If you really want the corefile ask and I'll give it to you,
but I don't want to leave it somewhere world readable.