[Bug 1878051] Re: unit-tests' test-execute and test-mount-utils fail in LXC

Nick Rosbrook 1878051 at bugs.launchpad.net
Fri Aug 25 14:55:26 UTC 2023


These have been skipped/patched to some degree in the systemd package
for a while.

** Changed in: systemd (Ubuntu)
       Status: New => Fix Released

-- 
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/1878051

Title:
  unit-tests' test-execute and test-mount-utils fail in LXC

Status in systemd package in Ubuntu:
  Fix Released

Bug description:
  ...
  exec-bindpaths.service: Child 1573 belongs to exec-bindpaths.service.
  exec-bindpaths.service: Main process exited, code=exited, status=0/SUCCESS
  exec-bindpaths.service: Running next main command for state start.
  exec-bindpaths.service: Passing 0 fds to service
  exec-bindpaths.service: About to execute: /usr/bin/test -f /tmp/thisisasimpletest
  exec-bindpaths.service: Forked /usr/bin/test as 1574
  PR_SET_MM_ARG_START failed, attempting PR_SET_MM_ARG_END hack: Operation not permitted
  PR_SET_MM_ARG_END hack failed, proceeding without: Operation not permitted
  Applying namespace mount on /run/systemd/unit-root/tmp/test-exec-bindpaths
  Followed source symlinks /tmp → /tmp.
  Successfully mounted /tmp to /run/systemd/unit-root/tmp/test-exec-bindpaths
  Applying namespace mount on /run/systemd/unit-root/tmp/test-exec-bindreadonlypaths
  Followed source symlinks /tmp → /tmp.
  Successfully mounted /tmp to /run/systemd/unit-root/tmp/test-exec-bindreadonlypaths
  Failed to re-mount '/run/systemd/unit-root/tmp/test-exec-bindreadonlypaths' and its submounts: Permission denied
  exec-bindpaths.service: Failed to set up namespace, assuming containerized execution, ignoring: Permission denied
  exec-bindpaths.service: Executing: /usr/bin/test -f /tmp/thisisasimpletest
  Received SIGCHLD from PID 1574 (test).
  Child 1574 (test) died (code=exited, status=1/FAILURE)
  exec-bindpaths.service: Child 1574 belongs to exec-bindpaths.service.
  exec-bindpaths.service: Main process exited, code=exited, status=1/FAILURE
  exec-bindpaths.service: Failed with result 'exit-code'.
  exec-bindpaths.service: Changed start -> failed
  exec-bindpaths.service: Unit entered failed state.
  test_exec_bindpaths: exec-bindpaths.service: exit status 1, expected 0
  FAIL: test-execute (code: 134)
  Aborted (core dumped)
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1878051/+subscriptions




More information about the foundations-bugs mailing list