[FS#464] Syslog dnsmasq errors, where dnsmasq thinks it is running as pid 1 (procd) when using ujail/seccomp

LEDE Bugs lede-bugs at lists.infradead.org
Sat Feb 4 16:55:06 PST 2017


The following task has a new comment added:

FS#464 - Syslog dnsmasq errors, where dnsmasq thinks it is running as pid 1 (procd) when using ujail/seccomp
User who did this - KPapad (kpv)

----------
Same build, after reboot, no lingering ujail process and dnsmasq error.

Note: Behavior is inconsistent, changes from boot to boot.

BusyBox v1.26.2 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (SNAPSHOT, r3285-1a52d11)
    \________\/    -----------------------------------------------------------

root at LEDE:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1024 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW<  [kworker/0:0H]
    6 root         0 SW   [kworker/u2:0]
    7 root         0 SW   [rcu_sched]
    8 root         0 SW   [rcu_bh]
    9 root         0 SW   [migration/0]
   10 root         0 SW<  [netns]
   11 root         0 SW<  [perf]
   12 root         0 SW   [kworker/u2:1]
   13 root         0 SW<  [writeback]
  318 root         0 SW<  [crypto]
  319 root         0 SW<  [bioset]
  321 root         0 SW<  [kblockd]
  384 root         0 SW<  [ata_sff]
  496 root         0 SW   [kworker/0:1]
  509 root         0 SW   [kswapd0]
  510 root         0 SW<  [vmstat]
  580 root         0 SW   [fsnotify_mark]
  597 root         0 SW<  [pencrypt]
  599 root         0 SW<  [pdecrypt]
  619 root         0 SW<  [acpi_thermal_pm]
  657 root         0 SW<  [bioset]
  660 root         0 SW<  [bioset]
  663 root         0 SW<  [bioset]
  666 root         0 SW<  [bioset]
  669 root         0 SW<  [bioset]
  672 root         0 SW<  [bioset]
  675 root         0 SW<  [bioset]
  678 root         0 SW<  [bioset]
  692 root         0 SW   [scsi_eh_0]
  693 root         0 SW<  [scsi_tmf_0]
  696 root         0 SW   [scsi_eh_1]
  707 root         0 SW<  [scsi_tmf_1]
  710 root         0 SW   [scsi_eh_2]
  711 root         0 SW<  [scsi_tmf_2]
  714 root         0 SW<  [kpsmoused]
  771 root         0 SW<  [ipv6_addrconf]
  780 root         0 SW<  [deferwq]
  781 root         0 SW<  [bioset]
  785 root         0 SW<  [bioset]
  787 root         0 SW<  [kworker/0:1H]
  799 root         0 SW<  [ext4-rsv-conver]
 1052 root       776 S    /sbin/ubusd
 1059 root       968 S    /bin/ash --login
 1345 root         0 SW<  [cfg80211]
 1610 root       880 S    /sbin/logd -S 64
 1657 root      1172 S    /sbin/netifd
 1696 root       964 S    /usr/sbin/odhcpd
 1741 root       848 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 1909 root       964 S    udhcpc -p /var/run/udhcpc-eth1.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth1 -C -O 121
 1926 root       736 S    odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 eth1
 2032 root      1588 S    /usr/lib/ipsec/starter --daemon charon
 2034 root      4120 S    /usr/lib/ipsec/charon --use-syslog
 2113 root       968 S <  /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.lede.pool.ntp.org -p 1.lede.pool.ntp.org -p 2.lede.pool.ntp.org -p 3.lede.pool.ntp.org
 2410 root       968 S    {mwan3track} /bin/sh /usr/sbin/mwan3track wan eth1 2 1 2 5 3 8 208.67.220.220 208.67.222.222 8.8.8.8 8.8.4.4
 2650 dnsmasq   1024 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg02411c -k -x /var/run/dnsmasq/dnsmasq.cfg02411c.pid
 3578 root       920 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 3584 root       968 S    -ash
 3601 root       964 S    sleep 5
 3606 root       964 R    ps
root at LEDE:~# logread |fgrep dnsm
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq[1]: started, version 2.76 cachesize 150
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP conntrack ipset no-auth no-DNSSEC no-ID loop-detect inotify
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq[1]: DNS service limited to local subnets
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq-dhcp[1]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq[1]: using local addresses only for domain lan
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.auto
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq[1]: using local addresses only for domain lan
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq[1]: using nameserver 10.0.3.1#53
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg02411c - 2 addresses
Sun Feb  5 00:47:38 2017 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sun Feb  5 00:48:13 2017 daemon.crit dnsmasq[1]: failed to bind DHCP server socket: Address in use
Sun Feb  5 00:48:13 2017 daemon.crit dnsmasq[1]: FAILED to start up
Sun Feb  5 00:48:18 2017 daemon.crit dnsmasq[1]: failed to bind DHCP server socket: Address in use
Sun Feb  5 00:48:18 2017 daemon.crit dnsmasq[1]: FAILED to start up
Sun Feb  5 00:48:23 2017 daemon.crit dnsmasq[1]: failed to bind DHCP server socket: Address in use
Sun Feb  5 00:48:23 2017 daemon.crit dnsmasq[1]: FAILED to start up
Sun Feb  5 00:48:28 2017 daemon.crit dnsmasq[1]: failed to bind DHCP server socket: Address in use
Sun Feb  5 00:48:28 2017 daemon.crit dnsmasq[1]: FAILED to start up
Sun Feb  5 00:48:33 2017 daemon.crit dnsmasq[1]: failed to bind DHCP server socket: Address in use
Sun Feb  5 00:48:33 2017 daemon.crit dnsmasq[1]: FAILED to start up
Sun Feb  5 00:48:33 2017 daemon.info procd: Instance dnsmasq::cfg02411c s in a crash loop 6 crashes, 0 seconds since last crash
root at LEDE:~# 

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=464#comment1614



More information about the lede-bugs mailing list