| Summary: | Even if you specify sendmail_enable="NO" in file "/etc/rc.conf", sendmail service still starts at boot time | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Hideyuki Inada <hideyuki> |
| Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
On Tue, 11 Jun 2002 01:03:57 -0700 (PDT) Hideyuki Inada <hideyuki@capitolacomputing.com> wrote: > >Description: > Even if you specify : > sendmail_enable="NO" > in file "/etc/rc.conf", sendmail service still starts at boot time. You should read /usr/src/UPDATING, specificaly, the entry for 20020404. Basically, you have to specify sendmail_enable="NONE" Cheers, Mike Makonnen On Tue, Jun 11, 2002 at 02:00:09AM -0700, Mike Makonnen wrote: > The following reply was made to PR conf/39142; it has been noted by GNATS. > > From: Mike Makonnen <makonnen@pacbell.net> > To: Hideyuki Inada <hideyuki@capitolacomputing.com> > Cc: freebsd-gnats-submit@FreeBSD.ORG > Subject: Re: conf/39142: Even if you specify sendmail_enable="NO" in file > "/etc/rc.conf", sendmail service still starts at boot time > Date: Tue, 11 Jun 2002 01:58:40 -0700 > > On Tue, 11 Jun 2002 01:03:57 -0700 (PDT) > Hideyuki Inada <hideyuki@capitolacomputing.com> wrote: > > > >Description: > > Even if you specify : > > sendmail_enable="NO" > > in file "/etc/rc.conf", sendmail service still starts at boot time. > > You should read /usr/src/UPDATING, specificaly, the entry for 20020404. > > Basically, you have to specify sendmail_enable="NONE" Or, alternatively -- or rather, not alternatively, but the recommended way -- mta_startup_script="", as noted in UPDATING 20020411 :) G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence every third, but it still comprehensible. On Tue, 11 Jun 2002 13:52:45 +0300 Peter Pentchev <roam@ringlet.net> wrote: > > You should read /usr/src/UPDATING, specificaly, the entry for 20020404. > > > > Basically, you have to specify sendmail_enable="NONE" > > Or, alternatively -- or rather, not alternatively, but the recommended > way -- mta_startup_script="", as noted in UPDATING 20020411 :) huh? is that a typo or does your UPDATING have something mine doesn't? I can't find an entry for 20020411. The part about the mta_startup_script being empty is in 20020404, but it doesn't say that it's the prefered way. I'm not arguing, just curious :-) Cheers, Mike Makonnen On Tue, Jun 11, 2002 at 06:44:41AM -0700, Mike Makonnen wrote: > On Tue, 11 Jun 2002 13:52:45 +0300 > Peter Pentchev <roam@ringlet.net> wrote: > > > > > You should read /usr/src/UPDATING, specificaly, the entry for 20020404. > > > > > > Basically, you have to specify sendmail_enable="NONE" > > > > Or, alternatively -- or rather, not alternatively, but the recommended > > way -- mta_startup_script="", as noted in UPDATING 20020411 :) > > huh? is that a typo or does your UPDATING have something mine doesn't? > I can't find an entry for 20020411. > The part about the mta_startup_script being empty is in 20020404, but it doesn't > say that it's the prefered way. > > I'm not arguing, just curious :-) Ah, well, you see, I'm referring to the 4.x-STABLE's src/UPDATING, where the mta_startup_script entry is at 20020411 :) I just looked at CURRENT's UPDATING file, and there it is at 20020404 indeed. I just happened to notice that the PR submitter listed -STABLE as the OS he was running, not -CURRENT, so I thought I would point him at the correct entry in -STABLE's UPDATING file, 's all :) G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If this sentence were in Chinese, it would say something else. State Changed From-To: open->closed I believe the comments on this one have answered the submitter. |
Even if you specify : sendmail_enable="NO" in file "/etc/rc.conf", sendmail service still starts at boot time. Fix: The problem can be fixed by making the following changes in the file "/etc/rc": CURRENT: case ${mta_start_script} in /*) if [ -r ${mta_start_script} ]; then sh ${mta_start_script} fi ;; esac WITH FIX: case ${sendmail_enable} in [Yy][Ee][Ss]) if [ -r ${mta_start_script} ]; then sh ${mta_start_script} fi ;; esac How-To-Repeat: 1. In /etc/rc.conf, specify sendmail_enable="NO" 2. Reboot the system 3. Verify that sendmail service has started by typing: ps aux | grep sendmail