improve seccomp load failure error message

Bug #1595030 reported by Chad Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Wishlist
Unassigned
ubuntu-core-launcher (Ubuntu)
Triaged
Low
Unassigned

Bug Description

systemd[1]: Started Service for snap application tor-middle-relay.daemon.
ubuntu-core-launcher[21741]: seccomp_load failed with -22
ubuntu-core-launcher[21741]: aborting. errmsg: Invalid argument
systemd[1]: snap.tor-middle-relay.daemon.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: snap.tor-middle-relay.daemon.service: Unit entered failed state.
systemd[1]: snap.tor-middle-relay.daemon.service: Failed with result 'exit-code'.
systemd[1]: snap.tor-middle-relay.daemon.service: Service hold-off time over, scheduling restart.
systemd[1]: Stopped Service for snap application tor-middle-relay.daemon.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapd 2.0.9
ProcVersionSignature: Ubuntu 3.2.0-1412.16-omap4 3.2.14
Uname: Linux 3.2.0-1412-omap4 armv7l
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: armhf
Date: Tue Jun 21 23:27:26 2016
SourcePackage: snapd
UpgradeStatus: Upgraded to xenial on 2016-05-11 (42 days ago)

Revision history for this message
Chad Miller (cmiller) wrote :
Revision history for this message
Chad Miller (cmiller) wrote :

$ snappy-debug.security
seccomp_load failed with -22
aborting. errmsg: Invalid argument

Revision history for this message
Chad Miller (cmiller) wrote :

This may be that some functionality isn't in the kernel in this snappy-on-classic machine (Pandaboard hardware).

If so, the bug in snappy is that the error message is completely useless.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

ubuntu-core-launcher[21741]: seccomp_load failed with -22 does seem to indicate that the kernel may not have seccomp configured. I suggest looking at https://github.com/leannogasawara/sample-kernels to confirm you have everything needed (note, AIUI that page is temporary and will be incorporated somewhere more official).

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Moving to ubuntu-core-launcher for the error message.

affects: snapd (Ubuntu) → ubuntu-core-launcher (Ubuntu)
Zygmunt Krynicki (zyga)
Changed in ubuntu-core-launcher (Ubuntu):
status: New → Triaged
Zygmunt Krynicki (zyga)
Changed in snap-confine:
status: New → Triaged
Zygmunt Krynicki (zyga)
Changed in snap-confine:
milestone: none → 1.0.35
assignee: nobody → Zygmunt Krynicki (zyga)
Zygmunt Krynicki (zyga)
Changed in snap-confine:
milestone: 1.0.35 → none
Zygmunt Krynicki (zyga)
summary: - seccomp load failed for snap install
+ improve seccomp failure error message
summary: - improve seccomp failure error message
+ improve seccomp load failure error message
Changed in snap-confine:
importance: Undecided → Wishlist
Changed in ubuntu-core-launcher (Ubuntu):
importance: Undecided → Low
Zygmunt Krynicki (zyga)
Changed in snap-confine:
assignee: Zygmunt Krynicki (zyga) → nobody
affects: snap-confine → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.