Project

General

Profile

Actions

Bug #20683

closed

Upgrade of dhcpd always breaks permissions

Added by Eric Helms over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Installer - Bug #21419: Reverse logic of setfacl_etc_dhcp and setfacl_var_lib_dhcpClosedEwoud Kohl van Wijngaarden10/22/2017Actions
Actions

Also available in: Atom PDF