Closed cah-roger-bauer closed 2 years ago
@cah-roger-bauer - What is the real issue with this in terraform module ? Please give more info to investigate/understand this further.
when the system didnt build properly, troubleshooting line by line in the start us script led me to this. in the ;/usr/bin/ folder there is no executable "trap", hence it was not completing the command if you remove the /usr/bin from the line, it calls trap as its a subcomponent of the shell
@cah-roger-bauer - seems like this is an system/infra issue. closing this now.
unsure of why you would close a ticket that is still an issue, someone should fix the tpl file, remove command that doesnt work -or put it in the proper way.
@cah-roger-bauer please the steps to reproduce this issue. These steps help in reproduce this issue at our end.
LOG_FILE=/var/log/cloud/startup-script.log [[ -f $LOG_FILE ]] || /usr/bin/touch $LOG_FILE npipe=/tmp/$$.tmp
/usr/bin/trap "rm -f $npipe" EXIT <---- this will not function as the file /usr/bin/trap is not located in that folder, hence it cant do the 2nd portion of what is expected to do.
/usr/bin/mknod $npipe p /usr/bin/tee <$npipe -a $LOG_FILE /dev/ttyS0 & exec 1>&- exec 1>$npipe exec 2>&1
Created INFRAANO-641 for internal PM tracking
fixed in v1.1.2
/usr/bin/trap "rm -f $npipe" EXIT
file does not exist in folder