You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/06/07 13:07:36 UTC

[GitHub] [trafficcontrol] zrhoffman opened a new issue #5918: ATS in CiaB: /usr/bin/traffic_cop: error while loading shared libraries: libhwloc.so.5

zrhoffman opened a new issue #5918:
URL: https://github.com/apache/trafficcontrol/issues/5918


   <!--
   ************ STOP!! ************
   If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact
   the Apache Traffic Control Security Team at security@trafficcontrol.apache.org and follow the
   guidelines at https://www.apache.org/security/ regarding vulnerability disclosure.
   
   - For *SUPPORT QUESTIONS*, use the #traffic-control channel on the ASF slack (https://s.apache.org/slack-invite)
   or Traffic Control mailing lists (https://trafficcontrol.apache.org/mailing_lists).
   - Before submitting, please **SEARCH GITHUB** for a similar issue or PR.
   -->
   
   ## I'm submitting a ...
   <!-- delete all those that don't apply -->
   <!--- security vulnerability (STOP!! - see above)-->
   -  bug report
   
   ## Traffic Control components affected ...
   <!-- delete all those that don't apply -->
   -  CDN in a Box
   
   ## Current behavior:
   <!-- Describe how the bug manifests -->
   Accompanying the June 3 CentOS 8.4.2105 release, `hwloc-libs` and other libraries updated, breaking compatibility with the 2018 `trafficserver-7.1.4-2.el7.x86_64` RPM that we use for the caches in the CDN in a Box. Attempting to run `trafficserver` manually results in a shared library error being logged to `/var/log/trafficserver/traffic_server.stderr`:
   
   ```
   /usr/bin/traffic_cop: error while loading shared libraries: libhwloc.so.5: cannot open shared object file: No such file or directory
   ```
   
   This breaks the *CDN-in-a-Box CI* GitHub Actions workflow.
   
   ## Expected behavior:
   <!-- Describe what the behavior would be without the bug -->
   Traffic Server should run without any shared library issues.
   
   ## Minimal reproduction of the problem with instructions:
   <!--
   If the current behavior is a bug, please provide the *STEPS TO REPRODUCE* and
   include the applicable TC version.
   -->
   Run `traffic_cop` to see the shared library error:
   ```shell
   docker-compose build --no-cache --parallel edge
   docker-compose run --rm edge traffic_cop
   ```
   
   ## Anything else:
   <!--
   e.g. additional context, related issues, suggestions about how to approach (feel
   free to delete this section)
   -->
   *   Installing `hwloc-libs-1.11.9-3.el8.x86_64` (previous version) instead of `hwloc-libs-2.2.0-1.el8.x86_64` (current version) is not an option, the package is not found:
       ```
       [user@computer trafficcontrol]$ docker run --rm centos:8.3.2011 dnf install hwloc-libs-1.11.9-3.el8.x86_64
       CentOS Linux 8 - AppStream                      7.1 MB/s | 7.4 MB     00:01
       CentOS Linux 8 - BaseOS                         3.0 MB/s | 2.6 MB     00:00
       CentOS Linux 8 - Extras                          30 kB/s | 9.6 kB     00:00
       No match for argument: hwloc-libs-1.11.9-3.el8.x86_64
       Error: Unable to find a match: hwloc-libs-1.11.9-3.el8.x86_64
       ```
   
   *   The Dockerfile already [symlinks disparate library versions](https://github.com/apache/trafficcontrol/blob/5ad059f0af/infrastructure/cdn-in-a-box/cache/Dockerfile#L59-L68) for `libtcl`, `libncursesw`, and `libtinfo`. If `libhwloc.so.15` is symlinked to `libhwloc.so.5` and `traffic_cop` is started,
   
       ```shell
       ln -s libhwloc.so.15 /usr/lib64/libhwloc.so.5
       traffic_cop --stdout
       ```
   
       then `traffic_server` crashes (let's not pursue the CentOS 7 ATS 7 RPM on CentOS 8 any further).
   <!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at
   
       https://apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
   -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] ocket8888 closed issue #5918: ATS in CiaB: /usr/bin/traffic_cop: error while loading shared libraries: libhwloc.so.5

Posted by GitBox <gi...@apache.org>.
ocket8888 closed issue #5918:
URL: https://github.com/apache/trafficcontrol/issues/5918


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org