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.
Bug 1805998 - [RFE] Pull Libvirt 5.6 dnsmasq feature into RHEL 8
Summary: [RFE] Pull Libvirt 5.6 dnsmasq feature into RHEL 8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libvirt
Version: 8.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.3
Assignee: Virtualization Maintenance
QA Contact: yalzhang@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-21 19:52 UTC by Paul Gozart
Modified: 2023-12-15 17:23 UTC (History)
7 users (show)

Fixed In Version: libvirt-6.0.0-17.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:53:03 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4676 0 None None None 2020-11-04 02:54:00 UTC

Description Paul Gozart 2020-02-21 19:52:44 UTC
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.

Comment 8 jloscar 2020-06-18 10:15:50 UTC
The Customer is asking if this will be in a errata for RHEL 8.2?

Comment 10 yalzhang@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 11 yalzhang@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

Comment 14 errata-xmlrpc 2020-11-04 02:53:03 UTC
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


Note You need to log in before you can comment on or make changes to this bug.