In my experience,

/etc/init/libvirt-bin.conf is used for ubuntu 12.04 (add "-d -l", any
change in /etc/default/libvirt-bin has no impact)
/etc/default/libvirt-bin is used for ubuntu 16.04. We use -l . "-d" will
cause libvirt-bin fails to restart. If libvirt-bin fails to restart, please
execute "systemctl stop libvirt-bin.socket" then restart libvirt-bin.
/etc/default/libvirtd is used for ubuntu 17.04 . same as ubuntu 16.04 (-d
is not needed).

-Wei


2018-01-16 6:36 GMT+01:00 Özhan Rüzgar Karaman <oruzgarkara...@gmail.com>:

> Hi Paul;
> Ubuntu 16.04 has systemd installed and it directly controls libvirtd
> process so if you add -d to /etc/default/libvirt-bin file libvirtd tries to
> control to its self and then you have problem, you could not
> stop/start/restart libvirtd service via systemd. Only adding -l flag to
> libvirtd_opts is enough for Cloudstack.
>
> We also make no change on /etc/init/libvirt-bin.conf file for 16.04
>
> For Ubuntu 16.04 you need to add both -d and -l flags for
> /etc/default/libvirt-bin
> file.
>
> Thanks
> Özhan
>
> On Mon, Jan 15, 2018 at 11:34 PM, Paul Angus <paul.an...@shapeblue.com>
> wrote:
>
> > Hey guys,
> >
> > I'm no Ubuntu Guru, so I want to check that I have this right....
> >
> > Our documentation says:
> > --------------------------
> > On Ubuntu: modify /etc/default/libvirt-bin
> > Add "-l" to the following line
> > libvirtd_opts="-d"
> > so it looks like:
> > libvirtd_opts="-d -l"
> > ---------------------------
> >
> > I've found on Ubuntu 16.04 that you seem to need:
> > /etc/default/libvirt-bin
> > to have:
> > libvirtd_opts="-l"
> >
> > and
> > /etc/init/libvirt-bin.conf
> > to have:
> > env libvirtd_opts="-d -l"
> >
> > Can anyone confirm/deny this and should it also be this way for Ubuntu
> > 14.04 ?
> >
> >
> > If so I'll update the documentation...
> >
> >
> > cheers
> >
> >
> >
> > Kind regards,
> >
> > Paul Angus
> >
> >
> > paul.an...@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > @shapeblue
> >
> >
> >
> >
>

Reply via email to