From owner-freebsd-current@FreeBSD.ORG Sun Sep 22 15:42:00 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 162DD2B6 for ; Sun, 22 Sep 2013 15:42:00 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DF6992792 for ; Sun, 22 Sep 2013 15:41:59 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VNlnK-000NoK-Ox; Sun, 22 Sep 2013 15:41:58 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r8MFftaq022368; Sun, 22 Sep 2013 09:41:55 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18t9fqvroLb9Lg8RzdYQ7SD Subject: Re: exec on /usr/src? From: Ian Lepore To: Larry Rosenman In-Reply-To: <4fba59fe23c1e48e95548e377d8ff368@webmail.lerctr.org> References: <4fba59fe23c1e48e95548e377d8ff368@webmail.lerctr.org> Content-Type: multipart/mixed; boundary="=-Aj5Unxq8EpivIBEDWBwn" Date: Sun, 22 Sep 2013 09:41:55 -0600 Message-ID: <1379864515.1197.102.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: Freebsd current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Sep 2013 15:42:00 -0000 --=-Aj5Unxq8EpivIBEDWBwn Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Sun, 2013-09-22 at 09:37 -0500, Larry Rosenman wrote: > Is it intended that we need to set exec=on for /usr/src after the > include/mk-osreldate.sh addition? > > Are you saying you have /usr/src mounted with the noexec option and that's preventing the script from running? The mount manpage says that you may still run scripts from a noexec mount, but maybe that's outdated. Does the attached patch let you keep the noexec option? -- Ian --=-Aj5Unxq8EpivIBEDWBwn Content-Disposition: inline; filename="osreldate_shell.diff" Content-Type: text/x-patch; name="osreldate_shell.diff"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: include/Makefile =================================================================== --- include/Makefile (revision 255775) +++ include/Makefile (working copy) @@ -113,7 +113,7 @@ osreldate.h vers.c: ${NEWVERS_SH} ${PARAM_H} ${MK_ MAKE="${MAKE}" \ NEWVERS_SH=${NEWVERS_SH} \ PARAM_H=${PARAM_H} \ - ${MK_OSRELDATE_SH} + ${SHELL} ${MK_OSRELDATE_SH} .for i in ${LHDRS} INCSLINKS+= sys/$i ${INCLUDEDIR}/$i --=-Aj5Unxq8EpivIBEDWBwn--