Hi Simon,

Thanks for your reply.

Excerpts from Simon Kelley's message of 2011-09-02 17:04:54 +0200:
> >  • It runs dnsmasq as user 'dnsmasq' - I missed this one and we can easily 
> > add
> >    it to the service file (User=dnsmasq in the [Service] section).
> >    Simon, what do you think? Is running dnsmasq as user dnsmasq by default a
> >    sensible decision?
> 
> Yes, it is.
Alright, I will change the service file to do that.

> >  • LANG gets set if it is defined in /etc/default/locale. I’m not sure what 
> > the
> >    effects of that are (I don’t set LANG on my system, I prefer the LC_*
> >    settings). Does it somehow affect the behaviour of dnsmasq when 
> > resolving?
> >    If so, how?
> 
> It affects the charset used when reading internationalised domain names
> from configuration files and the translation used for messages. It's needed.
OK. I think this could be done with EnvironmentFile=-/etc/default/locale. I
will test it and add it (including a comment on why it is necessary).

> There are none which can't be changed from the configuration file, and
> most of the environment variables are indeed obsolete: The non-obsolete
> ones are documented in the /etc/default/dnsmasq file.
> 
> 1) set the domain to the system value
> 2) use a different configuration file.
> 3) set a couple of options which are needed by the Debian installation,
> without requiring the  user to have them in the configuration file.
> These are the dnsmasq user, and the CONFIG_DIR value.
Will look at those tomorrow, got to go now.

> The initscript sleeps for a couple of seconds between stopping and then
> starting the daemon on a restart. That is necessary.
You consider that functionality? It sounds wrong. Why exactly is it necessary?
:)

Best regards,
Michael



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to