Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630584 - net-misc/lldpd-0.9.7 - [CRIT/seccomp] invalid syscall not allowed: stop here
Summary: net-misc/lldpd-0.9.7 - [CRIT/seccomp] invalid syscall not allowed: stop here
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-10 13:37 UTC by Bertrand Jacquin
Modified: 2017-09-11 18:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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