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

2017-10-23 Thread Andrea Bolognani
On Mon, 2017-10-23 at 16:52 +0200, Pavel Hrdina wrote: > Yes, I noticed that sshd is started before sendmail, but I didn't know > (properly checked) that setting it to "NONE" is deprecated. From the > man page we would need to set 4 options to "NO" which is not worth it. Agreed. > Other possible

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

2017-10-23 Thread Pavel Hrdina
On Mon, Oct 23, 2017 at 04:16:05PM +0200, Andrea Bolognani wrote: > 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: 'sen

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

2017-10-23 Thread Andrea Bolognani
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.sen

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

2017-10-23 Thread Pavel Hrdina
You can notice it by looking for this message while booting: "Oct 23 08:31:19 libvirt-freebsd-10 sm-mta[667]: My unqualified host name (libvirt-freebsd-10) unknown; sleeping for retry" Signed-off-by: Pavel Hrdina --- guests/tasks/base.yml | 13 + 1 file changed, 13 insertions(+) di