# grep -v \# /etc/conf.d/fprobe IFACE=eth0 FILTER="host 192.168.138.47" SNMP_IFACE="${IFACE//eth}" CHROOT="/var/empty" USER=nobody PIDFILE_ID='' REMOTEIP=127.0.0.1 PORT=2055 TYPE='' COLLECTORS="${REMOTEIP}:${PORT}/${LOCALIP}/${TYPE}" # /etc/init.d/fprobe restart fprobe | * Caching service dependencies ... [ ok ] fprobe | * Starting fprobe ... fprobe |Error in collector #1 parameters fprobe | * start-stop-daemon: failed to start `/usr/sbin/fprobe' [ !! ] fprobe | * ERROR: fprobe failed to start When i change in init script line: - start-stop-daemon --start --exec $BIN \ + start-stop-daemon --start --exec /bin/echo \ i'm getting: # /etc/init.d/fprobe restart fprobe | * Caching service dependencies ... [ ok ] fprobe | * Starting fprobe ... fprobe |-p -f 'host 192.168.1.1' -i eth0 -x 0 -c /var/empty -u nobody -l 1: 127.0.0.1:2055// [ ok ] now, lets try to start fprobe with parameters displayed earlier: # fprobe -p -f 'host 192.168.1.1' -i eth0 -x 0 -c /var/empty -u nobody -l 1: 127.0.0.1:2055// # pgrep fprobe 16400 So the parameters are correct, i suppose the problem is in way of building of OPTS variable. Reproducible: Always Steps to Reproduce: 1. emerge -1 net-analyzer/fprobe 2. set FILTER="host 192.168.1.1" in conf.d/fprobe 3. /etc/init.d/fprobe start
One year ping.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91c0ed83a72211fdd90b0db9f19d77cca2110e0 commit d91c0ed83a72211fdd90b0db9f19d77cca2110e0 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2021-06-25 19:37:30 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2021-06-25 19:39:00 +0000 net-analyzer/fprobe: ensure pcap filter is always set Closes: https://bugs.gentoo.org/301110 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> net-analyzer/fprobe/files/conf.d-fprobe-r1 | 72 ++++++++++++++++++++++++++++++ net-analyzer/fprobe/files/init.d-fprobe-r1 | 40 +++++++++++++++++ net-analyzer/fprobe/fprobe-1.1-r4.ebuild | 43 ++++++++++++++++++ 3 files changed, 155 insertions(+)