| Summary: | /etc/rc.subr cannot deal properly with interpreted daemons whos shebang uses /usr/bin/env | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Rob Pitt <rob> |
| Component: | bin | Assignee: | Yar Tikhiy <yar> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Rob Pitt
2006-07-14 11:40:16 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-rc Over to maintainer(s). yar 2006-12-31 11:07:29 UTC
FreeBSD src repository
Modified files:
etc rc.subr
Log:
Allow for /usr/bin/env when parsing the shebang line from an
interpreted $command. Some "portable" sofware packages use such a
line to skip the task of figuring out the absolute pathname of the
interpreter at install time, e.g.:
#!/usr/bin/env python
It is insecure, but a popular book on Python seems to have advised
it to a wide audience. Hence a number of such scripts in the ports,
mostly written in Python.
PR: bin/100287
MFC after: 1 week
Revision Changes Path
1.73 +5 -0 src/etc/rc.subr
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->patched Fixed in CURRENT; MFC is due in 1 week. Thanks! Responsible Changed From-To: freebsd-rc->yar Fixed in CURRENT; MFC is due in 1 week. Thanks! yar 2007-03-10 13:53:04 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
etc rc.subr
Log:
MFC rev. 1.73: Allow for interpreted scripts using env(1)
in their shebang lines.
PR: bin/100287
Revision Changes Path
1.34.2.19 +5 -0 src/etc/rc.subr
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: patched->closed Sorry, I delayed the MFC terribly. Now the bug is fixed in both active branches. |