>>>>> "GT" == dopp  <dopp at acm.cs.umn.edu> writes:

    >>  /var/log/samba/log.nmb {
    >>           postrotate
    >>		     /usr/bin/killall -HUP nmbd
    >>           endscript }
    >> 
    GT> Just put that in an if statement.

    GT> Unfortunately, I dunno what kind of script it is, so I can't
    GT> give you the syntax.  What's the script name?  Also, what
    GT> version of RedHat is it?  Have you applied all the latest
    GT> patches?  I've got a bunch of RH6.2 machines with all the
    GT> latest patches and I don't have this problem.

Yes, that's my problem, too.  I don't know what kind of script it is,
either.  It's a script used by logrotate, if that helps.
Unfortunately, the man page only says:

       postrotate/endscript
              The lines between postrotate and endscript (both of
              which  must appear on lines by themselves) are exe-
              cuted after the log file is rotated.  These  direc-
              tives  may only appear inside of a log file defini-
              tion.  See prerotate as well.


       prerotate/endscript
              The lines between prerotate and endscript (both  of
              which  must appear on lines by themselves) are exe-
              cuted before the log file is rotated. These  direc-
              tives  may only appear inside of a log file defini-
              tion.  See postrotate as well.

This suggests that the block between the postrotate and endscript is
specially interpreted, but doesn't say HOW.  Is it just shoved at a
shell, and if so, what shell is used?  Certainly it seems to be
interpreted by some shell running as root.  I suspect that the shell
is bash, judging from the error message I get mailed (by cron).