On 8. Nov 2025, at 19:22, Thomas Schweikle <[email protected]> wrote:


Looking at the log from etcupdate I found it failing with

chmod 755 mk_cmds
rm -f et-h-ss_err.et et-h-ss_err.c et-h-ss_err.h
cp /usr/src/crypto/krb5/src/util/ss/ss_err.et et-h-ss_err.et
compile_et -d /usr/src/crypto/krb5/src/util/et --textdomain mit-krb5 et-h-ss_err.et
+ /usr/bin/awk -f /usr/src/crypto/krb5/src/util/et/et_h.awk 'outfile=et-h-ss_err.h' et-h-ss_err.et
+ /usr/bin/awk -f /usr/src/crypto/krb5/src/util/et/et_c.awk 'outfile=et-h-ss_err.c' 'textdomain=mit-krb5' 'localedir=' et-h-ss_err.et
mv et-h-ss_err.h ss_err.h
rm -f et-h-ss_err.et et-h-ss_err.h
./mk_cmds /usr/src/crypto/krb5/src/util/ss/std_rqs.ct
make[4]: exec(./mk_cmds): Permission denied
*** Error code 1

Stop.
make[4]: stopped making "all" in /usr/src/krb5/util/ss
*** Error code 1

Stop.
make[3]: stopped making "bootstrap-tools" in /usr/src
       10.16 real         8.75 user         1.04 sys
*** Error code 1

Stop.
make[2]: stopped making "_bootstrap-tools" in /usr/src
*** Error code 1

Stop.
make[1]: stopped making "buildetc" in /usr/src
*** Error code 1

Stop.
make: stopped making "buildetc" in /usr/src

It fails, because it is not allowed to "exec ./mk_cmds", after setting "chmod 0755" for "mk_cmds"? Within "/usr/src" "mk_cmds" just does not exist – as long as "find /usr/src -iname '*mk_cmds*' -print" would be able to find it:
/usr/src # find . -iname '*/mk_cmds/*'
/usr/src #

"/usr/src" is mounted
zroot/usr/src on /usr/src (zfs, local, noexec, nosuid, nfsv4acls)


Not sure if the file is in the tree or not, but your /usr/src is mounted as noexec, so executing anything on that file system is not allowed.

-m

Reply via email to