[pkg-lxc-devel] Bug#982507: lxc-net/dnsmasq-base shouldn't be required

Antonio Terceiro terceiro at debian.org
Fri Feb 12 11:08:20 GMT 2021


Control: tags -1 + wontfix

On Wed, Feb 10, 2021 at 10:01:18PM -0500, Matt Corallo wrote:
> Package: lxc
> Version: 1:4.0.6-1
> 
> I've been happily using lxc on debian for some time, without dnsmasq-base or
> lxc-net. The recent addition of dnsmasq-base and lxc-net as a required
> dependency is somewhat surprising, given lxc-net edits IP address
> information for lxc-attched bridges which were created outside of lxc-net,
> and dnsmasq doubly so given DSA 4844-1 was only a few days ago. Several
> commentors on IRC seemed equally surprised by this change.
> 
> Is there more information available for why lxc-net is now an explicit
> dependency and not optional or can this change be reverted?

lxc-net has been enabled by default since May 2020, because for most
users setting up container networking by hand is a pain in the ass.

Now, dnsmasq-base has beem moved from Recomends: to Depends: because if
you install lxc without dnsmasq-base, lxc-net, which is now enabled by
default, will fail to start and therefore the installation will fail,
which is a violation of Debian policy.

If you want to set up your own bridge by hand, and configure lxc by
hand, that's still possible: just disable the lxc-net service.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20210212/e92e7d5b/attachment.sig>


More information about the Pkg-lxc-devel mailing list