On Wed, 2007-09-26 at 11:00 +0100, Denys Vlasenko wrote:
> I think it's reasonably safe since automount is started by root
> and root is expected to set PATH sanely.
>
> And it still doesn't work, because you are using execv(), not execvp().
>
> This patch replaces execv() with execvp().
>
> It should change nothing for 'normally' configured automount since
> it passes fully qualified names ("/bin/mount") to exec and PATH
> is not used in this case.
I still can't agree that using $PATH to locate executable maps is OK.
If a system uses executable maps then I think the location of them
should be specified in full.
Ian
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs