containerlab: Latest rc can't start xrd containers

When deploying some xrd containers with the latest rc, they fail to start, showing the following error in the container logs:

The boot script specified in XR_EVERY_BOOT_SCRIPT is not executable: /etc/xrd/mgmt_intf_v6_addr.sh
[ERROR  ] Invalid environment variable(s)
[ERROR  ] XRd hit a critical error during initialization and has aborted launch

Containerlab version is

  ____ ___  _   _ _____  _    ___ _   _ _____ ____  _       _     
 / ___/ _ \| \ | |_   _|/ \  |_ _| \ | | ____|  _ \| | __ _| |__  
| |  | | | |  \| | | | / _ \  | ||  \| |  _| | |_) | |/ _` | '_ \ 
| |__| |_| | |\  | | |/ ___ \ | || |\  | |___|  _ <| | (_| | |_) |
 \____\___/|_| \_| |_/_/   \_\___|_| \_|_____|_| \_\_|\__,_|_.__/ 

    version: 0.60.0-rc1
     commit: 5468b6f2
       date: 2024-11-28T15:28:39Z
     source: https://github.com/srl-labs/containerlab
 rel. notes: https://containerlab.dev/rn/0.60/

If I try the same topology with the latest release (0.59.0) it works just fine.

Any idea what might have changed related to this?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

@kaelemc thanks, I appreciate the effort. I managed to get some help and got the build working. I tested it and it is looking good on my end. 😄

Yes sorry, that was totally an oversight on my end… I’ve opened #2326

@edvgui @hellt kindly requesting if you guys could test it out 😃.

setting it +x for the world should likely fix it

Indeed, I can do this for each “state dir” used by my containers and on the next deploy they will work. But I guess this should be addressed in containerlab before the next release?