<div dir="ltr"><div>Package: libvirt</div><div>Version: 3.0.0-4</div><div>Severity: normal</div><div><br></div><div>Hi libvirt Maintainers,</div><div><br></div><div><div>Debian has been carrying the patch</div><div>"debian/Don-t-enable-default-network-on-boot.patch" for years now</div><div>and I agree that unconditionally enabling default networking</div><div>is too much messing with a user installation/network config.</div><div><br></div><div>We carry some [pre/post]inst code for quite a while now and it is</div><div>working fine. The code is actually from Serge and carried a long time</div><div>(since 2011, just as your patch is from 2008). Yet I didn't find a</div><div>bug/discussion to consider inclusion into Debian while I think it would</div><div>help there as well to fix the same issue.</div><div><br></div><div>Other than upstream which enables the default network unconditionally</div><div>this solution will essentially:</div><div>  - autostart default network if there is no conflicting network that</div><div>    will prevent it</div><div>  - on upgrades keep whatever the user set as autostart config</div><div><br></div><div>I don't like too much that to do so, it makes some assumptions on how</div><div>libvirt works internally. For example ln -s for autostart and depending</div><div>on output of other tools e.g. ip. But, as I mentioned, it is working fine</div><div>for years now and the convenience of just having your default network</div><div>around and running after installing is really great.</div></div><div><br></div><div>Attached is a patch on top of latest libvirt git in experimental, as a change</div><div>like this would only ever be post strech anyway I guess experimental is the place</div><div>to push it if you consider this an improvement for Debian as well.</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</div>