[Bug 1918696] Re: libseccomp 2.5.1 will break unit tests on ppc
Dan Streetman
1918696 at bugs.launchpad.net
Thu Apr 1 18:06:33 UTC 2021
bionic:
fails with systemd 237-3ubuntu10.45 and libseccomp/2.5.1-1ubuntu1~18.04.1
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/ppc64el/s/systemd/20210330_001358_e01e0@/log.gz
pass with systemd/237-3ubuntu10.46 and libseccomp/2.5.1-1ubuntu1~18.04.1
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/ppc64el/s/systemd/20210401_151939_a172a@/log.gz
** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1918696
Title:
libseccomp 2.5.1 will break unit tests on ppc
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Bionic:
Fix Committed
Status in systemd source package in Focal:
Fix Committed
Status in systemd source package in Groovy:
Fix Committed
Bug description:
[impact]
when libseccomp is upgraded to 2.5.1 on all releases, the systemd
seccomp unit tests will start failing on ppc, as
RestrictAddressFamilies= will no longer work on that arch.
However, the systemd.exec man page has stated that
RestrictAddressFamiles= doesn't work on ppc since before bionic.
[test case]
check systemd autopkgtest on ppc, looking at the
test_restrict_access_familes unit test
[regression potential]
any regression would involve the use of RestrictAddressFamilies=,
either no longer restricting or incorrectly restricting address
familes.
[scope]
this is needed for b/f/g
this was fixed upstream by commit
d5923e38bc0e6cf9d7620ed5f1f8606fe7fe1168 which is included in 247, so
this is fixed in h already
This isn't needed in x, because it doesn't include upstream commit
469830d1426a91e0897c321fdc8ee428f0a750c1 which reworked the code to
switch from seccomp_rule_add to seccomp_rule_add_exact, so systemd
could handle lack of arch support itself, instead of allowing the 'not
exact' seccomp syscall to just ignore the call due to lack of arch
support.
[other info]
libseccomp will be updated to 2.5.1 in the near future so this is
needed before that update
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1918696/+subscriptions
More information about the foundations-bugs
mailing list