tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rc.d environment inheritance



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James K. Lowden wrote:
> Surely rc(8) should describe the environment it sets up for its scripts.  

Yes

> 
> That said, SOP is to use hard-coded paths in rc.d scripts.  
> 

You missed the point :)
The full path to the daemon the rc.d script called is hard coded.
However the daemon itself wants to call something in $PATH.

One might argue that the daemon in pkgsrc should be patched to use the
hardcoded path, but what if the daemon is in base and can optionally use
a pkgsrc supplied program?

Thanks

Roy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJvgqiAAoJEFl/l+qa1FVJYwYH/RGpxZwtlu08EFa1Tx7AE/cP
JpshQlPTalnaenS1umARei2b8jGqYK/2tr5wUB9sFPIshD82ukS0UsUh0b6Qm5wL
BxYp34qy4CI/Qf/VUM/E1sqr+Ni9enjZwk00mcwAi3n5Ds/jmH8XqTWNDY2j/Mt/
RJShZKPDCoqJ1iNF+3Z4gM1Z88kypWuJb817+wCugfeJZF0aOVoAtWUivpCrpiZm
VVNVmrog6B36uK+kypU6tOpWEeERjy114PSk8LFVV+NFm0qnkgUKcxlrB5C0h5Mf
nFZrE5zsPQEMAfV2Q1aZI+YWWAhlEruurAynfLLUZHekQjNblzrcs08Cy5JhjR8=
=rvEX
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index