You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently added a warning if an unexecutable file is found in a runparts directory. This leads to a warning anytime vendor data is supplied.
We use /var/lib/cloud/instance/scripts to store user data scripts, and /var/lib/cloud/instance/scripts/vendor to store vendor data scripts. When trying to run all scripts in the user data directory, cloud-init sees the vendor directory and raises the warning.
Log snippet:
2024-02-20 15:04:55,979 - modules.py[DEBUG]: Running module scripts_user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) with frequency once-per-instance
2024-02-20 15:04:55,979 - handlers.py[DEBUG]: start: modules-final/config-scripts_user: running config-scripts_user with frequency once-per-instance
2024-02-20 15:04:55,980 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/0727_94cd25e5-20cc-486f-bee7-d7ad604ab823/sem/config_scripts_user - wb: [644] 23 bytes
2024-02-20 15:04:55,980 - helpers.py[DEBUG]: Running config-scripts_user using lock (<FileLock using file '/var/lib/cloud/instances/0727_94cd25e5-20cc-486f-bee7-d7ad604ab823/sem/config_scripts_user'>)
2024-02-20 15:04:55,980 - subp.py[WARNING]: skipping /var/lib/cloud/instance/scripts/vendor as its not executable or the underlying file system is mounted without executable permissions.
2024-02-20 15:04:55,980 - handlers.py[DEBUG]: finish: modules-final/config-scripts_user: SUCCESS: config-scripts_user ran successfully
The text was updated successfully, but these errors were encountered:
Bug report
We recently added a warning if an unexecutable file is found in a runparts directory. This leads to a warning anytime vendor data is supplied.
We use
/var/lib/cloud/instance/scripts
to store user data scripts, and/var/lib/cloud/instance/scripts/vendor
to store vendor data scripts. When trying to run all scripts in the user data directory, cloud-init sees thevendor
directory and raises the warning.Log snippet:
The text was updated successfully, but these errors were encountered: