Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #18153: MKP tool: Fix IndexError: tuple index out of range

Component Checks & agents
Title MKP tool: Fix IndexError: tuple index out of range
Date Sep 4, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p12 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

Previously, trying to package a file with mkp package <template> could result in the following crash:

  File "/omd/sites/v240p8/lib/python3.12/site-packages/cmk/mkp_tool/_parts.py", line 193, in permissions
    if rel_path.parts[-2] == "libexec"
IndexError: tuple index out of range

To the list of all Werks