On Tue, Mar 02, 2010 at 04:43:26PM +0300, Vitaly Kuznetsov wrote: > Using absolute path for a privileged command is a bad idea as this path may > vary. > For example /usr/sbin/brctl in Debian and /sbin/brctl in ALTLinux. Using > $PATH is > a better idea.
Thanks for the patch. What do you think about detecting the path to these commands at ./configure time and using that value, hardcoded? E.g. using AC_PATH_PROG/AC_CHECK_PROG. This would also allow checking of needed programs at configure time. Either way, this should be fixed, I'm just wondering what's the best option. regards, iustin
