Date: Wed, 27 Feb 2002 01:23:03 -0800 (PST) From: Michael Wardle <michael@endbracket.net> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/35371: /etc/rc virecover script starts sendmail even if sendmail should be off Message-ID: <200202270923.g1R9N3M96119@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 35371
>Category: conf
>Synopsis: /etc/rc virecover script starts sendmail even if sendmail should be off
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 27 01:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Michael Wardle
>Release: 4.5
>Organization:
-
>Environment:
FreeBSD 4.5-RELEASE i386
>Description:
I installed FreeBSD on a low-end machine to make it essentially a terminal, and decided to turn off network services including sendmail.
On boot, sendmail is started by the virecover script in /etc/rc, even if sendmail is configured off.
>How-To-Repeat:
Turn off sendmail in /etc/rc.conf (sendmail_enable="NO"), reboot.
It's probably also necessary to have a crashed vi session.
>Fix:
The way I worked around it was to check the value of ${sendmail_enable}. It would also be possible to check whether sendmail is running or see if there's a sendmail pid or lock file (but it doesn't seem to put one in /var/run).
I'll attach a patch when I find a form that lets me upload files.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202270923.g1R9N3M96119>
