[Bug 1844524] Re: text relocation of grep prevents its use under udevd

Adam Conrad adconrad at 0c3.net
Wed Sep 18 15:11:31 UTC 2019


Hello Thadeu, or anyone else affected,

Accepted grep into bionic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/grep/3.1-2build1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: grep (Ubuntu Bionic)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-bionic

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

Title:
  text relocation of grep prevents its use under udevd

Status in grep package in Ubuntu:
  Invalid
Status in grep source package in Bionic:
  Fix Committed

Bug description:
  [Impact]
  grep can't be used under udev, preventing kdump-tools to be used after a memory hotplug.

  [Test case]
  Run grep with systemd-run -t --property MemoryDenyWriteExecute=yes /bin/grep crashkernel /proc/cmdline

  [Regression potential]
  The fix is a simple rebuild, so should have minimal potential for regression.

  
  -------------------------

  # systemd-run -t --property MemoryDenyWriteExecute=yes /bin/grep crashkernel /proc/cmdline
  Running as unit: run-u54.service
  Press ^] three times within 1s to disconnect TTY.
  /bin/grep: error while loading shared libraries: cannot restore segment prot after reloc: Operation not permitted
  #

  Under ppc64el, grep can't be used under udev, because it restricts
  mapping to be Write+Execute, with MemoryDenyWriteExecute=yes. A
  rebuild of grep under bionic fixes the issue.

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



More information about the foundations-bugs mailing list