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)
Mon, Apr 27, 11:19 PM
Unknown Object (File)
Mon, Apr 27, 11:03 PM
Unknown Object (File)
Apr 9 2026, 7:26 PM
Unknown Object (File)
Feb 21 2026, 1:52 AM
Unknown Object (File)
Feb 8 2026, 11:13 AM
Unknown Object (File)
Jan 31 2026, 7:24 AM
Unknown Object (File)
Jan 6 2026, 3:26 AM
Unknown Object (File)
Nov 30 2025, 2:32 AM
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