Actions
Bug #20683
closedUpgrade of dhcpd always breaks permissions
Difficulty:
Triaged:
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1477545
We need to set
setfacl -R -m u:theforeman:rwx /etc/dhcp /var/lib/dhcpd
via our puppet installer instead of modifying standard UNIX owner and permissions. Overtime dhcp package is upgraded, RPM returns the original permission and owner which leads to DHCP issues (foreman-proxy is unable to modify files).
We should keep the old UNIX method and add setfacl as additional step, it will not work on filesystems without FACL, in that case skip it.
Updated by Ewoud Kohl van Wijngaarden over 7 years ago
setfacl -R -m u:theforeman:rwx /etc/dhcp /var/lib/dhcpd
This should be u:foreman-proxy:rwx. I'm also pretty sure foreman-proxy only reads it (changes happen through omapi) so it can even be rx.
Updated by Eric Helms over 7 years ago
- Project changed from Foreman to Installer
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Eric Helms
- Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/362 added
Updated by Eric Helms over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset puppet-foreman_proxy|bde9c889a9bd2816df89483962852e37c5e39c29.
Updated by The Foreman Bot over 7 years ago
- Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/377 added
Updated by Lukas Pramuk about 7 years ago
- Related to Bug #21419: Reverse logic of setfacl_etc_dhcp and setfacl_var_lib_dhcp added
Actions