70-persistent-net.rules not created
bruce.dubbs at gmail.com
Sun Jan 10 20:37:13 PST 2010
jmscott at setex.ipcallback.com wrote:
> the standard output to /lib/udev/write_net_rules is
> caught and filtered by udevadm, so examining the env list to execve()
> seemed a bit more direct.
Where is standard output caught? I don't see it. After options, udevadm
just calls udevadm-test(argc, argv).
> adding a call to env in /lib/udev/write_net_rules has same result.
> INTERFACE is not defined.
>> If INTERFACE set before you call write_net_rules and not within the
> verified with a printf of getenv(INTERFACE) in main() of udevadm.
That's your problem, but I don't know how to fix it.
Can you try:
char* e = *environ;
while ( *e != NULL )
printf( "%s\n", *e );
More information about the lfs-support