Bug 27242

Summary: не работает dummy
Product: Sisyphus Reporter: Denis Kuznetsov <kde>
Component: etcnetAssignee: Mikhail Efremov <sem>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: ldv, mike, rider, sem, shaba, vitty, vseleznv
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Denis Kuznetsov 2012-04-18 23:30:15 MSK
tail /etc/net/ifaces/dummy0/*
==> /etc/net/ifaces/dummy0/ipv4address <==
192.168.192.132/32

==> /etc/net/ifaces/dummy0/options <==
DISABLED=no
ONBOOT=yes

#modprobe duumy
#echo dummy >> /etc/modules
# ifup dummy0
/sbin/modprobe: invalid option -- 'o'
Usage: /sbin/modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] 
[-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
/sbin/modprobe -r [-n] [-i] [-v] <modulename> ...
/sbin/modprobe -l -t <dirname> [ -a <modulename> ...]
Cannot find device "dummy0"

типа того приехали... 
патч:
--- /etc/net/scripts/create-dummy.old   2012-04-18 08:10:32.176060832 -0400
+++ /etc/net/scripts/create-dummy       2012-04-18 08:11:18.820060313 -0400
@@ -8,5 +8,6 @@
 # is done for dummies, so if we see the name already present,
 # the work is over.
 iface_exists $NAME && exit
-modprobe_with_rename -o $NAME dummy >/dev/null
+#modprobe_with_rename -o $NAME dummy >/dev/null
+ip link add name dummy0 type dummy
 $IP link set dev dummy0 name $NAME
Comment 2 Sergey Bolshakov 2012-04-19 13:42:00 MSK
/usr/share/doc/etcnet-0.9.10/examples/dummy