mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
55deb0a5f0
init(8) sets the "daemon" login class without specifying a pw entry (so no substitutions are done on the variables). service(8)'s use of env -L had the effect of specifying root's pw entry, with two effects: getpwnam and getpwuid are being called, which may not be entirely safe depending on what nsswitch is up to and what stage of boot we are at, and substitutions would have been done. Fix by teaching env(8) to allow -L -/classname to set the class environment with no pw entry at all specified, and use it in service(8). PR: 253959 |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.depend | ||
service.8 | ||
service.sh |