Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Looking for a way to make dnsmasq config changes within a libvirt guest VM running on a RHEL 8 workstation. The desired feature appears to be in libvirt 5.6 (https://www.libvirt.org/news.html#v5.6.0)
Version-Release number of selected component (if applicable):
8.1
RFE results:
The ability to make config changes to dnsmasq when it is running as a libvirt guest on a RHEL 8 workstation host.
The Customer is asking if this will be in a errata for RHEL 8.2?
Comment 10yalzhang@redhat.com
2020-07-13 02:39:43 UTC
Just to confirm, is this feature request in this bug?
"network: Allow passing arbitrary options to dnsmasq
This works similarly to the existing support for passing arbitary options to QEMU, and just like that feature it comes with no support guarantees. "
- from libvirt 5.6 news
Comment 11yalzhang@redhat.com
2020-08-13 10:42:49 UTC
Test on libvirt-6.0.0-25.module+el8.2.1+7154+47ffd890.x86_64, the result is as expected:
1. define network with dnsmasq options:
# virsh net-dumpxml test
<network xmlns:dnsmasq='http://libvirt.org/schemas/network/dnsmasq/1.0'>
<name>test</name>
<uuid>1936cb80-1067-4dc8-8648-ce5f3e1efa13</uuid>
<forward mode='nat'/>
<bridge name='virbr2' stp='on' delay='0'/>
<mac address='52:54:00:d9:19:80'/>
<ip address='192.168.200.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.200.2' end='192.168.200.254'/>
</dhcp>
</ip>
<ip family='ipv6' address='2001:db8:ca2:2::1' prefix='64'>
<dhcp>
<range start='2001:db8:ca2:2::10' end='2001:db8:ca2:2::ff'/>
</dhcp>
</ip>
<dnsmasq:options>
<dnsmasq:option value='cname=*.foo.example.com,master.example.com'/>
</dnsmasq:options>
</network>
2. start the network the check the config files:
# virsh net-start test
Network test started
# cat /var/lib/libvirt/dnsmasq/test.conf
...
cname=*.foo.example.com,master.example.com
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2020:4676