[Bug 235185] www/fcgiwrap: environment should be cleaned in /usr/local/etc/rc.d/fcgiwrap

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 235185] www/fcgiwrap: environment should be cleaned in /usr/local/etc/rc.d/fcgiwrap

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235185

--- Comment #4 from Rodney W. Grimes <[hidden email]> ---
(In reply to Jamie Landeg-Jones from comment #3)
We do need to look at the rc.d code, as I think this statement in the
services(8) man page is not actually true:
    When used for this purpose it will set the same
    restricted environment that is in use at boot time (see below)
    (below)
    ENVIRONMENT
     When used to run rc.d scripts the service command sets HOME to / and PATH
     to /sbin:/bin:/usr/sbin:/usr/bin which is how they are set in /etc/rc at
     boot time.

I think it comes rather short of getting back to the "boot time restricted
environment" in many respects, in that it appears to only set the PATH and HOME
variables.

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "[hidden email]"