Page MenuHomeFreeBSD

nuageinit: execute user-data scripts with explicit shell when needed
AbandonedPublic

Authored by olgeni on Jun 7 2025, 9:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 10 2025, 3:51 AM
Unknown Object (File)
Sep 5 2025, 10:31 AM
Unknown Object (File)
Aug 29 2025, 4:13 PM
Unknown Object (File)
Aug 22 2025, 5:08 AM
Unknown Object (File)
Aug 16 2025, 5:13 AM
Unknown Object (File)
Jul 29 2025, 11:05 AM
Unknown Object (File)
Jul 27 2025, 10:41 PM
Unknown Object (File)
Jul 26 2025, 3:35 PM
Subscribers

Details

Reviewers
bapt
Summary

Check if user-data scripts start with #!/bin/sh shebang and explicitly
invoke them with 'sh' to ensure proper execution. This handles cases
where the script file may not have execute permissions but is intended
to be run as a shell script.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64707
Build 61591: arc lint + arc unit