View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000695 | channel: elrepo/el7 | drbd84-utils | public | 2016-12-01 17:00 | 2016-12-13 17:30 |
Reporter | TrevorH | Assigned To | toracat | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000695: systemd spams syslog with complaints about executable bit on drbd.service file | ||||
Description | Using kmod-drbd84-8.4.8-1_2.el7.elrepo.x86_64 on CentOS 7 with the 7.3 kernel, systemd is continually spamming /var/log/messages with Dec 1 23:49:05 crstor1 systemd: Configuration file /usr/lib/systemd/system/drbd.service is marked executable. Please remove executable permission bits. Proceeding anyway. A simple chmod -x makes this go away but of course this will come back with the next updated packages so it needs to be fixed in the spec file. | ||||
Additional Information | Should I mention that DRBD is now at 8.4.9? | ||||
Tags | No tags attached. | ||||
Reported upstream | |||||
|
Ack. |
|
Just found another el7 problem - the file /usr/lib/tmpfiles.d/drbd.conf needs a new line added to it to handle the selinux contexts on /run/drbd. File contents should now be d /run/drbd 0700 root root - Z /run/drbd - - - The Z line is new and tells systemd-tmpfiles to recursively set the context on the directory, basically equivalent to restorecon -r |
|
drbd84-utils [version 8.9.8] has been built with the changes shown below and released to the elrepo-testing repository. The packages are syncing to the mirrors. (1) New patch: elrepo-selinux-bug695.patch --- a/scripts/drbd.tmpfiles.conf 2015-03-09 07:58:51.000000000 -0400 +++ b/scripts/drbd.tmpfiles.conf 2016-12-03 14:23:40.410993104 -0500 @@ -1 +1,2 @@ d /run/drbd 0700 root root - +Z /run/drbd - - - (2) in the %files section of the spec file, the permission bits were added %config %attr(644, root, root) %{_unitdir}/drbd.service |
|
kmod-drbd84-8.4.9-1.el7.elrepo has been released to the elrepo-testing repo. |
|
Tested OK by @TrevorH. Promoting to the main repo. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-01 17:00 | TrevorH | New Issue | |
2016-12-01 17:00 | TrevorH | Status | new => assigned |
2016-12-01 17:00 | TrevorH | Assigned To | => pperry |
2016-12-01 17:25 | toracat | Note Added: 0004943 | |
2016-12-01 17:46 | TrevorH | Note Added: 0004945 | |
2016-12-02 00:52 | toracat | Category | kmod-drbd84 => drbd84-utils |
2016-12-02 09:54 | pperry | Assigned To | pperry => toracat |
2016-12-03 12:55 | toracat | Note Added: 0004950 | |
2016-12-03 23:17 | toracat | Note Added: 0004951 | |
2016-12-04 09:29 | toracat | Note Added: 0004952 | |
2016-12-13 17:30 | toracat | Status | assigned => resolved |
2016-12-13 17:30 | toracat | Resolution | open => fixed |