Bug 1288471
| Summary: | /etc/httpd/alias/libnssckbi.so is a dangling relative symlink when /etc/httpd/alias is itself symlinked to some other directory | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Pazdziora (Red Hat) <jpazdziora> |
| Component: | mod_nss | Assignee: | Matthew Harmsen <mharmsen> |
| Status: | CLOSED ERRATA | QA Contact: | Kaleem <ksiddiqu> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | arubin, jpazdziora, nkinder, rcritten, spoore |
| Target Milestone: | rc | ||
| Target Release: | 7.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | mod_nss-1.0.14-1.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-03 21:19:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1283777 | ||
|
Description
Jan Pazdziora (Red Hat)
2015-12-04 10:55:25 UTC
These are the root certs and I had problems in the past with NSS finding the shared library on its own which is why I made a symlink. How/when is the /etc/httpd/alias symlink being created? What does this do to rpm -V? (In reply to Rob Crittenden from comment #1) > These are the root certs and I had problems in the past with NSS finding the > shared library on its own which is why I made a symlink. It was just an idea, that it might not be needed. So the question is -- could it be an absolute one? > How/when is the /etc/httpd/alias symlink being created? What does this do to > rpm -V? It is created when we move the configuration/data of the IPA instance to data volume for containerization: https://github.com/adelton/docker-freeipa/blob/master/Dockerfile#L27 Can't a new link be generated at the same time a link is made for /etc/httpd/alias? (In reply to Rob Crittenden from comment #1) > These are the root certs and I had problems in the past with NSS finding the > shared library on its own which is why I made a symlink. By the way, is there a ticket/bugzilla for those issues? I'd be happy to test the latest versions to see if the problems are still present. (In reply to Rob Crittenden from comment #3) > Can't a new link be generated at the same time a link is made for > /etc/httpd/alias? You mean overwriting the link during the container build time? That certainly could be done but I've specifically tried to minimize changes that go to the containerized installation. My hope was to keep it as close to the "bare metal" setup as possible. Hence bugzillas like this one when I try to make the default installation easier for the containerized setup, while hopefully causing no regressions for the host installs. The link is from /etc/httpd/alias to the library. If you're moving /etc/httpd/alias I'm not sure why the link isn't moving as well. But simply re-creating it doesn't seem like it would be a problem and in fact not creating it is a regression. There is no ticket/bug as I've solved it by symlinking the shared library. (In reply to Rob Crittenden from comment #6) > The link is from /etc/httpd/alias to the library. If you're moving > /etc/httpd/alias I'm not sure why the link isn't moving as well. It is moving. But if it is moving from /etc/httpd/alias/libnssckbi.so to /data/etc/httpd/alias/libnssckbi.so, then ../../.. not longer point to root (/) but to /data, and there's no /data/usr/lib64 there. Verified. Version :: mod_nss-1.0.14-5.el7.x86_64 Results :: First confirmed link on rhel7.2 [root@rhel7-0 alias]# ls -l /etc/httpd/alias/libnssckbi.so lrwxrwxrwx. 1 root root 33 Sep 13 08:09 /etc/httpd/alias/libnssckbi.so -> ../../..//usr/lib64/libnssckbi.so [root@rhel7-0 alias]# rpm -q mod_nss mod_nss-1.0.11-6.el7.x86_64 Now verified state in rhel7.3: [root@vm4 alias]# ls -l /etc/httpd/alias/libnssckbi.so lrwxrwxrwx. 1 root root 24 Sep 21 09:36 /etc/httpd/alias/libnssckbi.so -> /usr/lib64/libnssckbi.so [root@vm4 alias]# rpm -q mod_nss mod_nss-1.0.14-5.el7.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2602.html |