[Pkg-libvirt-maintainers] Bug#862325: autostart default network if not conflicting

Christian Ehrhardt christian.ehrhardt at canonical.com
Thu May 11 10:08:50 UTC 2017


Package: libvirt
Version: 3.0.0-4
Severity: normal

Hi libvirt Maintainers,

Debian has been carrying the patch
"debian/Don-t-enable-default-network-on-boot.patch" for years now
and I agree that unconditionally enabling default networking
is too much messing with a user installation/network config.

We carry some [pre/post]inst code for quite a while now and it is
working fine. The code is actually from Serge and carried a long time
(since 2011, just as your patch is from 2008). Yet I didn't find a
bug/discussion to consider inclusion into Debian while I think it would
help there as well to fix the same issue.

Other than upstream which enables the default network unconditionally
this solution will essentially:
  - autostart default network if there is no conflicting network that
    will prevent it
  - on upgrades keep whatever the user set as autostart config

I don't like too much that to do so, it makes some assumptions on how
libvirt works internally. For example ln -s for autostart and depending
on output of other tools e.g. ip. But, as I mentioned, it is working fine
for years now and the convenience of just having your default network
around and running after installing is really great.

Attached is a patch on top of latest libvirt git in experimental, as a
change
like this would only ever be post strech anyway I guess experimental is the
place
to push it if you consider this an improvement for Debian as well.


-- 
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20170511/fea95051/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Autostart-default-network-if-not-colliding.patch
Type: text/x-patch
Size: 4541 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20170511/fea95051/attachment-0001.bin>


More information about the Pkg-libvirt-maintainers mailing list