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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux