diff options
-rw-r--r-- | initscripts.spec | 4 | ||||
-rwxr-xr-x | rc.d/init.d/functions | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/initscripts.spec b/initscripts.spec index 2249dc21..16dd4f72 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -17,6 +17,10 @@ that activate and deactivate most network interfaces. %changelog +* Thu Oct 09 1997 Erik Troan <ewt@redhat.com> + +- run 'ulimit -c 0' before running scripts in daemon function + * Wed Oct 08 1997 Donnie Barnes <djb@redhat.com> - added chkconfig support diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 7e42deb1..9fadf536 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -29,6 +29,10 @@ daemon() { # echo basename of the program. echo -n "$base " + # make sure it doesn't core dump anywhere; while this could mask + # problems with the daemon, it also closes some security problems + ulimit -c 0 + # And start it up. $* } |