NetBSD Problem Report #52744

From  Tue Nov 21 07:04:48 2017
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id BA2DA7A1F2
	for <>; Tue, 21 Nov 2017 07:04:48 +0000 (UTC)
Message-Id: <>
Date: Tue, 21 Nov 2017 08:04:38 +0100 (CET)
Subject: shell scripts w/o shebang cause kernel diagnostics
X-Send-Pr-Version: 3.95

>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
>Last-Modified:  Thu Jun 25 16:20:01 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.7
The NetBSD Foundation, Inc.
System: NetBSD 8.99.7 NetBSD 8.99.7 (NIGHT-OWL) #556: Mon Nov 20 15:29:42 CET 2017 amd64
Architecture: x86_64
Machine: amd64

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.


echo "echo yay" >
chmod u+x
dmesg | tail

(or look at console output)

execve_loadvm: check exec failed for ./, error 8


From: "Jukka Ruohonen" <>
Subject: PR/52744 CVS commit: src
Date: Thu, 25 Jun 2020 16:16:49 +0000

 Module Name:	src
 Committed By:	jruoho
 Date:		Thu Jun 25 16:16:49 UTC 2020

 Modified Files:
 	src/distrib/sets/lists/tests: mi
 	src/tests/kernel: Makefile
 Added Files:

 Log Message:
 Add a test case for PR kern/52744, which no longer appears to be present.

 To generate a diff of this commit:
 cvs rdiff -u -r1.851 -r1.852 src/distrib/sets/lists/tests/mi
 cvs rdiff -u -r1.66 -r1.67 src/tests/kernel/Makefile
 cvs rdiff -u -r0 -r1.1 src/tests/kernel/

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.