Apache HTTPD symlinks broken after leapp upgrade
Issue
-
When packages are updated, httpd fails to restart. On investigating the error, I found that symlinks which had been good are now broken. Before:
BEFORE: # ls -ltr total 0 lrwxrwxrwx. 1 root root 10 Jan 29 11:21 run -> /run/httpd drwxr-xr-x. 2 root root 37 Jan 29 11:21 conf drwxr-xr-x. 3 root root 121 Mar 4 22:00 conf.d drwxr-xr-x. 2 root root 254 Mar 4 22:00 conf.modules.d lrwxrwxrwx. 1 root root 15 Mar 5 09:32 state -> /var/lib/httpd/ lrwxrwxrwx. 1 root root 25 Mar 5 09:34 modules -> /usr/lib64/httpd/modules/ lrwxrwxrwx. 1 root root 14 Mar 5 09:35 logs -> /var/log/httpd AFTER: # ls -ltr total 0 lrwxrwxrwx. 1 root root 19 Jan 29 11:21 state -> ../../var/lib/httpd lrwxrwxrwx. 1 root root 10 Jan 29 11:21 run -> /run/httpd lrwxrwxrwx. 1 root root 29 Jan 29 11:21 modules -> ../../usr/lib64/httpd/modules lrwxrwxrwx. 1 root root 19 Jan 29 11:21 logs -> ../../var/log/httpd drwxr-xr-x. 2 root root 37 Jan 29 11:21 conf drwxr-xr-x. 3 root root 121 Mar 4 22:00 conf.d drwxr-xr-x. 2 root root 254 Mar 4 22:00 conf.modules.d
Environment
- Red Hat Enterprise Linux (RHEL)
- Red Hat Software Collections (RHSCL)
- Apache Web Server (HTTPD)
- leapp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.