"Permission Denied" on /etc/facter when upgrading a Red Hat Satellite Capsule
Issue
A permission denied
error occurs during the execution of post-installation hooks when upgrading a Red Hat Satellite capsule.
/usr/share/gems/gems/kafo-3.0.0/lib/kafo/base_context.rb:27:in ``': Permission denied - /etc/facter (Errno::EACCES)
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/base_context.rb:27:in `facts'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/base_context.rb:4:in `facts'
from /usr/share/foreman-installer/katello/hooks/post/09-mongo_syspath.rb:2:in `install_syspaths'
from /usr/share/foreman-installer/katello/hooks/post/09-mongo_syspath.rb:14:in `block (4 levels) in load'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/hooking.rb:34:in `instance_eval'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/hooking.rb:34:in `block (4 levels) in load'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/hook_context.rb:16:in `instance_exec'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/hook_context.rb:16:in `execute'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/hooking.rb:51:in `block in execute'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/hooking.rb:49:in `each'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/hooking.rb:49:in `execute'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/kafo_configure.rb:477:in `block in run_installation'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/exit_handler.rb:29:in `call'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/exit_handler.rb:29:in `exit'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/kafo_configure.rb:169:in `exit'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/kafo_configure.rb:476:in `run_installation'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/kafo_configure.rb:156:in `execute'
from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/kafo_configure.rb:119:in `run'
from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/kafo_configure.rb:163:in `run'
from /usr/sbin/satellite-installer:8:in `<main>'
Environment
Red Hat Satellite Capsule
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.