[Bug 1719720] Comment bridged from LTC Bugzilla

bugproxy bugproxy at us.ibm.com
Tue Oct 10 18:29:33 UTC 2017


------- Comment From hegdevasant at in.ibm.com 2017-10-10 14:24 EDT-------
(In reply to comment #8)
> (In reply to comment #7)
> > On Thu, Sep 28, 2017 at 06:20:03AM -0000, bugproxy wrote:
> > > Yeah. even I thought its touch issue. I did look into touch source code
> > > as well. It uses below flag to create file.
> >
> > > O_WRONLY | O_CREAT | O_NONBLOCK | O_NOCTTY, MODE_RW_UGO);
> >
> > This is not about file creation flags, it's about memory maps.  This is
> > likely to be either a toolchain regression, or a bug in glibc, since touch
> > itself should not be calling mmap() for anything that it does.
>
> Looks like this is new flag introduced recently in systemd-udevd.service
> script.
>

How do we proceed with this bug? any update?

-Vasant

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1719720

Title:
  [LTCTest][libvpd] Process '/bin/touch /run/run.vpdupdate' failed with
  exit code 127

Status in The Ubuntu-power-systems project:
  Triaged
Status in coreutils package in Ubuntu:
  Triaged

Bug description:
  ---Problem Description---
  Currently syslog is getting flooded with below log messages ..
  Sep 25 03:16:41 ubuntu1710 systemd-udevd[2654]: Process '/bin/touch /run/run.vpdd
  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 at ltc-boston123:/lib/systemd/system# diff -Naurp  systemd-udevd.service.org systemd-udevd.service
  --- systemd-udevd.service.org	2017-09-26 04:37:47.090057318 -0500
  +++ systemd-udevd.service	2017-09-26 04:37:55.381739372 -0500
  @@ -25,7 +25,7 @@ KillMode=mixed
   WatchdogSec=3min
   TasksMax=infinity
   MountFlags=slave
  -MemoryDenyWriteExecute=yes
  +#MemoryDenyWriteExecute=yes
   RestrictRealtime=yes
   RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
   SystemCallArchitectures=native

  
  -Vasant

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1719720/+subscriptions



More information about the foundations-bugs mailing list