[6178] in Athena Bugs
rt 7.1H: /core
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Sun Oct 7 22:20:53 1990
Date: Sun, 7 Oct 90 22:20:38 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System name: pit-manager
Type and version: RTPC-ROMPC 7.1H
Display type: apa16
megapel
What were you trying to do?
Have my X server dump core without filling up /.
What's wrong:
We have a symbolic link from /core to /usr/tmp/core.root.
However, we also have the following in /usr/lib/crontab:
15 4 * * * root find / -xdev -name core -mtime +7 -exec rm -f {} ';'
It should be obvious to even the casual observer that seven
days after the /core symlink is created, it is going to be
deleted. Or, at least, that's what seems to be happening on
my workstation.
What should have happened:
Either the symlink should be recreated from crontab or from
deactivate or something, or the find in crontab should be
taught not to delete that particular symlink.
Please describe any relevant documentation references:
/srvd/usr/lib/crontab, the installation scripts that create
/usr/tmp/core.root.
jik