[FS#878] procd-ujail dnsmasq cmd-line missing the -n argument

LEDE Bugs lede-bugs at lists.infradead.org
Fri Jun 30 17:21:35 PDT 2017


The following task has a new comment added:

FS#878 - procd-ujail dnsmasq cmd-line missing the -n argument
User who did this - KPapad (kpv)

----------
Same system, a few hours (and jailed dnsmasq restarts) later:

14194 root      2228 S    {e} /sbin/ujail -n e -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsmasq.d -r /tm
14195 dnsmasq   1448 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg02411c -k -x /var/run/dnsmasq/dnsmasq.cfg02411c.pid

root at OpenWrt:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1552 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    5 root         0 SW<  [kworker/0:0H]
    7 root         0 SW<  [netns]
   34 root         0 SW<  [writeback]
   71 root         0 SW<  [crypto]
   73 root         0 SW<  [bioset]
   75 root         0 SW<  [kblockd]
  108 root         0 SW   [kswapd0]
  161 root         0 SW   [fsnotify_mark]
  170 root         0 SW   [spi0]
  187 root         0 SW<  [bioset]
  192 root         0 SW<  [bioset]
  197 root         0 SW<  [bioset]
  202 root         0 SW<  [bioset]
  207 root         0 SW<  [bioset]
  212 root         0 SW<  [bioset]
  307 root         0 SW<  [ipv6_addrconf]
  314 root         0 SW<  [deferwq]
  316 root         0 SW<  [kworker/0:1H]
  406 root         0 SWN  [jffs2_gcd_mtd3]
  465 root      1200 S    /sbin/ubusd
  478 root       908 S    /sbin/askfirst /bin/ash --login
  741 root         0 SW<  [cfg80211]
 1007 root      1272 S    /sbin/logd -S 64
 1078 root      1720 S    /sbin/netifd
 1117 root      1412 S    /usr/sbin/odhcpd
 1151 root      1104 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 1868 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.3.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.3 -C -O 121
 1870 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -C -O 121
 2863 root      1780 S    /usr/lib/ipsec/starter --daemon charon
 2865 root      6296 S    /usr/lib/ipsec/charon --use-syslog
 2984 root      1212 S <  /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 1.gr.pool.ntp.org -p 0.europe.pool.ntp.org -p 2.europe.pool.ntp.org
 6440 root      1176 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 6441 root      1212 S    -ash
 6593 root      1668 S    /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant-wlan0-bak.pid -D nl80211 -i wlan0-bak -c /var/run/wpa_supplicant-wlan0-bak.conf -C /var/run/wpa_supplicant
 7979 root         0 SW   [kworker/0:1]
12795 root         0 SW   [kworker/0:0]
13755 root      1208 S    udhcpc -p /var/run/udhcpc-wlan0-bak.pid -s /lib/netifd/dhcp.script -f -t 0 -i wlan0-bak -C -O 121
14194 root      2228 S    {e} /sbin/ujail -n e -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsmasq.d -r /tm
14195 dnsmasq   1448 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg02411c -k -x /var/run/dnsmasq/dnsmasq.cfg02411c.pid
14487 root         0 SW   [kworker/u2:2]
14502 root         0 SW   [kworker/u2:1]
14529 root         0 SW   [kworker/u2:0]
14530 root      1208 R    ps
root at OpenWrt:~# 

----------

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



More information about the lede-bugs mailing list