Bug 1514211 - Enable full relro build and operation for slurm
Summary: Enable full relro build and operation for slurm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: slurm
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Philip Kovacs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-16 20:07 UTC by Philip Kovacs
Modified: 2017-11-28 23:50 UTC (History)
1 user (show)

Fixed In Version: slurm-17.02.9-3.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-28 23:50:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
slurm elf weak symbols for full relro patch (6.94 KB, patch)
2017-11-16 20:07 UTC, Philip Kovacs
no flags Details | Diff

Description Philip Kovacs 2017-11-16 20:07:29 UTC
Created attachment 1353706 [details]
slurm elf weak symbols for full relro patch

Description of problem:

Slurm is built with -Wl,-z,lazy linker flags in order to allow undefined symbols in its plugins to be loaded at runtime without error.  The attached patch hardens the Slurm build and allows it to operate in full relro with GOT sections of the ELF binaries marked read-only.

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

bodhi automated tests (rpmgrill elf-checks) should no longer complain about partial relro.  All slurm plugins packaged for Fedora should load properly.

Comment 1 Fedora Update System 2017-11-16 20:39:05 UTC
slurm-17.02.9-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-9e775c0d06

Comment 2 Fedora Update System 2017-11-18 00:54:12 UTC
slurm-17.02.9-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-9e775c0d06

Comment 3 Fedora Update System 2017-11-28 23:50:03 UTC
slurm-17.02.9-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.