[LTCTest][libvpd] Process '/bin/touch /run/run.vpdupdate' failed with exit code 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Invalid
|
Medium
|
Canonical Foundations Team | ||
coreutils (Ubuntu) |
Invalid
|
High
|
Ubuntu on IBM Power Systems Bug Triage |
Bug Description
---Problem Description---
Currently syslog is getting flooded with below log messages ..
Sep 25 03:16:41 ubuntu1710 systemd-
update' failed with exit code 127.
This is on UBuntu 17.10 latest build..
---uname output---
Linux ubuntu1710 4.12.0-11-generic #12-Ubuntu SMP Fri Aug 11 12:23:06 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = ZZ-L
---Steps to Reproduce---
I have seen these messages logged more often when we do any hotplug operations.. ex. cpu hotplug..
Ok. .this is the continuation of LTC #144627 / Launchpad #1682774.
As suggested in that bug, we did change udev script to create temporary file under /run and that patch is available in ubuntu 17.10.
Looks like this is udev script issue. If I modify systemd-udevd like below it works fine.
I've limited udev knowledge. I don't know if you have any other better solution to this issue.
root@ltc-
--- systemd-
+++ systemd-
@@ -25,7 +25,7 @@ KillMode=mixed
WatchdogSec=3min
TasksMax=infinity
MountFlags=slave
-MemoryDenyWrit
+#MemoryDenyWri
RestrictRealti
RestrictAddres
SystemCallArch
-Vasant
tags: | added: architecture-ppc64le bugnameltc-159280 severity-medium targetmilestone-inin1710 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → systemd (Ubuntu) |
Changed in ubuntu-power-systems: | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
importance: | Undecided → Medium |
Changed in ubuntu-power-systems: | |
status: | New → Triaged |
tags: | added: id-59cb2cac03a39eeafe504f18 |
tags: | added: triage-g |
Changed in coreutils (Ubuntu): | |
status: | Triaged → Incomplete |
Changed in ubuntu-power-systems: | |
status: | Triaged → Incomplete |
Changed in coreutils (Ubuntu): | |
status: | Incomplete → Invalid |
'MemoryDenyWrit eExecute= yes' is defined in systemd.exec(5) as:
If set, attempts to create memory mappings that are writable and executable at the same time, or to change existing memory mappings to become executable, or mapping shared memory segments as executable are prohibited. Specifically, a system call filter is added that rejects mmap(2) system calls with both PROT_EXEC and PROT_WRITE set, mprotect(2) system calls with PROT_EXEC set and shmat(2) system calls with SHM_EXEC set.
It is surprising that /bin/touch should trip this check. This will require investigation.