Project

General

Profile

Actions

Bug #20683

closed

Upgrade of dhcpd always breaks permissions

Added by Eric Helms over 6 years ago. Updated over 6 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 #1

Updated by Eric Helms over 6 years ago

  • Description updated (diff)
Actions #2

Updated by Ewoud Kohl van Wijngaarden over 6 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.

Actions #3

Updated by Eric Helms over 6 years ago

  • Project changed from Foreman to Installer
Actions #4

Updated by The Foreman Bot over 6 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
Actions #5

Updated by Eric Helms over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/377 added
Actions #7

Updated by Lukas Pramuk over 6 years ago

  • Related to Bug #21419: Reverse logic of setfacl_etc_dhcp and setfacl_var_lib_dhcp added
Actions

Also available in: Atom PDF