From brent.bolin at gmail.com Wed Sep 1 20:54:59 2010 From: brent.bolin at gmail.com (Brent Bolin) Date: Wed, 1 Sep 2010 13:54:59 -0500 Subject: [xen-tools-discuss] questions about booting Message-ID: what os should be listed in /etc/xen/guest.cfg kernel = '/boot/vmlinuz-2.6.32-5-xen-amd64' ramdisk = '/boot/initrd.img-2.6.32-5-xen-amd64' root at lenny:~# uname -a Linux lenny 2.6.32-5-xen-amd64 #1 SMP Thu Aug 12 15:17:50 UTC 2010 x86_64 GNU/Linux kernel = '/boot/vmlinuz-2.6.32-5-amd64' ramdisk = '/boot/initrd.img-2.6.32-5-amd64' root at lenny:~# uname -a Linux lenny 2.6.32-5-amd64 #1 SMP Thu Aug 12 13:01:50 UTC 2010 x86_64 GNU/Linux should the guest be running a xen kernel or does it matter? Also how does all this work with no /boot/grub/* in the guest # # Configuration file for the Xen instance lenny, created # by xen-tools 4.2beta1 on Sun Aug 29 20:48:13 2010. # # # Kernel + memory size # #kernel = '/boot/vmlinuz-2.6.32-5-xen-amd64' #ramdisk = '/boot/initrd.img-2.6.32-5-xen-amd64' kernel = '/boot/vmlinuz-2.6.32-5-amd64' ramdisk = '/boot/initrd.img-2.6.32-5-amd64' vcpus = '1' memory = '512' # # Disk device(s). # root = '/dev/xvda2 ro' disk = [ 'file:/disk/xen/domains/lenny/disk.img,xvda2,w', 'file:/disk/xen/domains/lenny/swap.img,xvda1,w', ] # # Physical volumes # # # Hostname # name = 'lenny' # # Networking # vif = [ 'ip=192.168.0.100,mac=00:16:3E:EE:0E:05' ] # # Behaviour # on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' From roland at thegreentree.za.net Wed Sep 8 19:49:49 2010 From: roland at thegreentree.za.net (Roland Giesler) Date: Wed, 8 Sep 2010 19:49:49 +0200 Subject: [xen-tools-discuss] make install doesn't make Message-ID: Hi everyone, I'm pretty new to Xen, but not knew to virtualisation. ?Since I'm by far the most proficient in Ubuntu / Debian, I'm installing ConVirt 2.0 on a 64bit Ubuntu Lucid (10.04) desktop box, but of course need to have Xen installed as well if I want to be able to create domU's on that box. ?The idea is that I build a complete virtual machine here before deploying it to some server in production. I read about the reasons why Ubuntu 10.04 doesn't have xen-tools formally supported, but since this is the wonderful world of OSS, I'm installing xen-tools from source, which is why I'm here! :-) Now, I have checked out a copy of xen-tools as follows git clone git://gitorious.org/xen-tools/xen-tools.git cd xen-tools sudo make install Here are the steps and results Make sure I have all the dependencies installed... roland at vm1:~/Xen/xen-tools$ sudo apt-get install debootstrap Reading package lists... Done Building dependency tree Reading state information... Done debootstrap is already the newest version. roland at vm1:~/Xen/xen-tools$ sudo apt-get install perl Reading package lists... Done Building dependency tree Reading state information... Done perl is already the newest version. roland at vm1:~/Xen/xen-tools$ sudo perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. cpan[1]> install Text::Template CPAN: Storable loaded ok (v2.20) Going to read '/home/roland/.cpan/Metadata' ?Database was generated on Wed, 08 Sep 2010 09:29:19 GMT Text::Template is up to date (1.45). cpan[2]> install Config::IniFiles Config::IniFiles is up to date (2.58). cpan[3]> exit No history written (no histfile specified). Lockfile removed. roland at vm1:~/Xen/xen-tools$ sudo apt-get install make Reading package lists... Done Building dependency tree Reading state information... Done make is already the newest version. Now make install... roland at vm1:~/Xen/xen-tools$ sudo make install for i in hooks/*/*-*; do chmod 755 $i; done chmod 755 hooks/common.sh chmod 644 etc/xen-tools.conf chmod 644 etc/xm.tmpl chmod 644 etc/xm-nfs.tmpl chmod 644 misc/xen-tools misc/README mkdir -p /usr/bin cp bin/xen-create-image ? ? /usr/bin cp bin/xen-create-nfs ? ? ? /usr/bin cp bin/xt-customize-image ? /usr/bin cp bin/xt-install-image ? ? /usr/bin cp bin/xt-create-xen-config /usr/bin cp bin/xen-delete-image ? ? /usr/bin cp bin/xen-list-images ? ? ?/usr/bin cp bin/xen-update-image ? ? /usr/bin cp bin/xt-guess-suite-and-mirror /usr/bin chmod 755 /usr/bin/xen-create-image chmod 755 /usr/bin/xen-create-nfs chmod 755 /usr/bin/xt-customize-image chmod 755 /usr/bin/xt-install-image chmod 755 /usr/bin/xt-create-xen-config chmod 755 /usr/bin/xen-delete-image chmod 755 /usr/bin/xen-list-images chmod 755 /usr/bin/xen-update-image chmod 755 /usr/bin/xt-guess-suite-and-mirror mkdir -p /etc/xen-tools if [ -d /etc/xen-tools/hook.d ]; then mv /etc/xen-tools/hook.d/ /etc/xen-tools/hook.d.obsolete ; fi mkdir -p /etc/xen-tools/skel/ mkdir -p /etc/xen-tools/role.d/ mkdir -p /etc/xen-tools/partitions.d/ cp etc/xen-tools.conf /etc/xen-tools/ cp etc/xm.tmpl ? ? ? ?/etc/xen-tools/ cp etc/xm-nfs.tmpl ? ?/etc/xen-tools/ cp partitions/*-* ? ? /etc/xen-tools/partitions.d/ mkdir -p ? ? ? ? ? ? /etc/bash_completion.d cp misc/xen-tools ? ? /etc/bash_completion.d/ for i in roles/* ; do if [ -f $i ]; then cp $i /etc/xen-tools/role.d; fi ; done mkdir -p /usr/lib/xen-tools/centos-4.d/ mkdir -p /usr/lib/xen-tools/centos-5.d/ mkdir -p /usr/lib/xen-tools/fedora-core-6.d/ cp -R hooks/centos-4/*-* /usr/lib/xen-tools/centos-4.d cp -R hooks/centos-5/*-* /usr/lib/xen-tools/centos-5.d cp -R hooks/fedora-core-6/*-* /usr/lib/xen-tools/fedora-core-6.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-4.d ln: creating symbolic link `fedora-core-4.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-5.d ln: creating symbolic link `fedora-core-5.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-7.d ln: creating symbolic link `fedora-core-7.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-8.d ln: creating symbolic link `fedora-core-8.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-9.d ln: creating symbolic link `fedora-core-9.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-10.d ln: creating symbolic link `fedora-core-10.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-11.d ln: creating symbolic link `fedora-core-11.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-12.d ln: creating symbolic link `fedora-core-12.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-13.d ln: creating symbolic link `fedora-core-13.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) mkdir -p /usr/lib/xen-tools/debian.d/ cp -R hooks/debian/*-* /usr/lib/xen-tools/debian.d cd /usr/lib/xen-tools/ && ln -s debian.d sarge.d ln: creating symbolic link `sarge.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d etch.d ln: creating symbolic link `etch.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d lenny.d ln: creating symbolic link `lenny.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d squeeze.d ln: creating symbolic link `squeeze.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d sid.d ln: creating symbolic link `sid.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d testing.d ln: creating symbolic link `testing.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d stable.d ln: creating symbolic link `stable.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) mkdir -p /usr/lib/xen-tools/gentoo.d/ cp -R hooks/gentoo/*-* /usr/lib/xen-tools/gentoo.d mkdir -p /usr/lib/xen-tools/dapper.d/ cp -R hooks/dapper/*-* /usr/lib/xen-tools/dapper.d/ mkdir -p /usr/lib/xen-tools/edgy.d/ cp -R hooks/edgy/*-* /usr/lib/xen-tools/edgy.d/ cd /usr/lib/xen-tools/ && ln -s edgy.d feisty.d ln: creating symbolic link `feisty.d/edgy.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s edgy.d gutsy.d ln: creating symbolic link `gutsy.d/edgy.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s edgy.d hardy.d ln: creating symbolic link `hardy.d/edgy.d': File exists make: [install-hooks] Error 1 (ignored) mkdir -p /usr/lib/xen-tools/intrepid.d/ cp -R hooks/intrepid/*-* /usr/lib/xen-tools/intrepid.d/ cd /usr/lib/xen-tools/ && ln -s intrepid.d jaunty.d ln: creating symbolic link `jaunty.d/intrepid.d': File exists make: [install-hooks] Error 1 (ignored) mkdir -p /usr/lib/xen-tools/karmic.d/ cp -R hooks/karmic/*-* /usr/lib/xen-tools/karmic.d/ cd /usr/lib/xen-tools/ && ln -s karmic.d lucid.d ln: creating symbolic link `lucid.d/karmic.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s karmic.d maverick.d ln: creating symbolic link `maverick.d/karmic.d': File exists make: [install-hooks] Error 1 (ignored) cp hooks/common.sh /usr/lib/xen-tools mkdir -p /usr/share/perl5/Xen/Tools cp ./lib/Xen/*.pm /usr/share/perl5/Xen cp ./lib/Xen/Tools/*.pm /usr/share/perl5/Xen/Tools mkdir -p man cd bin; for i in *-*[!y]; do pod2man --release=4.2rc2 --official --section=8 $i ../man/$i.8; done for i in man/*.8; do gzip --force -9 $i; done mkdir -p /usr/share/man/man8/ cp man/*.8.gz /usr/share/man/man8/ I see lots of Error 1 message above and if I try to install ubuntu-xen-server it still had the dependency on xen-tools unsatisfied. Can someone point out what's wrong or what I should do to determine what's causing this please? regards Roland Giesler Green Tree Systems Trust Stellenbosch, South Africa From sjourdois at gmail.com Wed Sep 8 20:20:35 2010 From: sjourdois at gmail.com (=?utf-8?B?U3TDqXBoYW5lIEpvdXJkb2lz?=) Date: Wed, 8 Sep 2010 18:20:35 +0000 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: References: Message-ID: <1814035698-1283970037-cardhu_decombobulator_blackberry.rim.net-1601072051-@bda046.bisx.produk.on.blackberry> Hi, I'll look into these errors (which could be corrected by running "sudo rm -rf /usr/lib/xen-tools" before "make install"), but I don't think they are the cause of your problem. You have a depends on a xen-tools package, which you didn't install. Have you tried the ubuntu/debian recommended way : make changelog dpkg-buildpackage sudo dpkg -i ../xen-tools_*.deb ? Stephane Jourdois -- /// Stephane Jourdois /"\ ASCII RIBBON CAMPAIGN \\\ ((( Consultant securite \ / AGAINST HTML MAIL ))) \\\ 157 Bd Davout X /// \\\ 75020 Paris / \ +33 6 8643 3085 /// -----Original Message----- From: Roland Giesler Sender: xen-tools-discuss-bounces at xen-tools.org Date: Wed, 8 Sep 2010 19:49:49 To: Subject: [xen-tools-discuss] make install doesn't make Hi everyone, I'm pretty new to Xen, but not knew to virtualisation. ?Since I'm by far the most proficient in Ubuntu / Debian, I'm installing ConVirt 2.0 on a 64bit Ubuntu Lucid (10.04) desktop box, but of course need to have Xen installed as well if I want to be able to create domU's on that box. ?The idea is that I build a complete virtual machine here before deploying it to some server in production. I read about the reasons why Ubuntu 10.04 doesn't have xen-tools formally supported, but since this is the wonderful world of OSS, I'm installing xen-tools from source, which is why I'm here! :-) Now, I have checked out a copy of xen-tools as follows git clone git://gitorious.org/xen-tools/xen-tools.git cd xen-tools sudo make install Here are the steps and results Make sure I have all the dependencies installed... roland at vm1:~/Xen/xen-tools$ sudo apt-get install debootstrap Reading package lists... Done Building dependency tree Reading state information... Done debootstrap is already the newest version. roland at vm1:~/Xen/xen-tools$ sudo apt-get install perl Reading package lists... Done Building dependency tree Reading state information... Done perl is already the newest version. roland at vm1:~/Xen/xen-tools$ sudo perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. cpan[1]> install Text::Template CPAN: Storable loaded ok (v2.20) Going to read '/home/roland/.cpan/Metadata' ?Database was generated on Wed, 08 Sep 2010 09:29:19 GMT Text::Template is up to date (1.45). cpan[2]> install Config::IniFiles Config::IniFiles is up to date (2.58). cpan[3]> exit No history written (no histfile specified). Lockfile removed. roland at vm1:~/Xen/xen-tools$ sudo apt-get install make Reading package lists... Done Building dependency tree Reading state information... Done make is already the newest version. Now make install... roland at vm1:~/Xen/xen-tools$ sudo make install for i in hooks/*/*-*; do chmod 755 $i; done chmod 755 hooks/common.sh chmod 644 etc/xen-tools.conf chmod 644 etc/xm.tmpl chmod 644 etc/xm-nfs.tmpl chmod 644 misc/xen-tools misc/README mkdir -p /usr/bin cp bin/xen-create-image ? ? /usr/bin cp bin/xen-create-nfs ? ? ? /usr/bin cp bin/xt-customize-image ? /usr/bin cp bin/xt-install-image ? ? /usr/bin cp bin/xt-create-xen-config /usr/bin cp bin/xen-delete-image ? ? /usr/bin cp bin/xen-list-images ? ? ?/usr/bin cp bin/xen-update-image ? ? /usr/bin cp bin/xt-guess-suite-and-mirror /usr/bin chmod 755 /usr/bin/xen-create-image chmod 755 /usr/bin/xen-create-nfs chmod 755 /usr/bin/xt-customize-image chmod 755 /usr/bin/xt-install-image chmod 755 /usr/bin/xt-create-xen-config chmod 755 /usr/bin/xen-delete-image chmod 755 /usr/bin/xen-list-images chmod 755 /usr/bin/xen-update-image chmod 755 /usr/bin/xt-guess-suite-and-mirror mkdir -p /etc/xen-tools if [ -d /etc/xen-tools/hook.d ]; then mv /etc/xen-tools/hook.d/ /etc/xen-tools/hook.d.obsolete ; fi mkdir -p /etc/xen-tools/skel/ mkdir -p /etc/xen-tools/role.d/ mkdir -p /etc/xen-tools/partitions.d/ cp etc/xen-tools.conf /etc/xen-tools/ cp etc/xm.tmpl ? ? ? ?/etc/xen-tools/ cp etc/xm-nfs.tmpl ? ?/etc/xen-tools/ cp partitions/*-* ? ? /etc/xen-tools/partitions.d/ mkdir -p ? ? ? ? ? ? /etc/bash_completion.d cp misc/xen-tools ? ? /etc/bash_completion.d/ for i in roles/* ; do if [ -f $i ]; then cp $i /etc/xen-tools/role.d; fi ; done mkdir -p /usr/lib/xen-tools/centos-4.d/ mkdir -p /usr/lib/xen-tools/centos-5.d/ mkdir -p /usr/lib/xen-tools/fedora-core-6.d/ cp -R hooks/centos-4/*-* /usr/lib/xen-tools/centos-4.d cp -R hooks/centos-5/*-* /usr/lib/xen-tools/centos-5.d cp -R hooks/fedora-core-6/*-* /usr/lib/xen-tools/fedora-core-6.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-4.d ln: creating symbolic link `fedora-core-4.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-5.d ln: creating symbolic link `fedora-core-5.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-7.d ln: creating symbolic link `fedora-core-7.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-8.d ln: creating symbolic link `fedora-core-8.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-9.d ln: creating symbolic link `fedora-core-9.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-10.d ln: creating symbolic link `fedora-core-10.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-11.d ln: creating symbolic link `fedora-core-11.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-12.d ln: creating symbolic link `fedora-core-12.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-13.d ln: creating symbolic link `fedora-core-13.d/fedora-core-6.d': File exists make: [install-hooks] Error 1 (ignored) mkdir -p /usr/lib/xen-tools/debian.d/ cp -R hooks/debian/*-* /usr/lib/xen-tools/debian.d cd /usr/lib/xen-tools/ && ln -s debian.d sarge.d ln: creating symbolic link `sarge.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d etch.d ln: creating symbolic link `etch.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d lenny.d ln: creating symbolic link `lenny.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d squeeze.d ln: creating symbolic link `squeeze.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d sid.d ln: creating symbolic link `sid.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d testing.d ln: creating symbolic link `testing.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s debian.d stable.d ln: creating symbolic link `stable.d/debian.d': File exists make: [install-hooks] Error 1 (ignored) mkdir -p /usr/lib/xen-tools/gentoo.d/ cp -R hooks/gentoo/*-* /usr/lib/xen-tools/gentoo.d mkdir -p /usr/lib/xen-tools/dapper.d/ cp -R hooks/dapper/*-* /usr/lib/xen-tools/dapper.d/ mkdir -p /usr/lib/xen-tools/edgy.d/ cp -R hooks/edgy/*-* /usr/lib/xen-tools/edgy.d/ cd /usr/lib/xen-tools/ && ln -s edgy.d feisty.d ln: creating symbolic link `feisty.d/edgy.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s edgy.d gutsy.d ln: creating symbolic link `gutsy.d/edgy.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s edgy.d hardy.d ln: creating symbolic link `hardy.d/edgy.d': File exists make: [install-hooks] Error 1 (ignored) mkdir -p /usr/lib/xen-tools/intrepid.d/ cp -R hooks/intrepid/*-* /usr/lib/xen-tools/intrepid.d/ cd /usr/lib/xen-tools/ && ln -s intrepid.d jaunty.d ln: creating symbolic link `jaunty.d/intrepid.d': File exists make: [install-hooks] Error 1 (ignored) mkdir -p /usr/lib/xen-tools/karmic.d/ cp -R hooks/karmic/*-* /usr/lib/xen-tools/karmic.d/ cd /usr/lib/xen-tools/ && ln -s karmic.d lucid.d ln: creating symbolic link `lucid.d/karmic.d': File exists make: [install-hooks] Error 1 (ignored) cd /usr/lib/xen-tools/ && ln -s karmic.d maverick.d ln: creating symbolic link `maverick.d/karmic.d': File exists make: [install-hooks] Error 1 (ignored) cp hooks/common.sh /usr/lib/xen-tools mkdir -p /usr/share/perl5/Xen/Tools cp ./lib/Xen/*.pm /usr/share/perl5/Xen cp ./lib/Xen/Tools/*.pm /usr/share/perl5/Xen/Tools mkdir -p man cd bin; for i in *-*[!y]; do pod2man --release=4.2rc2 --official --section=8 $i ../man/$i.8; done for i in man/*.8; do gzip --force -9 $i; done mkdir -p /usr/share/man/man8/ cp man/*.8.gz /usr/share/man/man8/ I see lots of Error 1 message above and if I try to install ubuntu-xen-server it still had the dependency on xen-tools unsatisfied. Can someone point out what's wrong or what I should do to determine what's causing this please? regards Roland Giesler Green Tree Systems Trust Stellenbosch, South Africa _______________________________________________ xen-tools-discuss mailing list xen-tools-discuss at xen-tools.org https://xen-tools.org/mailman/listinfo/xen-tools-discuss From abe at deuxchevaux.org Wed Sep 8 22:19:57 2010 From: abe at deuxchevaux.org (Axel Beckert) Date: Wed, 8 Sep 2010 22:19:57 +0200 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: References: Message-ID: <20100908201957.GT12890@sym.noone.org> Hi Roland, On Wed, Sep 08, 2010 at 07:49:49PM +0200, Roland Giesler wrote: > I read about the reasons why Ubuntu 10.04 doesn't have xen-tools > formally supported, but since this is the wonderful world of OSS, I'm > installing xen-tools from source, which is why I'm here! :-) A PPA for Lucid is still on my todo list. Will probably happen after the 4.2 release which will be soon. > roland at vm1:~/Xen/xen-tools$ sudo perl -MCPAN -e shell > > cpan shell -- CPAN exploration and modules installation (v1.9402) > Enter 'h' for help. > > cpan[1]> install Text::Template > CPAN: Storable loaded ok (v2.20) > Going to read '/home/roland/.cpan/Metadata' > ?Database was generated on Wed, 08 Sep 2010 09:29:19 GMT > Text::Template is up to date (1.45). > > cpan[2]> install Config::IniFiles > Config::IniFiles is up to date (2.58). > > cpan[3]> exit All those perl libraries are available in Ubuntu, too. Just do: $ sudo apt-get install libtext-template-perl libconfig-inifiles-perl > roland at vm1:~/Xen/xen-tools$ sudo make install > for i in hooks/*/*-*; do chmod 755 $i; done > chmod 755 hooks/common.sh > chmod 644 etc/xen-tools.conf > chmod 644 etc/xm.tmpl > chmod 644 etc/xm-nfs.tmpl > chmod 644 misc/xen-tools misc/README > mkdir -p /usr/bin > cp bin/xen-create-image ? ? /usr/bin > cp bin/xen-create-nfs ? ? ? /usr/bin > cp bin/xt-customize-image ? /usr/bin > cp bin/xt-install-image ? ? /usr/bin > cp bin/xt-create-xen-config /usr/bin > cp bin/xen-delete-image ? ? /usr/bin > cp bin/xen-list-images ? ? ?/usr/bin > cp bin/xen-update-image ? ? /usr/bin > cp bin/xt-guess-suite-and-mirror /usr/bin > chmod 755 /usr/bin/xen-create-image > chmod 755 /usr/bin/xen-create-nfs > chmod 755 /usr/bin/xt-customize-image > chmod 755 /usr/bin/xt-install-image > chmod 755 /usr/bin/xt-create-xen-config > chmod 755 /usr/bin/xen-delete-image > chmod 755 /usr/bin/xen-list-images > chmod 755 /usr/bin/xen-update-image > chmod 755 /usr/bin/xt-guess-suite-and-mirror > mkdir -p /etc/xen-tools > if [ -d /etc/xen-tools/hook.d ]; then mv /etc/xen-tools/hook.d/ > /etc/xen-tools/hook.d.obsolete ; fi > mkdir -p /etc/xen-tools/skel/ > mkdir -p /etc/xen-tools/role.d/ > mkdir -p /etc/xen-tools/partitions.d/ > cp etc/xen-tools.conf /etc/xen-tools/ > cp etc/xm.tmpl ? ? ? ?/etc/xen-tools/ > cp etc/xm-nfs.tmpl ? ?/etc/xen-tools/ > cp partitions/*-* ? ? /etc/xen-tools/partitions.d/ > mkdir -p ? ? ? ? ? ? /etc/bash_completion.d > cp misc/xen-tools ? ? /etc/bash_completion.d/ > for i in roles/* ; do if [ -f $i ]; then cp $i /etc/xen-tools/role.d; fi ; done > mkdir -p /usr/lib/xen-tools/centos-4.d/ > mkdir -p /usr/lib/xen-tools/centos-5.d/ > mkdir -p /usr/lib/xen-tools/fedora-core-6.d/ > cp -R hooks/centos-4/*-* /usr/lib/xen-tools/centos-4.d > cp -R hooks/centos-5/*-* /usr/lib/xen-tools/centos-5.d > cp -R hooks/fedora-core-6/*-* /usr/lib/xen-tools/fedora-core-6.d Looks fine until here. > cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-4.d > ln: creating symbolic link `fedora-core-4.d/fedora-core-6.d': File exists > make: [install-hooks] Error 1 (ignored) > cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-5.d > ln: creating symbolic link `fedora-core-5.d/fedora-core-6.d': File exists > make: [install-hooks] Error 1 (ignored) [...] > cd /usr/lib/xen-tools/ && ln -s karmic.d lucid.d > ln: creating symbolic link `lucid.d/karmic.d': File exists > make: [install-hooks] Error 1 (ignored) > cd /usr/lib/xen-tools/ && ln -s karmic.d maverick.d > ln: creating symbolic link `maverick.d/karmic.d': File exists > make: [install-hooks] Error 1 (ignored) Each of these errors looks to me as if "make install" is run a third or at least a second time. It's ok to ignore these errors. But it is a bug that it isn't checked if something.d already links to a directory and subsequent calls to "ln -s something.d somethingelse.d" do make symbolic links into somethingelse.d if it already exists. We will fix that. Thanks for the report! Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From abe at deuxchevaux.org Wed Sep 8 22:21:30 2010 From: abe at deuxchevaux.org (Axel Beckert) Date: Wed, 8 Sep 2010 22:21:30 +0200 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: <1814035698-1283970037-cardhu_decombobulator_blackberry.rim.net-1601072051-@bda046.bisx.produk.on.blackberry> References: <1814035698-1283970037-cardhu_decombobulator_blackberry.rim.net-1601072051-@bda046.bisx.produk.on.blackberry> Message-ID: <20100908202130.GU12890@sym.noone.org> On Wed, Sep 08, 2010 at 06:20:35PM +0000, St?phane Jourdois wrote: > I'll look into these errors (which could be corrected by running > "sudo rm -rf /usr/lib/xen-tools" before "make install"), Yep, that's should be a workaround for these problems. Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From abe at deuxchevaux.org Wed Sep 8 23:41:13 2010 From: abe at deuxchevaux.org (Axel Beckert) Date: Wed, 8 Sep 2010 23:41:13 +0200 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: <20100908201957.GT12890@sym.noone.org> References: <20100908201957.GT12890@sym.noone.org> Message-ID: <20100908214113.GX12890@sym.noone.org> Hi Roland, On Wed, Sep 08, 2010 at 10:19:57PM +0200, Axel Beckert wrote: > > cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-4.d > > ln: creating symbolic link `fedora-core-4.d/fedora-core-6.d': File exists > > make: [install-hooks] Error 1 (ignored) > > cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-5.d > > ln: creating symbolic link `fedora-core-5.d/fedora-core-6.d': File exists > > make: [install-hooks] Error 1 (ignored) > [...] > > cd /usr/lib/xen-tools/ && ln -s karmic.d lucid.d > > ln: creating symbolic link `lucid.d/karmic.d': File exists > > make: [install-hooks] Error 1 (ignored) > > cd /usr/lib/xen-tools/ && ln -s karmic.d maverick.d > > ln: creating symbolic link `maverick.d/karmic.d': File exists > > make: [install-hooks] Error 1 (ignored) > > Each of these errors looks to me as if "make install" is run a third > or at least a second time. > > It's ok to ignore these errors. But it is a bug that it isn't checked > if something.d already links to a directory and subsequent calls to > "ln -s something.d somethingelse.d" do make symbolic links into > somethingelse.d if it already exists. > > We will fix that. Thanks for the report! It's fixed in the git repository, both master and 4.2 branches: http://gitorious.org/xen-tools/xen-tools/commit/94de43cf549f20c9590ea8ded33498f2afc0e26e Can you "git pull" in your installation directory and try to install over the already installed version again. (Or if you followed Stephane's advice to clean up /usr/lib/xen-tools/, call "make install" twice.) Now it shouldn't throw these errors anymore. Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From roland at thegreentree.za.net Wed Sep 8 23:47:45 2010 From: roland at thegreentree.za.net (Roland Giesler) Date: Wed, 8 Sep 2010 23:47:45 +0200 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: <1814035698-1283970037-cardhu_decombobulator_blackberry.rim.net-1601072051-@bda046.bisx.produk.on.blackberry> References: <1814035698-1283970037-cardhu_decombobulator_blackberry.rim.net-1601072051-@bda046.bisx.produk.on.blackberry> Message-ID: 2010/9/8 St?phane Jourdois : > Hi, > I'll look into these errors (which could be corrected by running "sudo rm -rf /usr/lib/xen-tools" before "make install"), but I don't think they are the cause of your problem. > You have a depends on a xen-tools package, which you didn't install. > Have you tried the ubuntu/debian recommended way : > > make changelog > dpkg-buildpackage > sudo dpkg -i ../xen-tools_*.deb I tried doing this, but the result is as follows: roland at vm1:~/Xen/xen-tools$ sudo rm -rf /usr/lib/xen-tools (This is based on Axel's response in this thread) roland at vm1:~/Xen/xen-tools$ sudo make changelog git log -v > ChangeLog roland at vm1:~/Xen/xen-tools$ sudo dpkg-buildpackage -d dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package xen-tools dpkg-buildpackage: source version 4.2~rc2-1 dpkg-buildpackage: source changed by Axel Beckert dpkg-buildpackage: host architecture amd64 debian/rules clean dh_testdir make: dh_testdir: Command not found make: *** [clean] Error 127 dpkg-buildpackage: error: debian/rules clean gave error exit status 2 I don't know how to deal with this. I then tried to do the simple "make install" after removing the directories as Axel suggested: roland at vm1:~/Xen/xen-tools$ sudo rm -rf /usr/lib/xen-tools roland at vm1:~/Xen/xen-tools$ sudo make install for i in hooks/*/*-*; do chmod 755 $i; done chmod 755 hooks/common.sh chmod 644 etc/xen-tools.conf chmod 644 etc/xm.tmpl chmod 644 etc/xm-nfs.tmpl chmod 644 misc/xen-tools misc/README mkdir -p /usr/bin cp bin/xen-create-image /usr/bin cp bin/xen-create-nfs /usr/bin cp bin/xt-customize-image /usr/bin cp bin/xt-install-image /usr/bin cp bin/xt-create-xen-config /usr/bin cp bin/xen-delete-image /usr/bin cp bin/xen-list-images /usr/bin cp bin/xen-update-image /usr/bin cp bin/xt-guess-suite-and-mirror /usr/bin chmod 755 /usr/bin/xen-create-image chmod 755 /usr/bin/xen-create-nfs chmod 755 /usr/bin/xt-customize-image chmod 755 /usr/bin/xt-install-image chmod 755 /usr/bin/xt-create-xen-config chmod 755 /usr/bin/xen-delete-image chmod 755 /usr/bin/xen-list-images chmod 755 /usr/bin/xen-update-image chmod 755 /usr/bin/xt-guess-suite-and-mirror mkdir -p /etc/xen-tools if [ -d /etc/xen-tools/hook.d ]; then mv /etc/xen-tools/hook.d/ /etc/xen-tools/hook.d.obsolete ; fi mkdir -p /etc/xen-tools/skel/ mkdir -p /etc/xen-tools/role.d/ mkdir -p /etc/xen-tools/partitions.d/ cp etc/xen-tools.conf /etc/xen-tools/ cp etc/xm.tmpl /etc/xen-tools/ cp etc/xm-nfs.tmpl /etc/xen-tools/ cp partitions/*-* /etc/xen-tools/partitions.d/ mkdir -p /etc/bash_completion.d cp misc/xen-tools /etc/bash_completion.d/ for i in roles/* ; do if [ -f $i ]; then cp $i /etc/xen-tools/role.d; fi ; done mkdir -p /usr/lib/xen-tools/centos-4.d/ mkdir -p /usr/lib/xen-tools/centos-5.d/ mkdir -p /usr/lib/xen-tools/fedora-core-6.d/ cp -R hooks/centos-4/*-* /usr/lib/xen-tools/centos-4.d cp -R hooks/centos-5/*-* /usr/lib/xen-tools/centos-5.d cp -R hooks/fedora-core-6/*-* /usr/lib/xen-tools/fedora-core-6.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-4.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-5.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-7.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-8.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-9.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-10.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-11.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-12.d cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-13.d mkdir -p /usr/lib/xen-tools/debian.d/ cp -R hooks/debian/*-* /usr/lib/xen-tools/debian.d cd /usr/lib/xen-tools/ && ln -s debian.d sarge.d cd /usr/lib/xen-tools/ && ln -s debian.d etch.d cd /usr/lib/xen-tools/ && ln -s debian.d lenny.d cd /usr/lib/xen-tools/ && ln -s debian.d squeeze.d cd /usr/lib/xen-tools/ && ln -s debian.d sid.d cd /usr/lib/xen-tools/ && ln -s debian.d testing.d cd /usr/lib/xen-tools/ && ln -s debian.d stable.d mkdir -p /usr/lib/xen-tools/gentoo.d/ cp -R hooks/gentoo/*-* /usr/lib/xen-tools/gentoo.d mkdir -p /usr/lib/xen-tools/dapper.d/ cp -R hooks/dapper/*-* /usr/lib/xen-tools/dapper.d/ mkdir -p /usr/lib/xen-tools/edgy.d/ cp -R hooks/edgy/*-* /usr/lib/xen-tools/edgy.d/ cd /usr/lib/xen-tools/ && ln -s edgy.d feisty.d cd /usr/lib/xen-tools/ && ln -s edgy.d gutsy.d cd /usr/lib/xen-tools/ && ln -s edgy.d hardy.d mkdir -p /usr/lib/xen-tools/intrepid.d/ cp -R hooks/intrepid/*-* /usr/lib/xen-tools/intrepid.d/ cd /usr/lib/xen-tools/ && ln -s intrepid.d jaunty.d mkdir -p /usr/lib/xen-tools/karmic.d/ cp -R hooks/karmic/*-* /usr/lib/xen-tools/karmic.d/ cd /usr/lib/xen-tools/ && ln -s karmic.d lucid.d cd /usr/lib/xen-tools/ && ln -s karmic.d maverick.d cp hooks/common.sh /usr/lib/xen-tools mkdir -p /usr/share/perl5/Xen/Tools cp ./lib/Xen/*.pm /usr/share/perl5/Xen cp ./lib/Xen/Tools/*.pm /usr/share/perl5/Xen/Tools mkdir -p man cd bin; for i in *-*[!y]; do pod2man --release=4.2rc2 --official --section=8 $i ../man/$i.8; done for i in man/*.8; do gzip --force -9 $i; done mkdir -p /usr/share/man/man8/ cp man/*.8.gz /usr/share/man/man8/ Up to this point all seems well, I don't notice errors at least. However, how do I know tell Ubuntu that the xen-tools package is installed? If I try the following, I still get a dependency error: roland at vm1:~/Xen/xen-tools$ sudo apt-get install ubuntu-xen-server Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ubuntu-xen-server: Depends: xen-tools but it is not installable E: Broken packages roland at vm1:~/Xen/xen-tools$ Or should I now install all the Xen Server components from source? thanks again Roland From roland at thegreentree.za.net Wed Sep 8 23:52:37 2010 From: roland at thegreentree.za.net (Roland Giesler) Date: Wed, 8 Sep 2010 23:52:37 +0200 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: <20100908201957.GT12890@sym.noone.org> References: <20100908201957.GT12890@sym.noone.org> Message-ID: 2010/9/8 Axel Beckert : > Hi Roland, > > On Wed, Sep 08, 2010 at 07:49:49PM +0200, Roland Giesler wrote: >> I read about the reasons why Ubuntu 10.04 doesn't have xen-tools >> formally supported, but since this is the wonderful world of OSS, I'm >> installing xen-tools from source, which is why I'm here! :-) > > A PPA for Lucid is still on my todo list. Will probably happen after > the 4.2 release which will be soon. :-) That would be great! > >> roland at vm1:~/Xen/xen-tools$ sudo perl -MCPAN -e shell >> >> cpan shell -- CPAN exploration and modules installation (v1.9402) >> Enter 'h' for help. >> >> cpan[1]> install Text::Template >> CPAN: Storable loaded ok (v2.20) >> Going to read '/home/roland/.cpan/Metadata' >> ?Database was generated on Wed, 08 Sep 2010 09:29:19 GMT >> Text::Template is up to date (1.45). >> >> cpan[2]> install Config::IniFiles >> Config::IniFiles is up to date (2.58). >> >> cpan[3]> exit > > All those perl libraries are available in Ubuntu, too. Just do: > > $ sudo apt-get install libtext-template-perl libconfig-inifiles-perl I wasn't sure that this would be the same, but thanks for pointing it out. > >> roland at vm1:~/Xen/xen-tools$ sudo make install >> for i in hooks/*/*-*; do chmod 755 $i; done > > Looks fine until here. > >> cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-4.d >> ln: creating symbolic link `fedora-core-4.d/fedora-core-6.d': File exists >> make: [install-hooks] Error 1 (ignored) >> cd /usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-5.d >> ln: creating symbolic link `fedora-core-5.d/fedora-core-6.d': File exists >> make: [install-hooks] Error 1 (ignored) > [...] >> cd /usr/lib/xen-tools/ && ln -s karmic.d lucid.d >> ln: creating symbolic link `lucid.d/karmic.d': File exists >> make: [install-hooks] Error 1 (ignored) >> cd /usr/lib/xen-tools/ && ln -s karmic.d maverick.d >> ln: creating symbolic link `maverick.d/karmic.d': File exists >> make: [install-hooks] Error 1 (ignored) > > Each of these errors looks to me as if "make install" is run a third > or at least a second time. Yes, since it seemed it didn't give me proper install, I attempted it again. > > It's ok to ignore these errors. But it is a bug that it isn't checked > if something.d already links to a directory and subsequent calls to > "ln -s something.d somethingelse.d" do make symbolic links into > somethingelse.d if it already exists. > > We will fix that. Thanks for the report! > Thanks for the work getting xen-tools for Debian/Ubuntu back ... Roland From roland at thegreentree.za.net Wed Sep 8 23:55:49 2010 From: roland at thegreentree.za.net (Roland Giesler) Date: Wed, 8 Sep 2010 23:55:49 +0200 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: <20100908214113.GX12890@sym.noone.org> References: <20100908201957.GT12890@sym.noone.org> <20100908214113.GX12890@sym.noone.org> Message-ID: > > It's fixed in the git repository, both master and 4.2 branches: > > http://gitorious.org/xen-tools/xen-tools/commit/94de43cf549f20c9590ea8ded33498f2afc0e26e > > Can you "git pull" in your installation directory and try to install > over the already installed version again. (Or if you followed > Stephane's advice to clean up /usr/lib/xen-tools/, call "make install" > twice.) Now it shouldn't throw these errors anymore. Ok, great, it seems to work now, except that I still can't install ubuntu-xen-server. Any quick advice on how to get apt to ignore the dependency? thanks again Roland From abe at deuxchevaux.org Thu Sep 9 00:15:30 2010 From: abe at deuxchevaux.org (Axel Beckert) Date: Thu, 9 Sep 2010 00:15:30 +0200 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: References: <1814035698-1283970037-cardhu_decombobulator_blackberry.rim.net-1601072051-@bda046.bisx.produk.on.blackberry> Message-ID: <20100908221530.GZ12890@sym.noone.org> Hi, On Wed, Sep 08, 2010 at 11:47:45PM +0200, Roland Giesler wrote: > > Have you tried the ubuntu/debian recommended way : > > > > make changelog > > dpkg-buildpackage > > sudo dpkg -i ../xen-tools_*.deb > > I tried doing this, but the result is as follows: > > roland at vm1:~/Xen/xen-tools$ sudo rm -rf /usr/lib/xen-tools > > (This is based on Axel's response in this thread) > > roland at vm1:~/Xen/xen-tools$ sudo make changelog > git log -v > ChangeLog This definitely doesn't need sudo. Use sudo only where really necessary. > roland at vm1:~/Xen/xen-tools$ sudo dpkg-buildpackage -d Root rights are not necessary for this step, either. If any of the used tools request root rights nevertheless, you can use the fakeroot command from the fakeroot package instead of sudo. > dpkg-buildpackage: set CFLAGS to default value: -g -O2 > dpkg-buildpackage: set CPPFLAGS to default value: > dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions > dpkg-buildpackage: set FFLAGS to default value: -g -O2 > dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 > dpkg-buildpackage: source package xen-tools > dpkg-buildpackage: source version 4.2~rc2-1 > dpkg-buildpackage: source changed by Axel Beckert > dpkg-buildpackage: host architecture amd64 > debian/rules clean > dh_testdir > make: dh_testdir: Command not found > make: *** [clean] Error 127 > dpkg-buildpackage: error: debian/rules clean gave error exit status 2 > > I don't know how to deal with this. To build the package, some more packages (so called build dependencies) need to be installed: $ sudo apt-get install debhelper libtest-pod-perl libtext-template-perl dh_testdir is part of the debhelper suite of packaging helpers. If you use "debuild" from the devscripts package instead of "dpkg-buildpackage", it will check first if all build dependencies are installed and if not all are installed it will tell you which ones are missing. And it will call fakeroot where necessary, too. Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From roland at thegreentree.za.net Thu Sep 9 01:03:41 2010 From: roland at thegreentree.za.net (Roland Giesler) Date: Thu, 9 Sep 2010 01:03:41 +0200 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: <20100908221530.GZ12890@sym.noone.org> References: <1814035698-1283970037-cardhu_decombobulator_blackberry.rim.net-1601072051-@bda046.bisx.produk.on.blackberry> <20100908221530.GZ12890@sym.noone.org> Message-ID: Thanks again, Axel. 2010/9/9 Axel Beckert : > If you use "debuild" from the devscripts package instead of > "dpkg-buildpackage", it will check first if all build dependencies are > installed and if not all are installed it will tell you which ones are > missing. And it will call fakeroot where necessary, too. debuild had issues with gpg, so instead of installing it and creating keys, etc., I used "checkinstall" to build the package and install it. ubuntu-xen-server is now installed. regards Roland From abe at deuxchevaux.org Thu Sep 9 01:20:07 2010 From: abe at deuxchevaux.org (Axel Beckert) Date: Thu, 9 Sep 2010 01:20:07 +0200 Subject: [xen-tools-discuss] make install doesn't make In-Reply-To: References: <1814035698-1283970037-cardhu_decombobulator_blackberry.rim.net-1601072051-@bda046.bisx.produk.on.blackberry> <20100908221530.GZ12890@sym.noone.org> Message-ID: <20100908232007.GB12890@sym.noone.org> On Thu, Sep 09, 2010 at 01:03:41AM +0200, Roland Giesler wrote: > debuild had issues with gpg, so instead of installing it and creating > keys, etc., Ah, right, sorry. It also tries to sign the package by default. "debuild -uc -us" does prevent that. > I used "checkinstall" to build the package and install it. Hmmm, never heard of that before. So I learned something, too. :-) > ubuntu-xen-server is now installed. Ok. Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From eagles051387 at gmail.com Thu Sep 9 11:12:09 2010 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Thu, 9 Sep 2010 11:12:09 +0200 Subject: [xen-tools-discuss] xen-tools from git Message-ID: Isnt the latest versions of xen-tools from the git repository supposed to support newer versions of ubuntu for instance? in the xen-tools.conf for ubuntu its still showing dapper edgy and feisty? is that correct? -- Jonathan Aquilina -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmitry at nedos.net Thu Sep 9 11:29:21 2010 From: dmitry at nedos.net (Dmitry Nedospasov) Date: Thu, 9 Sep 2010 11:29:21 +0200 Subject: [xen-tools-discuss] xen-tools from git In-Reply-To: References: Message-ID: <20100909092921.GA9619@ovechkin.nedos.net> On Thu, Sep 09, 2010 at 11:12:09AM +0200, Jonathan Aquilina wrote: > Isnt the latest versions of xen-tools from the git repository supposed to > support newer versions of ubuntu for instance? in the xen-tools.conf for > ubuntu its still showing dapper edgy and feisty? is that correct? If you had a previous .conf installed it might not have gotten overwritten. You may need to set mirrors for ubuntu to have them work. Here's the "default" .conf on our git tree [1]. Take a look at lines 269-287. Those are mirrors, that you might need to comment in to have all the distros work. [1] http://gitorious.com/xen-tools/xen-tools/blobs/master/etc/xen-tools.conf You can also set mirrors with --mirror. Hope that works, D. -- Dmitry Nedospasov -- Twitter: @nedos Web: http://nedos.net -- Github: http://github.com/nedos From abe at deuxchevaux.org Thu Sep 9 11:54:36 2010 From: abe at deuxchevaux.org (Axel Beckert) Date: Thu, 9 Sep 2010 11:54:36 +0200 Subject: [xen-tools-discuss] xen-tools from git In-Reply-To: References: Message-ID: <20100909095436.GI12890@sym.noone.org> Hi, On Thu, Sep 09, 2010 at 11:12:09AM +0200, Jonathan Aquilina wrote: > Isnt the latest versions of xen-tools from the git repository supposed to > support newer versions of ubuntu for instance? in the xen-tools.conf for > ubuntu its still showing dapper edgy and feisty? is that correct? This is indeed a documentation bug or bug in the examples. xen-tools nevertheless supports all releases Ubuntu currently supports (and more or less also some older ones). So thanks for noticing. Will be fixed soon! Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From eagles051387 at gmail.com Thu Sep 9 11:57:33 2010 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Thu, 9 Sep 2010 11:57:33 +0200 Subject: [xen-tools-discuss] xen-tools from git In-Reply-To: <20100909095436.GI12890@sym.noone.org> References: <20100909095436.GI12890@sym.noone.org> Message-ID: the older ones of ubuntu have been eol for quite some time. there are no longer any mirrors. unless you have a user who has the isos and you guys setup a mirror there is no point in continuing to support them. 2010/9/9 Axel Beckert > Hi, > > On Thu, Sep 09, 2010 at 11:12:09AM +0200, Jonathan Aquilina wrote: > > Isnt the latest versions of xen-tools from the git repository supposed to > > support newer versions of ubuntu for instance? in the xen-tools.conf for > > ubuntu its still showing dapper edgy and feisty? is that correct? > > This is indeed a documentation bug or bug in the examples. xen-tools > nevertheless supports all releases Ubuntu currently supports (and more > or less also some older ones). > > So thanks for noticing. Will be fixed soon! > > Kind regards, Axel > -- > /~\ Plain Text Ribbon Campaign | Axel Beckert > \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) > X See http://www.asciiribbon.org/ | abe at noone.org(Mail+Jabber) > / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/(Web) > _______________________________________________ > xen-tools-discuss mailing list > xen-tools-discuss at xen-tools.org > https://xen-tools.org/mailman/listinfo/xen-tools-discuss > -- Jonathan Aquilina -------------- next part -------------- An HTML attachment was scrubbed... URL: From abe at deuxchevaux.org Thu Sep 9 12:15:58 2010 From: abe at deuxchevaux.org (Axel Beckert) Date: Thu, 9 Sep 2010 12:15:58 +0200 Subject: [xen-tools-discuss] xen-tools from git In-Reply-To: References: <20100909095436.GI12890@sym.noone.org> Message-ID: <20100909101558.GJ12890@sym.noone.org> Hi, On Thu, Sep 09, 2010 at 11:57:33AM +0200, Jonathan Aquilina wrote: > the older ones of ubuntu have been eol for quite some time. Right. > there are no longer any mirrors. Wrong: http://old-releases.ubuntu.com/ubuntu/dists/ As Debian does at http://archive.debian.org/, Ubuntu offers a place where you can find all releases in the state in which they have been retired. xen-tools knows about this and is able to install also EOL'ed distributions. We just won't put much effort into supporting them. Some new stuff may break them in future, but as long as they work, we give the user the possibility to do what he thinks is necessary. Sometimes you just need this old EOL'ed release to fix some old stuff before you can import it on some newer OS and you will be happy, if you can easily install an EOL'ed release in a virtual machine. BTDT. Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From eagles051387 at gmail.com Thu Sep 9 12:18:30 2010 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Thu, 9 Sep 2010 12:18:30 +0200 Subject: [xen-tools-discuss] irc channel Message-ID: hey guys would it be possible on freenode to start a channel geared towards xen-tools discussion and support? -- Jonathan Aquilina -------------- next part -------------- An HTML attachment was scrubbed... URL: From xavier at skynetlink.com Fri Sep 17 11:37:10 2010 From: xavier at skynetlink.com (Xavier Delcour) Date: Fri, 17 Sep 2010 11:37:10 +0200 Subject: [xen-tools-discuss] How to specified /var partitions Message-ID: <3CB83880-D5DB-449D-9C7F-A00BCBCFF790@skynetlink.com> Hi, I'm wondering how I could set in my xen-tools.conf than I want a / of 5GB and /var of 15GB. I'm using Xen 3.2 with LVM and everything what I've saw is specifying only a disk and swap partition. If I couldn't do it with this, can you help me to do it with xen-create. Thanks in advance for your time Regards, Xavier Delcour xavier at skynetlink.com From dmitry at nedos.net Fri Sep 17 12:11:59 2010 From: dmitry at nedos.net (Dmitry Nedospasov) Date: Fri, 17 Sep 2010 12:11:59 +0200 Subject: [xen-tools-discuss] How to specified /var partitions In-Reply-To: <3CB83880-D5DB-449D-9C7F-A00BCBCFF790@skynetlink.com> References: <3CB83880-D5DB-449D-9C7F-A00BCBCFF790@skynetlink.com> Message-ID: <20100917101159.GA20894@ovechkin.nedos.net> Hello, On Fri, Sep 17, 2010 at 11:37:10AM +0200, Xavier Delcour wrote: > I'm wondering how I could set in my xen-tools.conf than I want a / of > 5GB and /var of 15GB. I'm using Xen 3.2 with LVM and everything what > I've saw is specifying only a disk and swap partition. You should take a look at the --partitions option. Unfortuantely I'm pretty sure that this wasn't working properly untill recently, so you might want to install either the latest upstream from gitorious [1] or the latest package from Debian testing. [1] http://gitorious.org/xen-tools/xen-tools D. -- Dmitry Nedospasov -- Twitter: @nedos Web: http://nedos.net -- Github: http://github.com/nedos From eagles051387 at gmail.com Fri Sep 24 17:52:08 2010 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Fri, 24 Sep 2010 17:52:08 +0200 Subject: [xen-tools-discuss] latest git version of xen-tools conf file Message-ID: hey guys i am using the latest version of xen-tools and i was just wondering 2 things 1) what is installed if i leave this line in the disk sizing and options section of the conf file for xen-tools dist = `xt-guess-suite-and-mirror --suite` # Default distribution to install. 2) if i want to change the distro what do i change do i just uncomment the mirror i want to use. -- Jonathan Aquilina -------------- next part -------------- An HTML attachment was scrubbed... URL: From abe at deuxchevaux.org Fri Sep 24 18:39:43 2010 From: abe at deuxchevaux.org (Axel Beckert) Date: Fri, 24 Sep 2010 18:39:43 +0200 Subject: [xen-tools-discuss] latest git version of xen-tools conf file In-Reply-To: References: Message-ID: <20100924163943.GW23663@sym.noone.org> Hi, On Fri, Sep 24, 2010 at 05:52:08PM +0200, Jonathan Aquilina wrote: > i am using the latest version of xen-tools and i was just wondering 2 things > > 1) what is installed if i leave this line in the disk sizing and options > section of the conf file for xen-tools > > dist = `xt-guess-suite-and-mirror --suite` # Default distribution to > install. The distribution you are running on your Dom0. > 2) if i want to change the distro what do i change do i just uncomment the > mirror i want to use. No, you also need to set e.g. "dist = lenny" or "dist = lucid". You don't need to change the mirror setting if you're fine with the mirror returned by "xt-guess-suite-and-mirror --mirror". Otherwise you can either set "mirror = http://your.prefered.mirror.example.org/" or a default mirror per distribution with "mirror_lucid = http://ubuntu.mirror.example.org/" and "mirror_lenny = http://debian.mirror.example.org/". HTH. Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) From eagles051387 at gmail.com Fri Sep 24 18:42:48 2010 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Fri, 24 Sep 2010 18:42:48 +0200 Subject: [xen-tools-discuss] latest git version of xen-tools conf file In-Reply-To: <20100924163943.GW23663@sym.noone.org> References: <20100924163943.GW23663@sym.noone.org> Message-ID: would uncommenting the mirrors listed in the conf file be enough? 2010/9/24 Axel Beckert > Hi, > > On Fri, Sep 24, 2010 at 05:52:08PM +0200, Jonathan Aquilina wrote: > > i am using the latest version of xen-tools and i was just wondering 2 > things > > > > 1) what is installed if i leave this line in the disk sizing and options > > section of the conf file for xen-tools > > > > dist = `xt-guess-suite-and-mirror --suite` # Default distribution to > > install. > > The distribution you are running on your Dom0. > > > 2) if i want to change the distro what do i change do i just uncomment > the > > mirror i want to use. > > No, you also need to set e.g. "dist = lenny" or "dist = lucid". > > You don't need to change the mirror setting if you're fine with the > mirror returned by "xt-guess-suite-and-mirror --mirror". > > Otherwise you can either set "mirror = > http://your.prefered.mirror.example.org/" or a default mirror per > distribution with "mirror_lucid = http://ubuntu.mirror.example.org/" > and "mirror_lenny = http://debian.mirror.example.org/". > > HTH. > > Kind regards, Axel > -- > /~\ Plain Text Ribbon Campaign | Axel Beckert > \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail) > X See http://www.asciiribbon.org/ | abe at noone.org(Mail+Jabber) > / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/(Web) > -- Jonathan Aquilina -------------- next part -------------- An HTML attachment was scrubbed... URL: From eagles051387 at gmail.com Fri Sep 24 18:49:32 2010 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Fri, 24 Sep 2010 18:49:32 +0200 Subject: [xen-tools-discuss] latest git version of xen-tools conf file In-Reply-To: <20100924174455.GA5851@steve.org.uk> References: <20100924163943.GW23663@sym.noone.org> <20100924174455.GA5851@steve.org.uk> Message-ID: i havent tried yet steve as i had tried prior to axel taking over xen-tools dev work. On Fri, Sep 24, 2010 at 7:44 PM, Steve Kemp wrote: > On Fri Sep 24, 2010 at 18:42:48 +0200, Jonathan Aquilina wrote: > > > would uncommenting the mirrors listed in the conf file be enough? > > What happened when you tried it? > > Steve > -- > Let me steal your soul? > http://stolen-souls.com > -- Jonathan Aquilina -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmitry at nedos.net Fri Sep 24 18:50:21 2010 From: dmitry at nedos.net (Dmitry Nedospasov) Date: Fri, 24 Sep 2010 18:50:21 +0200 Subject: [xen-tools-discuss] latest git version of xen-tools conf file In-Reply-To: References: <20100924163943.GW23663@sym.noone.org> Message-ID: <20100924165021.GA4714@ovechkin.nedos.net> On Fri, Sep 24, 2010 at 06:42:48PM +0200, Jonathan Aquilina wrote: > would uncommenting the mirrors listed in the conf file be enough? If you're that far, then set some appropriate mirrors :) thats what visual block in vim is for! Just my 2 cents :) D. -- Dmitry Nedospasov -- Twitter: @nedos Web: http://nedos.net -- Github: http://github.com/nedos From steve at steve.org.uk Fri Sep 24 19:44:55 2010 From: steve at steve.org.uk (Steve Kemp) Date: Fri, 24 Sep 2010 18:44:55 +0100 Subject: [xen-tools-discuss] latest git version of xen-tools conf file In-Reply-To: References: <20100924163943.GW23663@sym.noone.org> Message-ID: <20100924174455.GA5851@steve.org.uk> On Fri Sep 24, 2010 at 18:42:48 +0200, Jonathan Aquilina wrote: > would uncommenting the mirrors listed in the conf file be enough? What happened when you tried it? Steve -- Let me steal your soul? http://stolen-souls.com