[Bug 1878051] [NEW] root-unittests' test-execute fails in LXC

Balint Reczey balint.reczey at canonical.com
Mon May 11 16:56:17 UTC 2020


Public bug reported:

...
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)
...

** Affects: systemd (Ubuntu)
     Importance: Low
         Status: New

** Changed in: systemd (Ubuntu)
   Importance: Undecided => Low

-- 
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:
  root-unittests' test-execute fails in LXC

Status in systemd package in Ubuntu:
  New

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