The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=9c014cc25c437d2c4e18a7554e1276e0f290a8a0
commit 9c014cc25c437d2c4e18a7554e1276e0f290a8a0 Author: Mark Johnston <ma...@freebsd.org> AuthorDate: 2025-06-27 18:59:54 +0000 Commit: Mark Johnston <ma...@freebsd.org> CommitDate: 2025-06-27 20:18:36 +0000 Revert "rc: Disable pathname expansion when calling run_rc_command()" At least nuageinit is broken after this commit, breaking some downstream CI systems. It also disables globbing for rc.local scripts, which is likely to break users in surprising ways. This reverts commit 4deb9760a9d84d5861ee45162ffebe83f13503b8. --- libexec/rc/rc.subr | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index 359eebd1d342..2eaf336b5220 100644 --- a/libexec/rc/rc.subr +++ b/libexec/rc/rc.subr @@ -1788,11 +1788,7 @@ _run_rc_doit() debug "run_rc_command: doit: $*" _m=$(umask) ${_umask:+umask ${_umask}} - - # Disable pathname expansion temporarily for run_rc_command. - set -o noglob eval "$@" - set +o noglob _return=$? umask ${_m}