You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/03/17 17:28:48 UTC

[GitHub] [trafficserver] bryancall commented on issue #7820: Plugin reload fails because of noexec mounted partition for the run directory

bryancall commented on issue #7820:
URL: https://github.com/apache/trafficserver/issues/7820#issuecomment-1071124655


   I was able to get a good error message in the logs when trying to reproduce.
   
   Commands to mount noexec filesystem:
   ```
   cd /opt/ats/var
   dd if=/dev/zero of=file bs=1000 count=100000
   mkfs.ext3 file
   mkdir trafficserver
   mount -o noexec,loop file trafficserver
   ```
   
   Configuration:
   ```
   tail -1 /opt/ats/etc/trafficserver/remap.config
   map / http://www.yahoo.com @plugin=header_rewrite.so @pparam=foo.config
   cat /opt/ats/etc/trafficserver/foo.config
   add-header Hello World
   ```
    
   Error messages:
   ```
   grep ERROR /opt/ats/var/log/trafficserver/diags.log | tail -2
   [Mar 16 16:02:41.588] traffic_server ERROR: plugin 'header_rewrite.so' failed to load: /opt/ats/var/trafficserver/3c7814b4-a3f7-4b96-b6ab-441a79eda6bd/opt/ats/libexec/trafficserver/header_rewrite.so: failed to map segment from shared object
   [Mar 16 16:02:41.588] traffic_server ERROR: [ReverseProxy] failed to add remap rule at /opt/ats/etc/trafficserver/remap.config line 197: /opt/ats/var/trafficserver/3c7814b4-a3f7-4b96-b6ab-441a79eda6bd/opt/ats/libexec/trafficserver/header_rewrite.so: failed to map segment from shared objectfailed to remove runtime copy: Success
   ```


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

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