70-persistent-net.rules not created

jmscott at setex.ipcallback.com jmscott at setex.ipcallback.com
Sat Jan 9 10:57:11 PST 2010


On Sat, Jan 09, 2010 at 12:48:42PM -0600, Bruce Dubbs wrote:
> jmscott at setex.ipcallback.com wrote:
> 
> > i see the error
> > 
> >    util_run_program: 'write_net_rules'
> >    util_run_program: '/lib/udev/write_net_rules' (stderr) 'missing $INTERFACE'
> >    util_run_program: 'write_net_rules' returned with exitcode 1
> > 
> > amongst the voluminous output.
> > 
> > i tried exporting INTERFACE and rerunning the command ... same error output.
> 
> Try again.  'write_net_rules' is a script.  It's erroring out at

  root:~# INTERFACE=/sys/class/net/eth0 udevadm test --action=add /sys/class/net/eth0

  ...

  util_run_program: 'write_net_rules'
  util_run_program: '/lib/udev/write_net_rules' (stderr) 'missing $INTERFACE'
  util_run_program: 'write_net_rules' returned with exitcode 1

...

> 
> if [ -z "$INTERFACE" ]; then
>     echo "missing \$INTERFACE" >&2
>     exit 1
> fi
> 
> You are doing something wrong with setting the INTERFACE variable.

or what ever calls /lib/udev/write_net_rules is changing INTERFACE.
looks like i'm going to have to poke around in udevadm source.

uggh.

-j

> 
>    -- Bruce
> 
> 
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page



More information about the lfs-support mailing list