When USE=seccomp is enabled, net-misc/lldpd-0.7.11-r3 fail to start: # /usr/sbin/lldpd -d -x -cc -S foo.bar -I eth0 -m 192.0.2.42 2015-10-31T06:47:22 [WARN/control] unable to connect to socket /run/lldpd.socket: Connection refused 2015-10-31T06:47:22 [WARN/lldpctl] unknown command from argument 1: `#` 2015-10-31T06:47:22 [WARN/lldpctl] unknown command from argument 1: `#` 2015-10-31T06:47:22 [WARN/seccomp] invalid syscall attempted: fcntl(72) Reproducible: Always
Could you please test with lldpd-0.7.13? If that works we will stabilize it, and remove the broken version.
(In reply to Patrick McLean from comment #1) > Could you please test with lldpd-0.7.13? > If that works we will stabilize it, and remove the broken version. Same happens :/
Does this happen with lldpd-0.9.3? I have not been able to reproduce these issues locally
(In reply to Patrick McLean from comment #3) > Does this happen with lldpd-0.9.3? > > I have not been able to reproduce these issues locally Same: Jun 9 13:47:01 vulture2 lldpd[16347]: protocol LLDP disabled Jun 9 13:47:01 vulture2 lldpd[16347]: protocol CDPv1 enabled Jun 9 13:47:01 vulture2 lldpd[16347]: protocol CDPv2 enabled and forced Jun 9 13:47:01 vulture2 lldpd[16347]: libevent 2.0.22-stable initialized with epoll method Jun 9 13:47:01 vulture2 lldpd[16347]: enable SNMP subagent Jun 9 13:47:01 vulture2 lldpd[16347]: Created directory: /var Jun 9 13:47:01 vulture2 lldpd[16347]: Created directory: /var/lib Jun 9 13:47:01 vulture2 lldpd[16347]: Created directory: /var/lib/net-snmp Jun 9 13:47:01 vulture2 lldpd[16347]: Created directory: /var/lib/net-snmp/mib_indexes Jun 9 13:47:01 vulture2 lldpd[16346]: invalid syscall attempted: fcntl(72) Jun 9 13:47:01 vulture2 lldpd[16346]: invalid syscall not allowed: stop here Jun 9 13:47:02 vulture2 /etc/init.d/lldpd[16344]: start-stop-daemon: /usr/sbin lldpd died
Created attachment 437028 [details, diff] lldpd-0.9-seccomp-fcntl.patch Does this patch fix the problem (you should be able to drop it in /etc/portage/patches/net-misc/lldpd and rebuild the package)
(In reply to Patrick McLean from comment #5) Tested. Working ok: Jun 10 18:48:39 vulture2 lldpd[29381]: protocol LLDP disabled Jun 10 18:48:39 vulture2 lldpd[29381]: protocol CDPv1 enabled Jun 10 18:48:39 vulture2 lldpd[29381]: protocol CDPv2 enabled and forced Jun 10 18:48:39 vulture2 lldpd[29381]: libevent 2.0.22-stable initialized with epoll method Jun 10 18:48:39 vulture2 lldpd[29381]: enable SNMP subagent Jun 10 18:48:39 vulture2 lldpd[29381]: NET-SNMP version 5.7.3 AgentX subagent connected Jun 10 18:48:39 vulture2 lldpd[29381]: error while receiving frame on enp4s0f1: Network is down Jun 10 18:48:39 vulture2 lldpd[29381]: error while receiving frame on enp4s0f2: Network is down Jun 10 18:48:39 vulture2 lldpd[29381]: error while receiving frame on enp4s0f3: Network is down
Fixed in lldpd-0.9.3-r1 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f6a28b7a6969de5040c5694757192d2413db1e