udev and PATH problems

Denis Vlasenko vda.linux at googlemail.com
Wed May 16 22:35:08 UTC 2007


On Wednesday 16 May 2007 14:00, Ignacio García Pérez wrote:
> However, I'm not quite sure udevd passing along its startuo environment 
> to "RUN+=" programs is the right solution. It might "pollute" the 
> programs environment and provide a non deterministic execution 
> evironment: in other word, the "RUN+=" outcome may depend on factors not 
> under the udev subsystem control (i.e. the environment set when the 
> udevd daemon is started).

It has to pass PATH. PATH is set by the human who set up the system.
It's not udevd's business to decide whether PATH is reasonable or not.
If PATH is wrong, it's admin's fault.

Programs should not dictate policy, they should provide functionality.
--
vda



More information about the busybox mailing list