Re: Debian/Ubuntu patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>> I imagine that these should be version specific patches :
>>
>
> This is a debian/ubuntu specific fix and should not go in just like that. We
> need a version check to decide if -[46] can be passed or not, since newer
> version of dhclient should be supplied with it.

Sorry, I meant that Ubuntus packages should have this patches applied,
because otherwise are broken. I was not refering to pulling them into
the master, I'm sorry.


 - Ubuntu 10.10 ships dhclient 3, which doesn't support the "-4" flag.

diff -urN dracut/modules.d/40network/ifup dracut-007/modules.d/40network/ifup
--- dracut/modules.d/40network/ifup	2010-08-09 16:13:51.000000000 +0200
+++ dracut-007/modules.d/40network/ifup	2010-10-21 02:49:45.714564995 +0200
@@ -132,7 +132,7 @@
     if [ "$netroot" = "dhcp6" ]; then
 	do_dhcp -6
     else
-	do_dhcp -4
+	do_dhcp
     fi
 fi

@@ -151,7 +151,7 @@

     case $autoconf in
 	dhcp|on|any)
-	    do_dhcp -4 ;;
+	    do_dhcp ;;
 	dhcp6)
 	    do_dhcp -6 ;;
 	auto6)


- Ubuntu Maverick's arping seems to be broken (a least for me).

diff -urN dracut/modules.d/40network/netroot
dracut-007/modules.d/40network/netroot
--- dracut/modules.d/40network/netroot	2010-08-09 16:13:51.000000000 +0200
+++ dracut-007/modules.d/40network/netroot	2010-10-21 02:49:45.714564995 +0200
@@ -96,9 +96,9 @@
        [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*) dest=$dummy;;
     esac
 fi
-if [ -n "$dest" ] && ! arping -q -f -w 60 -I $netif $dest ; then
-    die "Resolving $dest via ARP on $netif failed"
-fi
+#if [ -n "$dest" ] && ! arping -q -f -w 60 -I $netif $dest ; then
+#    die "Resolving $dest via ARP on $netif failed"
+#fi

 # Source netroot hooks before we start the handler
 source_all netroot


> We need iputils-arping and not the standard arping. Mind checking if you are
> using the correct package?

$ dpkg -S `which arping `
iputils-arping: /usr/bin/arping

$ arping -V
arping utility, iputils-sss20100418


> Thanks && Regards,
> Philippe

Regards,

Jon Ander.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux