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)
Tue, Sep 22, 8:21 PM
Unknown Object (File)
Tue, Sep 22, 5:02 PM
Unknown Object (File)
Mon, Sep 14, 7:53 AM
Unknown Object (File)
Fri, Sep 11, 7:09 AM
Unknown Object (File)
Sun, Sep 6, 7:57 AM
Unknown Object (File)
Fri, Sep 4, 10:27 PM
Unknown Object (File)
Fri, Sep 4, 5:41 PM
Unknown Object (File)
Thu, Sep 3, 3:55 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