confusing but harmless warning messages printed about syscalls
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Low
|
Dan Streetman |
Bug Description
[impact]
systemd prints messages that complain about system calls such as:
/lib/systemd/
[test case]
boot bionic system with 4.15 kernel that does not support pidfd_getfd syscall
[regression potential]
any regression would prevent correct configuration of seccomp syscall filters, and/or failure to load/parse unit files that contain SystemCallFilter= directives
[scope]
this is needed only for b
this is fixed upstream by commit 13d92c6300edbb1
this is not needed for x as seccomp handling is completely different in that older release
[other info]
as the warning states, the invalid system call is ignored, which is the correct action, and the patch to fix this just changes the log to debug instead of warning (along with consolidation of several flag params into a single flag enum). Thus, no actual change in behavior should occur (other than logging the messages as debug instead of warning).
Also note that since this warning is the result of systemd's call into libseccomp2 to query the syscall, if libseccomp2 recognizes the syscall, the message will not be printed; the previous libseccomp2 for bionic (version 2.4.3) did not know the pidfd_getfd syscall, while the latest (version 2.5.1) does. So this is reproducable with libseccomp2 version 2.4.3 but not the latest 2.5.1.
Changed in systemd (Ubuntu): | |
status: | New → Fix Released |
Changed in systemd (Ubuntu Bionic): | |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Dan Streetman (ddstreet) |
Hello Dan, or anyone else affected,
Accepted systemd into bionic-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ systemd/ 237-3ubuntu10. 48 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- bionic to verification- done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- bionic. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.