Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 186791 Details for
Bug 277671
libvirt starts dnsmasq inappropriately, preventing DNS queries from working
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Shell script to workaround the problem
dnsmasq.virtfix (text/plain), 1.45 KB, created by
Russell Robinson
on 2007-09-05 01:56:45 UTC
(
hide
)
Description:
Shell script to workaround the problem
Filename:
MIME Type:
Creator:
Russell Robinson
Created:
2007-09-05 01:56:45 UTC
Size:
1.45 KB
patch
obsolete
>#/bin/bash ># ># File: /usr/sbin/dnsmasq.virtfix ># Author: Russell Robinson, 5-Sep-07, russellr@openconcepts.com.au ># Description: ># Works around inappropriate parameters used by libvirt to call dnsmasq. ># The default parameters used by libvirt prevent dnsmasq from answering ># DNS queries for the virtual machines that are assigned IP addresses ># via DHCP. ># Installation instructions: ># Renamed /usr/sbin/dnsmasq to /usr/sbin/dnsmasq.real. ># Install this script as /usr/sbin/dnsmasq ># chmod 755 /usr/sbin/dnsmasq ># > >declare -a aParams >declare -i nParam >declare sArg > > # > # log the actual parameters passed > # >echo -n "`date`: dnsmasq options passed: " >>/tmp/dnsmasq.log >for sArg >do > echo -n " '$sArg'" >>/tmp/dnsmasq.log >done >echo >>/tmp/dnsmasq.log > >nParam=0 >aParams[$((nParam++))]="--log-queries" # doesn't seem to do anything >aParams[$((nParam++))]="--domain=#" # use first "search" domain from resolv.conf >for sArg >do > if [[ "$sArg" = "--bind-interfaces" ]] > then > # > # causes a problem with ipv6 listening > # > continue > elif [[ "$sArg" = "--listen-address" ]] > then > # > # skip this because we want to serve DNS for the virtual machines > # > shift > continue > fi > aParams[$((nParam++))]="$sArg" >done > > # > # log the parameters we will be using > # >echo -n "CALLING dnsmasq.real" >>/tmp/dnsmasq.log >for sArg in "${aParams[@]}" >do > echo -n " '$sArg'" >>/tmp/dnsmasq.log >done >echo >>/tmp/dnsmasq.log >exec /usr/sbin/dnsmasq.real "${aParams[@]}" 2>>/tmp/dnsmasq.log
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 277671
: 186791 |
187181
|
187191