View Issue Details

IDProjectCategoryView StatusLast Update
0017665CentOS-8dhcppublic2020-08-11 17:21
Reporterphilipp 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version8.2.2004 
Target VersionFixed in Version 
Summary0017665: NetworkManager script for dhcp-server not installed with execute bits enabled
DescriptionThe file /etc/NetworkManager/dispatcher.d/12-dhcpd which is part of the dhcp-server package gets installed as:

-rw-r--r-- root root /etc/NetworkManager/dispatcher.d/12-dhcpd

even though all other scripts in that directory are rwx-r-xr-x (755).

Grepping the script out of /var/log/messages we see that this is indeed problematic:

Aug 10 19:19:08 olney9 nm-dispatcher[1388]: req:2 'up' [enp1s0u2]: find-scripts: Cannot execute '/etc/NetworkManager/dispatcher.d/12-dhcpd': not executable by owner.

Steps To ReproduceInstall the package.

Run "rpmls -l dhcp-server".

TagsNo tags attached.

Activities

philipp

philipp

2020-08-11 17:21

reporter   ~0037521

This line in the .spec file:

install -p -m 0644 %{SOURCE4} %{buildroot}%{_prefix}/lib/NetworkManager/dispatcher.d

should be 0755 instead of 0644.

Issue History

Date Modified Username Field Change
2020-08-11 17:17 philipp New Issue
2020-08-11 17:21 philipp Note Added: 0037521