On 05.09.21 22:45, Chris Green wrote:
> I did say what versions I was running.  The version which causes the
> problem is 2.80, the version that fixes it is 2.84.

On Mon, Sep 06, 2021 at 01:17:52PM +0200, Matus UHLAR - fantomas via 
Dnsmasq-discuss wrote:
I don't think dnsmasq comes with init script for RPI.
And I'm not sure anyone with RPI is reading this list (did someone reply so
far?)

On 06.09.21 12:51, Chris Green wrote:
It's part of the dnsmasq distribution on both Pi and Ubuntu and I
should think just about everywhere else:-

chris@dns$ dpkg -L dnsmasq

contents of dnsmasq packages across distributions is different than of
dnsmasq source package.

I've posted the diff as an attachment, I don't really think it's very
edifying! :-)

i prefer diff -u, often -ubBw which ignores space changes.

<    start-stop-daemon --start --quiet --pidfile /run/dnsmasq/$NAME.pid --exec 
$DAEMON -- \
<            -x /run/dnsmasq/$NAME.pid \
<            ${MAILHOSTNAME:+ -m $MAILHOSTNAME} \
<            ${MAILTARGET:+ -t $MAILTARGET} \
<            ${DNSMASQ_USER:+ -u $DNSMASQ_USER} \
<            ${DNSMASQ_INTERFACES:+ $DNSMASQ_INTERFACES} \
<            ${DHCP_LEASE:+ -l $DHCP_LEASE} \
<            ${DOMAIN_SUFFIX:+ -s $DOMAIN_SUFFIX} \
<            ${RESOLV_CONF:+ -r $RESOLV_CONF} \
<            ${CACHESIZE:+ -c $CACHESIZE} \
<            ${CONFIG_DIR:+ -7 $CONFIG_DIR} \
<            ${DNSMASQ_OPTS:+ $DNSMASQ_OPTS} \
<            || return 2


    start-stop-daemon --start --quiet --pidfile 
/run/dnsmasq/${NAME}${INSTANCE:+.${INSTANCE}}.pid --exec ${DAEMON} -- \
        -x /run/dnsmasq/${NAME}${INSTANCE:+.${INSTANCE}}.pid \
        ${MAILHOSTNAME:+ -m ${MAILHOSTNAME}} \
        ${MAILTARGET:+ -t ${MAILTARGET}} \
        ${DNSMASQ_USER:+ -u ${DNSMASQ_USER}} \
        ${DNSMASQ_INTERFACES:+ ${DNSMASQ_INTERFACES}} \
        ${DHCP_LEASE:+ -l ${DHCP_LEASE}} \
        ${DOMAIN_SUFFIX:+ -s ${DOMAIN_SUFFIX}} \
        ${RESOLV_CONF:+ -r ${RESOLV_CONF}} \
        ${CACHESIZE:+ -c ${CACHESIZE}} \
        ${CONFIG_DIR:+ -7 ${CONFIG_DIR}} \
        ${DNSMASQ_OPTS:+ ${DNSMASQ_OPTS}} \
        || return 2

any of these can cause differences if the variables contain whitespaces.
similar with other variables across the scripts.

You may look at your config file to find the culprit or run init script in
verbose mode, if you dare:


sh -x /etc/init.d/dnsmasq start




--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I intend to live forever - so far so good.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to