Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test network fix for Linux hosts with SELinux enabled, e.g. Fedora, RHEL or others. #5045

Merged
merged 1 commit into from
Oct 30, 2024

Commits on Oct 29, 2024

  1. Add SELinux section to test network docs

    The documentation update adds a description on how to resolve two issues
    when running the test-network on a host with SELinux enabled:
    1. Peer and orderer crashing after start using Docker or Podman.
    2. Chaincode container can not be build when using Docker.
    
    The reason for the first issue are permission errors. This can be seen
    in the container logs. To resolve the errors the volume sections of the
    compose files needs to be modified.
    
    The reason for the second issue is that the peer container can not
    access the Docker socket. To resolve it only the Docker compose file
    needs to be modified.
    
    The errors in the container logs and during chaincode deployment were
    added to the test_network.md 'Troubleshooting' section as an aid if
    someone searches the documentation for those errors.
    
    The necessary changes are documented in a new section called
    'SELinux' under the 'Tutorials/Using the Fabric test network' docs.
    
    Signed-off-by: Stanislav Jakuschevskij <stas@two-giants.com>
    twoGiants committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    b0611e3 View commit details
    Browse the repository at this point in the history