How early can jails be started?
Warren Block
wblock at wonkity.com
Thu Aug 14 02:40:04 UTC 2014
On Wed, 13 Aug 2014, Allan Jude wrote:
>> The second problem might be simpler to solve. With sendmail_enable="NO"
>> in the dns1 jail (so it can send status email), sendmail on the host is
>> blocked:
>>
>> sm-mta[679]: daemon Daemon0: problem creating SMTP socket
>> sm-mta[679]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0:
>> cannot bind: Can't assign requested address
>>
>> If the host sendmail is killed and restarted, it works. And of course
>> it also works when sendmail is started on the host first and the jails
>> use sendmail_enable="NO". I'm not really sure what's going on there.
>
> Sendmail still starts with sendmail_enable="NO"
> try sendmail_enable="NONE"
Yes, but that misses the point. The desired configuration:
host:
sendmail_enable="YES"
jails:
sendmail_enable="NO"
That works fine when jails are started normally, and allows the jails to
send daily status email.
Without changing the configuration, starting a jail early prevents
sendmail from starting normally on the host.
It's not so much requiring the status emails as trying to figure out
what is different when the jail starts early.
More information about the freebsd-jail
mailing list