Bug#492367: Bug #492367: open-iscsi: Enable static IP to iscsi root using initramfs and virtual machine Xen
Control: tags -1 + moreinfo Hi, I'm looking through the bug list of open-iscsi and I've noticed this really old wishlist bug. Is this still relevant? Or has Xen changed in the mean time? (Sorry, I don't use Xen, I have no idea about it.) I'd rather not merge something where I'm not sure that it actually works in the current environment. Could you perhaps provide a bit of details on what exactly is wrong when calling configure_networking? Regards, Christian signature.asc Description: OpenPGP digital signature
Bug#492367: open-iscsi: Enable static IP to iscsi root using initramfs and virtual machine Xen
Package: open-iscsi Version: 2.0.869.2-2.1 Severity: wishlist Xen enables virtual machines to boot with static IP configured in its own configuration file. Example: # virtual machine config [...] vif = [ 'bridge=xenbr0, ip=10.0.0.5, mac=xx:xx:xx:xx:xx:xx' ] [...] Attached a patch to provide it. Regards, Marco Sinhoreli -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.18.8-xen (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages open-iscsi depends on: ii libc6 2.7-11 GNU C Library: Shared libraries open-iscsi recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#492367: open-iscsi: Enable static IP to iscsi root using initramfs and virtual machine Xen - patch
Package: open-iscsi Version: 2.0.869.2-2.1 Followup-For: Bug #492367 Attached the patch. Regards, Marco Sinhoreli -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.18.8-xen (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages open-iscsi depends on: ii libc6 2.7-11 GNU C Library: Shared libraries open-iscsi recommends no packages. -- no debconf information diff -rc open-iscsi-2.0.869.2-origdeb/debian/extra/initramfs.local-top open-iscsi-2.0.869.2/debian/extra/initramfs.local-top *** open-iscsi-2.0.869.2-origdeb/debian/extra/initramfs.local-top 2008-07-25 12:19:00.0 -0300 --- open-iscsi-2.0.869.2/debian/extra/initramfs.local-top 2008-07-25 13:02:31.0 -0300 *** *** 24,30 done . /scripts/functions ! configure_networking modprobe iscsi_tcp modprobe crc32c --- 24,36 done . /scripts/functions ! if [ -d /proc/xen ]; then ! if ! ip addr show dev vif19.0 | egrep '^ *inet ' /dev/null ; then ! configure_networking ! fi ! else ! configure_networking ! fi modprobe iscsi_tcp modprobe crc32c