70-persistent-net.rules not created

Bruce Dubbs bruce.dubbs at gmail.com
Sun Jan 10 18:38:09 PST 2010


jmscott at setex.ipcallback.com wrote:

> from examining the udevadm source, it appears the environment variable list
> is rebuilt for the execve call to /lib/udev/write_net_rules.  
> i do see the INTERFACE env variable being passed to udevadm in main(),
> as expected, but not being included in the envp list passed to the exec call 
> /lib/udev/write_net_rules, hence the error above.
> in other words, it appears udevadm is not inheriting the exported environent
> as expected.

Why don't you just run a test and add a 'env' command to the top of 
/lib/udev/write_net_rules to see what all the environment variables are?

If INTERFACE set before you call write_net_rules and not within the 
script, then we need to solve that problem.

You are using bash, right?

   -- Bruce





More information about the lfs-support mailing list