| Summary: | /stand/sysinstall doesn't set sendmail_enable correctly in rc.conf | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Phillip Nordwall <coldfire-freebsd> |
| Component: | conf | Assignee: | matusita |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.6-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
coldfire-freebsd> If you try to make it so that sendmail doesn't run coldfire-freebsd> using /stand/sysinstall, configure, networking, coldfire-freebsd> Sendmail (This machine wants to run sendmail) it coldfire-freebsd> puts an entry into /etc/rc.conf of coldfire-freebsd> sendmail_enable="NO". I doubt if you are NOT using sysinstall bundled with 4.6-RELEASE. Would you please check where your sysinstall comes from? In 4.6-RELEASE's sysinstall, "Sendmail" item in "Network" menu is not a toggle option. You can choice YES, NO, and NONE with additional menu. -- - Makoto `MAR' Matsushita State Changed From-To: open->feedback It seems that originator doesn't use sysinstall as of 4.6-RELEASE. Waiting feedbacks. Responsible Changed From-To: freebsd-bugs->matusita I'll handle this. This bug still exists in 5.0. Phillip Nordwall's <coldfire-freebsd@wcug.wwu.edu> analysis and suggested solution is correct. I bought a FreeBSD 5.0 CD and installed it on a virgin machine, so there is no question as to which version of sysinstall I have. During the install, I said that I did not want sendmail, but when I rebooted, it was running. I suggest fixing /etc/rc.d/sendmail so it will accept "NO" in addition to "NONE". % grep sendmail /etc/rc.conf sendmail_enable="NO" % ps ax |grep sendmail 406 ?? Ss 0:00.01 sendmail: accepting connections (sendmail) 409 ?? Is 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/client % cat /var/run/sendmail.pid 406 /usr/sbin/sendmail -L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost I think this PR can be closed: I tried to reproduce it and I didn't suceeded. If I choose not to enable sendmail, I get "sendmail_enable="NONE" in rc.conf. I think this was fixed on 2003/07/12 by throdes with revision 1.374 of src/usr.sbin/sysinstall/menus.c Best Regards -- Rionda aka Matteo Riondato G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org) State Changed From-To: feedback->closed Reportedly fixed way back in 2003. |
If you try to make it so that sendmail doesn't run using /stand/sysinstall, configure, networking, Sendmail (This machine wants to run sendmail) it puts an entry into /etc/rc.conf of sendmail_enable="NO". Upon startup of the machine sendmail still runs. If you change the entry from sendmail_enable="NO" to sendmail_enable="NONE" sendmail won't start at startup. Fix: Change what /stand/sysinstall writes to /etc/rc.conf or change rc.sendmail to accept sendmail_enable="NO" How-To-Repeat: Use /stand/sysinstall to make sure sendmail doesn't run. Take a look in /etc/rc.conf for sendmail_enable="NO" restart the machine, and sendmail will run.