Date: Sun, 22 Sep 2013 09:41:55 -0600 From: Ian Lepore <ian@FreeBSD.org> To: Larry Rosenman <ler@lerctr.org> Cc: Freebsd current <freebsd-current@FreeBSD.org> Subject: Re: exec on /usr/src? Message-ID: <1379864515.1197.102.camel@revolution.hippie.lan> In-Reply-To: <4fba59fe23c1e48e95548e377d8ff368@webmail.lerctr.org> References: <4fba59fe23c1e48e95548e377d8ff368@webmail.lerctr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1379864515.1197.102.camel>