systemctl command gets hang when it's executed in rpm %post script of a 3rd party package installation in Red Hat Enterprise Linux 7.7
Issue
- During installation of a 3rd party package,
systemctl daemon-reload
is run and hangs for over 60 minutes. - This hang never happens when it's executed from a terminal directly.
- It seems that this happens only when the command is executed from a background process.
Environment
Red Hat Enterprise Linux 7.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.