On 29/05/15 22:00, Julian Andres Klode wrote:
> On Tue, Feb 10, 2015 at 09:40:37AM +0000, Simon McVittie wrote:
>> Do you have dbus installed?
>
> Of course I have, I'm not living under a rock.
Just checking, because #769486, #776530 were tied up with whether dbus
was installed or not.
>> If it is desirable for the systemd unit to support the various
>> options that can appear in /etc/default/dnsmasq (particularly the
>> deprecated ones like MAILHOSTNAME) then I don't think that
>> can be done without a shell script wrapper of some sort
>
> AFAICT, it uses the standard syntax that is natively supported
> by systemd's EnvironmentFile option.
Sort of. If you uncomment this:
#DOMAIN_SUFFIX=`dnsdomainname`
then that's not going to work as an EnvironmentFile. Similarly, this
sort of thing in /etc/init.d/dnsmasq:
if [ -f $ROOT_DS ]; then
DNSMASQ_OPTS="$DNSMASQ_OPTS `sed -e s/". IN DS "/--trust-anchor=.,/
-e s/" "/,/g $ROOT_DS | tr '\n' ' '`"
fi
is not going to work without wrapping dnsmasq in some sort of script.
S
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]