[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debian 13 - no virtual machines



Hello,

I migrated Debian from 12 to 13 (Trixie) following the usual procedure. Most things work fine after that. Unfortunately, one important thing does not. I cannot create virtual machines with VMM (KVM). (This all worked with Debian 12).

When starting the “default” network, the following error occurs, as well as on the command line with virsh:

virsh net-start default   --->   “dnsmasq: failed to create listening socket for 192.168.122.1: Address already in use”

There are several links on Google about this error, in fact for several Linux distributions, but some of them are from previous years and are not helpful.

I have tried a few hints (and afterwards undone them again), but nothing has helped so far. I don't understand everything or can't try everything because I'm not firm in network technology and, in particular, don't understand how dnsmasq works and how bridges work.

The error seems to have been known for some time (March 2024), see here: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/2055776. But they didn't want to fix it.

Some more details:

a) ss -tunlp | grep "168.122"   --->   no result

b) ss -tunlp | grep 53    --> several lines, all with pid=1227  (/usr/sbin/named -f -u bind)

c) systemd-resolved is not running


The following questions come to mind:

1. Does anyone have the same problem with Debian 13? Does anyone know of a solution for Debian 13?

2. One possible solution mentioned is to downgrade a package in Ubuntu: “apt install dnsmasq-base=2.86-1.1”. This package is not available in Debian... I could try to get the package from Ubuntu, but I don't know if it won't be overwritten during the next upgrade. Did anybody try this?

3. Does the error also occur when trixie is freshly installed (instead a migration from a previous version)? Did anybody thy this?

Thanks for your answers,

Michael


Reply to: