Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558414 - app-misc/pax-utils-1.1[seccomp]: scanelf: seccomp_load failed: Invalid argument when kernel lacks CONFIG_SECCOMP
Summary: app-misc/pax-utils-1.1[seccomp]: scanelf: seccomp_load failed: Invalid argume...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 558954 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-22 12:07 UTC by Piotr Karbowski (RETIRED)
Modified: 2015-08-28 00:34 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 Piotr Karbowski (RETIRED) gentoo-dev 2015-08-22 12:07:36 UTC
I've noticed that I am getting a lot of errors like

    scanelf: seccomp_load failed: Invalid argument

While running emerge. scanelf from pax-utils does have seccomp useflag enabled but my kernel does not have CONFIG_SECCOMP symbol. 

Until recently it wasn't like that.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2015-08-23 18:12:22 UTC
duping to a newer bug because it has more details

*** This bug has been marked as a duplicate of bug 558482 ***
Comment 2 SpanKY gentoo-dev 2015-08-27 18:45:53 UTC
not a dupe ... read it too fast
Comment 3 SpanKY gentoo-dev 2015-08-27 18:45:56 UTC
*** Bug 558954 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2015-08-27 18:48:07 UTC
note: this is a non-fatal warning and shouldn't cause any problems when emerging
Comment 5 SpanKY gentoo-dev 2015-08-28 00:34:17 UTC
i've changed the seccomp code to ignore EINVAL since that's what the kernel returns when seccomp is disabled.  kind of sucks, but so it goes.

http://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=6fa4f469c4b0f44259b1cc8c984bfcaa655a2f83