Date: Mon, 2 Sep 2002 12:08:08 -0400 From: Carl Schmidt <carl@slackerbsd.org> To: Peter Pentchev <roam@ringlet.net> Cc: freebsd-bugs@FreeBSD.org Subject: Re: conf/42324: rc.subr complains with sendmail_enable="NONE" Message-ID: <20020902160808.GA72813@carbon.slackerbsd.org> In-Reply-To: <20020902151628.GA72621@carbon.slackerbsd.org> References: <200209021450.g82Eo4Ek064081@freefall.freebsd.org> <20020902151628.GA72621@carbon.slackerbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I've sort of worked this out I think. I will give a run-down of what is going on. I decided to remove all mentioning of sendmail_whatever and mta_start_script from rc.conf and re-loaded from single-user. It hangs after "Starting sshd." from trying to run all the sendmail crap which is on by default in defaults/rc.conf. The hang is actually because I have postfix installed and enabled in mailer.conf and rc was trying to give it flags it did not use the way sendmail does. Okay, no problem. I realize sendmail_enable="NONE" will give a warning so I use all the little sub-enable statements (sendmail_submit and so on) in rc.conf. I re-load from single-user again and it works fine. Now rc stops giving postfix flags it doesn't understand and I get no warning because I'm not using NONE -- this is without mta_start_script="". So it would seem to be the right thing to just leave it at that. But I am not satisfied. mta_start_script="" seems to be the direction desired but mta_start_script does not properly deal with this. After using mta_start_script="" and removing all my sendmail_* stuff, rc returns to its old behavior of hanging after sshd tries to start... trying to run sendmail. I still say this is broken since the sendmail rc.d script understands NONE and will then not actually run sendmail, which seems to be a tad bit better and more compatible with current ways than mta_start_script="" -- neverminding that mta_start_script="" does not appear to disable sendmail completely.. On a side note, the postfix rc.d script is doing things oddly. It is trying to compare first then possibly copy files from /etc/ into /var/spool/${name}/etc which is not created when the postfix port is installed. I gather most people are using the postfix port. Sure I could mkdir /var/spool/${name}/etc and just be over it but I am curious why the rc.d script thinks postfix needs things in /var/spool/${name}/etc? And as for a solution to this mta_start_script problem I seem to have, well I am not even sure if it is a problem and will await further followups. I apologize for the length of this response. -- Carl Schmidt 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?20020902160808.GA72813>