Bug#591456: [Pkg-xen-devel] Bug#591456: xen-utils-common: The script hotplugpath.sh is missing in /etc/xen/scripts
As nobody seems interest in this bug report, here is an updated package if someone needs it: http://www.mediafire.com/?5w83446d4gt8r6a Darkbasic -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#591456: xen-utils-common: The script hotplugpath.sh is missing in /etc/xen/scripts
Valentin Vidic valentin.vi...@carnet.hr Wed, 25 Aug 2010 10:44:31 hotplugpath.sh file is autogenerated in xen-common 4.0.0, hence the attached patch for debian/rules. Squeeze xen package has not been fixed and so network routing does not still work. Please apply tha attached patch: diff -ur orig/xen-common-4.0.0/debian/rules xen-common-4.0.0/debian/rules --- orig/xen-common-4.0.0/debian/rules 2010-03-01 22:03:38.0 +0100 +++ xen-common-4.0.0/debian/rules 2010-08-24 14:42:05.0 +0200 @@ -60,6 +60,7 @@ dh_testroot dh_prep $(MAKE) -C $(BUILD_DIR)/tools/examples install-configs + $(MAKE) -C $(BUILD_DIR)/tools/hotplug/common install-scripts $(MAKE) -C $(BUILD_DIR)/tools/hotplug/Linux install-udev install-scripts UDEV_RULES_DIR=/lib/udev/rules.d $(MAKE) -C $(BUILD_DIR)/scripts install diff -ur orig/xen-common-4.0.0/debian/rules xen-common-4.0.0/debian/rules --- orig/xen-common-4.0.0/debian/rules 2010-03-01 22:03:38.0 +0100 +++ xen-common-4.0.0/debian/rules 2010-08-24 14:42:05.0 +0200 @@ -60,6 +60,7 @@ dh_testroot dh_prep $(MAKE) -C $(BUILD_DIR)/tools/examples install-configs + $(MAKE) -C $(BUILD_DIR)/tools/hotplug/common install-scripts $(MAKE) -C $(BUILD_DIR)/tools/hotplug/Linux install-udev install-scripts UDEV_RULES_DIR=/lib/udev/rules.d $(MAKE) -C $(BUILD_DIR)/scripts install
Bug#591456: xen-utils-common: The script hotplugpath.sh is missing in /etc/xen/scripts
Is there a fix for this in the works/coming for squeeze or do I have to patch the package myself? If so, how? Thanks, a grateful Debian user that hasn't patched packages yet! Steve
Bug#591456: xen-utils-common: The script hotplugpath.sh is missing in /etc/xen/scripts
hotplugpath.sh file is autogenerated in xen-common 4.0.0, hence the attached patch for debian/rules. -- Valentin diff -ur orig/xen-common-4.0.0/debian/rules xen-common-4.0.0/debian/rules --- orig/xen-common-4.0.0/debian/rules 2010-03-01 22:03:38.0 +0100 +++ xen-common-4.0.0/debian/rules 2010-08-24 14:42:05.0 +0200 @@ -60,6 +60,7 @@ dh_testroot dh_prep $(MAKE) -C $(BUILD_DIR)/tools/examples install-configs + $(MAKE) -C $(BUILD_DIR)/tools/hotplug/common install-scripts $(MAKE) -C $(BUILD_DIR)/tools/hotplug/Linux install-udev install-scripts UDEV_RULES_DIR=/lib/udev/rules.d $(MAKE) -C $(BUILD_DIR)/scripts install
Bug#591456: xen-utils-common: The script hotplugpath.sh is missing in /etc/xen/scripts
Package: xen-utils-common Version: 4.0.0-1 Severity: important When Xen is configured in routed mode, restarting xend fails because the script hotplugpath.sh is missing. Please see below for more information. *** r...@eliott:~# /etc/init.d/xend restart Restarting Xen daemons: xend/etc/xen/scripts/network-route: line 20: /etc/xen/scripts/hotplugpath.sh: No such file or directory /etc/xen/scripts/network-route: line 28: /proc/sys/net/ipv4/conf/eth/proxy_arp: No such file or directory /etc/xen/scripts/network-route: line 20: /etc/xen/scripts/hotplugpath.sh: No such file or directory /etc/xen/scripts/network-route: line 28: /proc/sys/net/ipv4/conf/eth/proxy_arp: No such file or directory xend/etc/xen/scripts/network-route: line 20: /etc/xen/scripts/hotplugpath.sh: No such file or directory /etc/xen/scripts/network-route: line 28: /proc/sys/net/ipv4/conf/eth/proxy_arp: No such file or directory /etc/xen/scripts/network-route: line 20: /etc/xen/scripts/hotplugpath.sh: No such file or directory /etc/xen/scripts/network-route: line 28: /proc/sys/net/ipv4/conf/eth/proxy_arp: No such file or directory /etc/xen/scripts/network-route: line 20: /etc/xen/scripts/hotplugpath.sh: No such file or directory /etc/xen/scripts/network-route: line 28: /proc/sys/net/ipv4/conf/eth/proxy_arp: No such file or directory . r...@eliott:~# -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages xen-utils-common depends on: ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip ii udev 160-1 /dev/ and hotplug management daemo ii xenstore-utils4.0.1~rc3-1Xenstore utilities for Xen xen-utils-common recommends no packages. xen-utils-common suggests no packages. -- Configuration Files: /etc/xen/xend-config.sxp changed: (network-script network-route) (vif-script vif-route) (dom0-min-mem 196) (enable-dom0-ballooning yes) (total_available_memory 0) (dom0-cpus 0) (vncpasswd '') -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#591456: xen-utils-common: The script hotplugpath.sh is missing in /etc/xen/scripts
Can confirm this. You may workaroung this by configuring (network-script 'network-route netdev=eth0') in /etc/xen/xend-config.sxp. xend however still fails to start afterwards: r...@n1:~# /etc/init.d/xend start Starting Xen daemons: xenstored xenconsoled xend failed! r...@n1:~# xend start ; echo $? 1 I'm unsure why this happens, however I suspect a wrong library path for python: r...@n1:~# strace xend start 21 | grep ENOENT | grep python/xen stat(/usr/lib/xen-4.0/bin/../lib/python/xen/__init__, 0x7fff06a69560) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-4.0/bin/../lib/python/xen/__init__.so, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-4.0/bin/../lib/python/xen/__init__module.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat(/usr/lib/xen-4.0/bin/../lib/python/xen/xend/__init__, 0x7fff06a69560) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-4.0/bin/../lib/python/xen/xend/__init__.so, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-4.0/bin/../lib/python/xen/xend/__init__module.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat(/usr/lib/xen-4.0/bin/../lib/python/xen/xend/server/__init__, 0x7fff06a69560) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-4.0/bin/../lib/python/xen/xend/server/__init__.so, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-4.0/bin/../lib/python/xen/xend/server/__init__module.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat(/usr/lib/xen-4.0/bin/../lib/python/xen/xend/server/SrvDaemon, 0x7fff06a6a5a0) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-4.0/bin/../lib/python/xen/xend/server/SrvDaemon.so, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-4.0/bin/../lib/python/xen/xend/server/SrvDaemonmodule.so, O_RDONLY) = -1 ENOENT (No such file or directory) freenetMail mobil – Alle E-Mails auf Ihrem Handy versenden und empfangen. Jetzt kinderleicht und kostenlos einrichten. Hier informieren!
Bug#591456: xen-utils-common: The script hotplugpath.sh is missing in /etc/xen/scripts
Yes, you might also need to comment out the appropriate line in /etc/xen/scripts/network-route. #. $dir/hotplugpath.sh It's not required to start xend in a routed network environment. However I don't know if there are side effects by commenting this out afterwards. In Xen 3 this script is not present though. This doesn't affect the bug report as reported by you itself and is still valid. My problem from above was because of an ambiguous line for xen relocation, no error was reported through xend though. freenetMail - Der zuverlässige E-Mail-Dienst von freenet.de Jetzt kostenlose E-Mail-Adresse mit 1 GB Speicher und Profi-Spamschutz sichern! Sofort anmelden!