Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 630584

Summary: net-misc/lldpd-0.9.7 - [CRIT/seccomp] invalid syscall not allowed: stop here
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bertrand Jacquin 2017-09-10 13:37:08 UTC
Hi,

net-misc/lldpd-0.9.7 fails to start when USE=seccomp is enabled:

# lldpd -dd
2017-09-10T15:35:32 [WARN/control] unable to connect to socket /run/lldpd.socket: Connection refused
2017-09-10T15:35:32 [WARN/seccomp] invalid syscall attempted: getpid(39)
2017-09-10T15:35:32 [CRIT/seccomp] invalid syscall not allowed: stop here
2017-09-10T15:35:32 [WARN/lldpctl] unable to get configuration from lldpd. A failure occurred during callback processing

This looks to be related to https://bugs.gentoo.org/show_bug.cgi?id=577576

[ebuild   R    ] net-misc/lldpd-0.9.7::gentoo  USE="cdp dot1 dot3 lldpmed readline seccomp snmp xml -doc -edp -fdp -graph -old-kernel -sanitizers -sonmp -static-libs {-test} -zsh-completion" 0 KiB


Reproducible: Always
Comment 1 Jonas Stein gentoo-dev 2017-09-11 09:23:41 UTC
Thank you for the report. Please *attach* the logfiles,
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29
Comment 2 Patrick McLean gentoo-dev 2017-09-11 18:38:09 UTC
Fixed in version bump to 0.9.8

commit bd72cd05304156a4a52c43db54eb05fa10e57e1b
Author: Patrick McLean <chutzpah@gentoo.org>
Date:   Mon Sep 11 11:21:35 2017 -0700

    net-misc/lldpd: Version bump to 0.9.8, add patch to whitelist getpid

    Gentoo-Bug: 630584
    Package-Manager: Portage-2.3.8, Repoman-2.3.3