[libvirt] [jenkins-ci PATCH] guests: disable sendmail on FreeBSD to speedup booting

Andrea Bolognani abologna at redhat.com
Mon Oct 23 14:16:05 UTC 2017


On Mon, 2017-10-23 at 10:35 +0200, Pavel Hrdina wrote:
> +- name: Disable sendmail
> +  lineinfile:
> +    path: /etc/rc.conf
> +    create: yes
> +    backup: yes
> +    regexp: '^sendmail_enable.*'
> +    line: 'sendmail_enable="NONE"'
> +  when:
> +    - os_name == 'FreeBSD'

According to rc.sendmail(8), setting sendmail_enable to NONE is
deprecated: you're supposed to disable each part of sendmail
separately, as outlined in [1].

Note that sshd is started right before sendmail:

  ...
  Performing sanity check on sshd configuration.
  Starting sshd.
  Starting sendmail_submit.
  Oct 23 14:11:43 libvirt-freebsd-11 sm-mta[664]: My unqualified...

so the delay in starting sendmail is not affecting your ability
to use the machine - unless you need to log in on the serial console,
which you really shouldn't for regular operation anyway.

All in all, I think we can leave things as they are.


[1] https://www.freebsd.org/doc/handbook/mail-changingmta.html
-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list