Hi,
thank you for the details information.
Based on another requirement, I upgraded MacOS and updated the "command line tools for xCode".
The issue is gone and cannot reproducible again. Unfortunately, I have another issue about automounting SMB shares.
The SMB issue seems like mentioned at https://discussions.apple.com/thread/255203652.
But no answer or hints were provided till now.
Do you need more information for looking into the SMB issue?
===
Update/ upgrade Infos:
MacOS upgrade from "13.1.0 Build 22C65" to "14.5.0 Build 23F79".
The "CL tools for xCode" update to
% xcrun --version
xcrun version 68.
% xcrun --find notarytool
/Library/Developer/CommandLineTools/usr/bin/notarytool
% xcrun notarytool --version
unknown (0)
===
Thank you for checking and your assistance.