| Summary: | Wrong perms on systemd service file | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Mario Trangoni <mjtrangoni> |
| Component: | wpa_supplicant | Assignee: | Lubomir Rintel <lrintel> |
| Status: | CLOSED DUPLICATE | QA Contact: | Ken Benoit <kbenoit> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.2 | CC: | aloughla, dcbw, extras-qa, fedora, lrintel, mathieu-acct, mjtrangoni, orion, pomidorabelisima, rodd, rvcsaba, sknauss, somlo, terje.rosten, zbyszek |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 803980 | Environment: | |
| Last Closed: | 2016-03-17 09:09:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Mario Trangoni
2016-02-24 12:50:16 UTC
The sources are OK. wpa_supplicant.service has the correct permissions there. But in system we can see: root@host ~ # ll /lib/systemd/system/wpa_supplicant.service -rwxr-xr-x. 1 root root 365 Jun 15 2015 /lib/systemd/system/wpa_supplicant.service* root@host ~ # rpm -qf /lib/systemd/system/wpa_supplicant.service wpa_supplicant-2.0-17.el7_1.x86_64 It should be 0664 and not 0755. I forgot to write why I (re)open this bug. With 'journalctl -b' we can see: Feb 09 17:04:02 host dbus[1381]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service' Feb 09 17:04:02 host dbus-daemon[1381]: dbus[1381]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service' Feb 09 17:04:02 host systemd[1]: Configuration file /usr/lib/systemd/system/wpa_supplicant.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 09 17:04:02 host systemd[1]: Starting WPA Supplicant daemon... Feb 09 17:04:02 host systemd[1]: Starting Authorization Manager... Feb 09 17:04:02 host dbus[1381]: [system] Successfully activated service 'fi.w1.wpa_supplicant1' Feb 09 17:04:02 host dbus-daemon[1381]: dbus[1381]: [system] Successfully activated service 'fi.w1.wpa_supplicant1' Feb 09 17:04:02 host NetworkManager[1853]: <info> wpa_supplicant running Feb 09 17:04:02 host systemd[1]: Started WPA Supplicant daemon. This is why we want to have this problem fixed. At line 131 of 'wpa_supplicant.spec'
# init scripts
install -D -m 0755 %{SOURCE3} %{buildroot}/%{_unitdir}/%{name}.service
and it has to be:
# init scripts
install -D -m 0644 %{SOURCE3} %{buildroot}/%{_unitdir}/%{name}.service
*** This bug has been marked as a duplicate of bug 1286965 *** |