Review request: fixing /usr dependencies in rc.d/var

Cyrille Lefevre clefevre-lists at 9online.fr
Fri Oct 15 18:33:21 PDT 2004


"Mike Makonnen" <mtm at identd.net> wrote:
[snip]
> > ==== //depot/user/brooks/cleanup/etc/rc.d/sendmail#6 (text+ko) ====
> > 
> > @@ -69,6 +69,10 @@
> >      "${name}: /etc/mail/aliases.db not present, generating"
> >  /usr/bin/newaliases
> >  fi
> > +
> > + if [ ! -f "/var/log/sendmail.st" ]; then
> > + /usr/bin/touch /var/log/sendmail.st
> > + fi
> >  }
> >  
> >  run_rc_command "$1"
> > 
[snip]
> What's sendmail.st? The rc.d/sysdb script is not used in FreeBSD, so you

from /usr/share/sendmail/cf/README :

STATUS_FILE             [/etc/mail/statistics] The file containing status
                        information.

under FreeBSD, it's /var/log/sendmail.st instead of /etc/mail/statistics
(see /usr/share/sendmail/ostype/freebsd5.m4 for details).

see also, man 8 mailstats

Cyrille Lefevre.
-- 
home: mailto:cyrille.lefevre at laposte.net


More information about the freebsd-rc mailing list