NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/52744: shell scripts w/o shebang cause kernel diagnostics
>Number: 52744
>Category: kern
>Synopsis: shell scripts w/o shebang cause kernel diagnostics
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 21 07:05:00 +0000 2017
>Originator: Martin Husemann
>Release: NetBSD 8.99.7
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.7 NetBSD 8.99.7 (NIGHT-OWL) #556: Mon Nov 20 15:29:42 CET 2017 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:
Noticed during pkg builds: executing shell scripts w/o a #! interpreter
line as first line triggers a (harmless) kernel diagnostic. This is
only a cosmetic problem.
>How-To-Repeat:
echo "echo yay" > demo.sh
chmod u+x demo.sh
./demo.sh
dmesg | tail
(or look at console output)
execve_loadvm: check exec failed for ./demo.sh, error 8
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index