Relying on $PATH in RPM scriplets

Lukas Zapletal lzap at redhat.com
Fri Jul 26 16:06:00 UTC 2013


Hey,

since we provide cloud images starting with Fedora 19, I noticed that
cloud-init, which is used in these, does not execute user shell scripts
with $PATH set properly which is causing issues for packages that does
not provide full paths in scriplets.

I know we have some examples which relies on $PATH set to at least
/usr/bin and /sbin, for example:

http://fedoraproject.org/wiki/Packaging:UsersAndGroups

I am searching for page that says one can rely on the $PATH. Cannot find
it.

Thanks!

-- 
Later,

 Lukas "lzap" Zapletal
 irc: lzap #theforeman


More information about the devel mailing list