#20469: ujail or dnsmasq segfault with second instance on different port
-----------------------+------------------------
Reporter: openwrt@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Keywords: |
-----------------------+------------------------
Attempting to create a second instance of dnsmasq with a -C
/etc/dnsmasq2.conf and /var/run/dnmasq/dnsmasq2.pid, --no-resolv,
--leasefile-ro --dhcp-script=/bin/true, dropping /tmp/resolv.conf.auto and
/tmp/dhcp.leases from the jail mounts (and replacing /etc/dnsmasq.conf
with /etc/dnsmasq2.conf and removing the generated config file from the
jail mounts)
results in a segfault of either ujail or dnsmasq
Without using a jail for the second instance, dnsmasq starts both
instances correctly (first jailed, second not).
I use this to force an alternate DNS server for selected hosts (via
iptables DNAT for specific mac_source(s))
--
Ticket URL: <https://dev.openwrt.org/ticket/20469>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets