[Dnsmasq-discuss] dnsmasq interaction with Android logcat

Bruno De Paoli bruno.depaoli at bluetreesystems.com
Tue Nov 18 17:25:52 GMT 2014


I'm running dnsmasq on an Android Gingerbread platform.



When I start dnsmasq via the Android service utility I discovered that a significant number of entries are missing from the logcat output. Only a small number at the start are in the log.



Also if I enter 'logcat -c' then the log is completely full of the following entries:



01-02 01:59:22.750 E/dnsmasq ( 2540): Unknown cmd ''

01-02 01:59:22.750 E/dnsmasq ( 2540): Unknown cmd ''

01-02 01:59:22.750 E/dnsmasq ( 2540): Unknown cmd ''

01-02 01:59:22.750 E/dnsmasq ( 2540): Unknown cmd ''

01-02 01:59:23.080 E/dnsmasq ( 2540): Unknown cmd ''

01-02 01:59:23.080 E/dnsmasq ( 2540): Unknown cmd ''

01-02 01:59:23.080 E/dnsmasq ( 2540): Unknown cmd ''



'logcat -c' clears the entire log so this is very strange indeed.





If I start dnsmasq via the command line (i.e. /system/bin/dnsmasq -k -C /system/etc/dnsmasq.conf) then I do not see this behavior.





Has anyone seen anything like this before or suggest what might be happening?



Here's the line in init.rc that defines the service



service dhcpsrv  /system/bin/logwrapper  /system/bin/dnsmasq -k -C /system/etc/dnsmasq.conf

    disabled

    oneshot





Thanks,

Bruno





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20141118/ac4760ff/attachment.html>


More information about the Dnsmasq-discuss mailing list