debian/0000755000000000000000000000000012252160452007165 5ustar debian/preinst0000755000000000000000000000114112127607230010575 0ustar #!/bin/sh set -e # # Skip, if we are not in "configure" state # if [ "$1" != "upgrade" ]; then exit 0 fi # # 2.x -> 3.x # if [ -L "/usr/lib/xen-tools/dapper.d" ]; then rm /usr/lib/xen-tools/dapper.d fi if [ -L "/usr/lib/xen-tools/edgy.d" ]; then rm /usr/lib/xen-tools/edgy.d fi if [ -d "/usr/lib/xen-tools/ubuntu.d" ]; then rm -r /usr/lib/xen-tools/ubuntu.d fi # # 4.1 -> 4.2 # if [ -L "/usr/lib/xen-tools/intrepid.d" ]; then rm /usr/lib/xen-tools/intrepid.d fi if [ -L "/usr/lib/xen-tools/karmic.d" ]; then rm /usr/lib/xen-tools/karmic.d fi #DEBHELPER# exit 0 debian/README.source0000644000000000000000000000106711764434441011361 0ustar How to build xen-tools directly from the Git repository? ======================================================== Clone the git repository and change to the directory of your local working copy. $ git clone git://gitorious.org/xen-tools/xen-tools.git $ cd xen-tools If you just want to build the binary package, run $ make changelog $ dpkg-buildpackage -uc -us -b If you want to build source and binary packages, e.g. for an upload to Debian or Ubuntu: $ make orig-tar-gz $ dpkg-buildpackage -- Axel Beckert , Mon, 13 Sep 2010 14:30:05 +0200 debian/gbp.conf0000644000000000000000000000011112055127360010577 0ustar [DEFAULT] upstream-tag=release-%(version)s debian-tag=debian-%(version)s debian/compat0000644000000000000000000000000212167344527010377 0ustar 9 debian/watch0000644000000000000000000000045511361012120010206 0ustar # # Watchfile for xen-tools. # # # uscan version number - not the version of the software. # version=3 # # The link to the download location, followed by the regular expression # to match release tarballs. # http://xen-tools.org/software/xen-tools/releases.html \ xen-tools-([\d\.]+)\.tar\.gz debian/changelog0000644000000000000000000011107012252160452011037 0ustar xen-tools (4.4-1) unstable; urgency=low * New upstream release - Run t/gitignore.t only if git is installed and .git present. - Rework "minimal" role to be less based on personal preferences. + No more installs sudo, vim, syslog-ng, etc. + Fixes usage together with pygrub. - hooks/common.sh: Split up installDebianPackage into installDebianPackage and installDebianPackageAndRecommends. * Also add build-dependency on "libterm-ui-perl | perl (<< 5.17.0)" and "liblog-message-perl | perl (<< 5.17.0)" to avoid warnings with Perl 5.18 and future FTBFS. * Mention Ubuntu 14.04 Trusty Tahr in long description. -- Axel Beckert Wed, 11 Dec 2013 20:59:06 +0100 xen-tools (4.4~rc1-1) unstable; urgency=low * New upstream release candidate - Also switch from cdn.debian.net to http.debian.net in xen-tools.conf - Do not run "passwd" via runCommand as that one captures STDOUT for logging. Makes --passwd usable again. Thanks to Christian Herzog for the bug report. - Loop around calling "passwd" to get a second chance to change the password. (Closes: #703159) Thanks to Joan for a bug fix in this new code. + Add dependency on "libterm-ui-perl | perl (<< 5.17.0)" - Declares one more POD encoding and recode Xen::Tools::Common to UTF-8. Fixes FTBFS with Perl 5.18. (Finally closes: #720519) - Apply patch by Philipp Erbelding to fix overzealous line matching in xen-list-images. (Gitorious merge request #5) - xen-list-images now displays a unit after the memory size - Drop support for memory size in kilobytes in xen-create-image, neither xt-create-xen-config nor xm support it. - Refactoring: Replace all occurrences of "! -z" by "-n" in hooks and bash completion. - Handle potentially empty gateway setting properly in hooks/common/40-setup-networking-deb. Thanks Simone Caruso! - Reformat hooks/common/40-setup-networking-deb so that the result neither has trailing whitespace nor broken indentation. - Also display MAC address after the DomU has been created. - Preliminary support for Ubuntu 14.04 Trusty Tahr. - Added --maxmem flag to set a maximum value for dynamic memory ballooning. Thanks to Joan for the patch! - Added fix by Patryk Ściborek againsat disableStartStopDaemon() aborting under some circumstances. (Closes: #725192) - Abort early and with proper error message if "xen-delete-image --test" is not used with "--dir". (Closes: #704878) - xen-delete-image: Exit with return code != 0 in all error cases. - Refactoring: xt-create-xen-config: Use s/// to strip trailing MB size suffixes. * Bump Standards-Version to 3.9.5 (no changes). -- Axel Beckert Mon, 28 Oct 2013 22:31:03 +0100 xen-tools (4.4~beta1-1) unstable; urgency=low * New upstream beta release - Code deduplication to unify the xen-*-image scripts - Moves /usr/lib/xen-tools/ to /usr/share/xen-tools/ - Use http.debian.net as default Debian mirror if no mirror is given and xt-guess-suite-and-mirror is not used. - Fix symbolic link hooks/centos-6/15-setup-arch (Closes: #690299) - Execute END block not on --version/--help/--manual (Closes: #684346) - Move code for --boot feature to END block. Fixes missing SSH fingerprint display if --boot was used. (Closes: #679183) - Correctly handle aborts in END block. (Closes: #704882) - Use local parameter instead of global variable in unMountImage. - Also recognize "M" and "G" instead of "MB" and "GB" as size unit for --memory. (Closes: #691320) Document the recognized units. - Default DomUs to use the noop scheduler (Closes: #693131) - Overwork TLS disabling on Debian and Ubuntu - xen-list-images now also outputs the file name of the config file. - xen-list-images and xen-delete-image now understand --extension. - Fixes "--extension=" with empty parameter. - Sarge amd64 case handle properly - Remove CVS revisions from --version output - Support for Debian Jessie, Ubuntu Raring and preliminary support for Ubuntu Saucy (debootstrap doesn't have support for Saucy at the time of writing) - Preliminary support for xl toolstack - xen-create-image: Consistently use runCommand() instead of system() - xt-install-image: Don't bail out if only cdebootstrap is installed but not debootstrap (Thanks Elmar Heeb!) - Makefile accepts DESTDIR=… - Move examples from debian/examples to examples. - Uses File::Which exclusively (no more findBinary, no more `which`), added (build-) dependency on libfile-which-perl - Knows about module-init-tools → kmod transition in wheezy/raring. - Adds default mount options for ext4, identical to ext2/ext3. - Ships /etc/initramfs-tools/conf.d/xen-tools for generating Dom0 initrds also suitable for DomU usage. Trigger update-initramfs. - By default install linux-image-virtual instead of linux-image-server on Ubuntu Intrepid and newer (Hopefully closes: #640099, LP #839492) - Installs a legacy grub in all pygrub based Debian/Ubuntu DomUs to be able to update the menu.list automatically. - hooks/common.sh: installDebianPackage no more installs recommends. - hooks/common.sh: Rename installCentOS4Package to installRPMPackage. Add installCentOS4Package wrapper for backward compatibility. - Fix filesystem tools installation in 91-install-fs-tools (which was broken since 4.3~rc1-1) by merging 91-install-fs-tools back into 90-make-fstab. (Closes: #715340) Also supports RPM-based distributions now. - Fixes export of environment variables. Previously they could contain dashes and then were only accessible from within Perl, but not from within Bash. - Fixes creation of "ARRAY(0x…).log" named log files. - Makes some options (like --pygrub) negatable. - Uses Test::NoTabs; add according build-dependency. - Removes unused Perl modules Xen::Tools and Xen::Tools::Log from source code. Also removes the according tests from the test suite. → Remove no more needed build-dependency on Moose. - Better documents and checks requirements for the --apt_proxy value. (See #623443 for the corresponding apt issue.) Add (build-) dependency on libdata-validate-uri-perl. - Use Data::Validate::{Domain,IP} for IP addresses and hostname checks. Add corresponding (build-) dependencies on libdata-validate-{domain,ip}-perl. - Fixes broken quoting in list of required binaries - Declares POD encoding. Fixes FTBFS with Perl 5.18. (Closes: #720519) * Add debian/gbp.conf to be able to to build xen-tools with git-buildpackage. * Clean up debian/rules: - Don't mention (generated) upstream changelog explicitly, dh_installchangelogs finds it by itself if it exist. That way building out of a freshly clone git repository does not fail due to a missing upstream changelog. - Use dh_auto_{install,clean}; use "$(MAKE)" instead of "make" where dh_auto_* can't help. No more explicitly call "make manpages", it's a depedency of "make install" in the next line anyway. - Finally switch to a minimal dh style debian/rules. * Bump debhelper compatibility to 9 - Update versioned debhelper build-dependency * Bump Standards-Version to 3.9.4 (no changes) * Add dependency on ${perl:Depends} to fix dpkg-gencontrol warning. * Bump copyright years in debian/copyright. * Apply wrap-and-sort. -- Axel Beckert Fri, 23 Aug 2013 19:00:03 +0200 xen-tools (4.3.1-1) unstable; urgency=low * Remove t/modules.t in upstream's t/Makefile instead of debian/rules' clean target. * Run t/hook-tls.t only if distribution actually has 10-disable-tls. Fixes test suite failure on 32 bit architectures. -- Axel Beckert Sat, 30 Jun 2012 16:44:50 +0200 xen-tools (4.3-1) unstable; urgency=low * New upstream release - Remove most Mercurial traces * Fixes FTBFS due to testsuite failures (Closes: #676681) - Disable tests of not yet used Xen::Tools. Fixes FTBFS in test suite due to not satisifed Moose dependency in Xen::Tools::Log. - Added build-dependencies on libmoose-perl, git, and libtest-pod-coverage-perl for t/perl-syntax.t, t/gitignore.t, and t/pod-coverage.t. - Skip t/hook-inittab.t if /etc/inittab is not present on the build host. Fixes FTBFS on Ubuntu. * Switch to source format to "3.0 (quilt)" * Don't remove stamp files manually, dh_clean does that already * Remove generated file t/modules.t in clean target to be able to build twice in a row. -- Axel Beckert Tue, 26 Jun 2012 22:23:59 +0200 xen-tools (4.3~rc1-1) unstable; urgency=low * New upstream release candidate - Correctly checks and documents valid values for disk_device. (Closes: #621499) - Supports creating Ubuntu 11.10 Oneiric DomUs (LP: #848654) - Supports creating Ubuntu 12.04 Precise and 12.10 Quantal DomUs - Supports creating CentOS 6 DomUs (Closes: #578399; Thanks Johan Schurer) + Recommend rinse >= 1.9.1-1 - Supports rinse 2.0 - Updated mirror list for discontinued releases of Debian and Ubuntu - Workaround for missing unit parsing in xen-create-nfs (Closes: #648814) - Fix wildcard vs regexp in memory configuration parsing. - Fix misbehaviour if --ip option is passed multiple times (Closes: #652110; Thanks Brian Bennett and Alexander Mette!) - Supports /etc/apt/sources.list.d/ (Closes: #650300) - xt-guess-suite-and-mirror exits with non-zero if no proper mirror could be extracted from /etc/apt/sources.list or /etc/apt/sources.list.d/*.list (Thanks Phil Frost!) - Only attempts to generate the ssh host keys if not already present (Closes: #607236; Thanks Vagrant Cascadian!) - New option --apt_proxy (Closes: #610457; Thanks Alex Tomlins!) - Always write down root partition as first physical device, otherwise pygrub fails (Closes: #609673) - No more expect at least one option to mkfs.* calls. Fixes btrfs creation. (Closes: #609982) - Fixes call to non-existent function logPrint (Closes: #673335) - Also disable initctl in the chroot, not only start-stop-daemon (LP: #997063; Thanks xstasi!) - Massive code deduplication in hooks directory - Use release blacklist for libc6-xen instead of whitelist in hooks/debian.d/20-setup-apt - Enforces umask 022 in 50-setup-hostname* (Hopefully closes: #619630) * Add dependency on openssh-client for ssh-keygen (Closes: #649108) * Use dh_auto_test for build time tests and add according build-dependencies on devscripts and libfile-slurp-perl. * No more suggest evms-cli -- it's no more available on any supported Dom0 distribution. Thanks to Markus Waldeck for the hint. * Add NEWS to debian/docs. * Bump Standards-Version to 3.9.3 (no changes) * Fix the following Lintian warnings: - copyright-refers-to-symlink-license - debian-rules-missing-recommended-target * debian/copyright: Update copyright years * Move xen-utils (for pygrub) from Suggests to Recommends as pygrub becomes the necessary way to boot more and more often. * Remove xen-shell from Recommends, nobody picked it up. (Closes: #603708) -- Axel Beckert Fri, 08 Jun 2012 14:18:38 +0200 xen-tools (4.2.1-1) unstable; urgency=low * New upstream release - Fixes bashism in "editor" roles script. Thanks Raphaël Halimi for the patch! (Closes: #605203) - Fixes missing architecture check in Sarge amd64 special case. Thanks to Guillaume Pernot! (Closes: #611397) Also changes default Sarge amd64 mirror to http://archive.debian.org/debian-amd64/. - Allows --ip=auto again (Closes: #611407) - Unmounts /proc and /dev/pts of the freshly installed DomU just before unmounting the disk image. (Closes: #588783) -- Axel Beckert Thu, 17 Mar 2011 01:00:47 +0100 xen-tools (4.2-1) unstable; urgency=low * New upstream release - Fixes several cases of broken or incomplete config files with unexpected or seldom parameter combinations. (Closes: #484652) - Updates examples in /etc/xen-tools.conf to better reflect current state - Allows usage of xvc* as serial console as used as default by older Xen versions. - Preliminary support for Ubuntu 11.04 (Natty) and Debian 7.0 (Wheezy) (Closes: #597521) - Switches default mirror for EoL'ed Ubuntu 8.10 (Intrepid) and Debian 4.0 (Etch) to the distributions' archives for old releases. * Does no more try extract the upstream changelog during debian package build. The commit which introduced this problem has been reverted. Document more clearly in debian/README.source how to build the package from a checked out copy of the git repository, especially that the upstream changelog has to be generated first out of the VCS log. (Closes: #595883) * Update debian/copyright: Add Stéphane Jourdois to list of authors. -- Axel Beckert Tue, 05 Oct 2010 19:01:49 +0200 xen-tools (4.2~rc1-1) unstable; urgency=low [Axel Beckert] * New upstream release candidate - Uses GeoIP for Debian mirrors: Default Debian mirror is now cdn.debian.net, see http://wiki.debian.org/DebianGeoMirror for details. - Uses the same 15-disable-hwclock hook for Debian as for Ubuntu DomUs (Closes: #588880) - Mounts not only /proc but also /dev/pts automatically before running any customisation hooks (Closes: #588783) - Uses apt-config to parse Dom0's apt.conf. (Closes: #560011) - Fixes wrong loop module parameter syntax in warning. Thanks to Daniel Baumann for spotting this. (Closes: #516902) - With --verbose, the output of commands called by xen-tools (e.g. debootstrap) is not only logged, but also printed to STDOUT. (Closes: #513126) - Adds btrfs support. * Bump Standards-Version to 3.9.1 (no changes) [Stéphane Jourdois] * [debian/control] Suggest btrfs-tools -- Axel Beckert Sun, 15 Aug 2010 19:34:38 +0200 xen-tools (4.2~beta1-1) unstable; urgency=low * New maintainer and upstream authors * Reintroduction into Debian Unstable (Closes: #566714) * New upstream beta version - Needs dependency on libfile-slurp-perl - Supports for more recent versions of Fedora, Ubuntu and Debian (Closes: #499477) - Supports pygrub. (Added "Suggests: xen-utils" to debian/control) - Uses hvc0 and xvda devices by default - Sets umask to 0077 before creating disk images (Closes: #548909) - Makes sure, MAKEDEV is found in either /dev/ or /sbin/ (Closes: #502798, #515228) - Changed rinse path to /usr/sbin/. (Closes: #511211) - Doesn't delete configuration file if it already exists when xen-create-image is run. (Closes: #520177) - Doesn't write the FQDN into /etc/hostname (Closes: #492583) - Dereferences pointers before hashing them to generate a MAC address. (Closes: #547265) - Calls pwconv and grpconv inside chroot when installing Fedora (Closes: #499476) - Fixed typo in /usr/lib/xen-tools/*.d/75-fixup-securetty (Closes: #503339) - Makes better decisions about when to enable Debian security updates in the created DomU (LP: #309750) - Installs dhclient for CentOS and Fedora if DHCP networking is requested (LP: #241446) - Fixes some bashisms (Closes: #530226) * [^y] → [!y] (Thanks to Mathieu Parent!) * kill -HUP → kill -s HUP (found by checkbashism) * ${parm/?/pat[/str]} → echo | sed * echo -e → printf * read → read dummy - xt-install-image now exits with return value 127 instead of 0 to indicate errors on running the command given in --install-method. (Closes: #534290) - The debootstrap command now also can be configured on the commandline with --debootstrap-cmd in xen-create-image and xt-install-image (Enhances fix for #436480 which added the debootstrap-cmd config file option) - Checks for debootstrap and cdebootstrap, uses debootstrap if both are installed (Changed "Depends: debootstrap" to "Depends: debootstrap | cdebootstrap" in debian/control) - Added new files TODO and KNOWN_BUGS to debian/docs. * Removal of /etc/bash_completion.d/xm from the package since bash-completion ships a more elaborate version of that file. (Closes: #566683, #550590, LP: #538917, #484098) * Downgrade reiserfsprogs and xfsprogs to Suggests. (Closes: #561618, LP: #80233) * Added evms-cli to Suggests. It has been removed from Debian before Lenny, but it is necessary for some optional functionality of xen-tools. And since some Debian derived distributions (e.g. Ubuntu LTS and grml) still support it, it's included for the sake of completeness and correctness. * Added cfengine2 to Suggests. It is helpful to have it installed when using the cfengine2 role. * Bump Standards-Version to 3.8.4 (no changes necessary) * Bump Debhelper Compatibility to 7 - Replace "dh_clean -k" by "dh_prep" * Add Vcs-* headers pointing to new upstream and packaging repository * Fix some Lintian warnings: - [debian/control]: debhelper-but-no-misc-depends - [debian/copyright]: copyright-without-copyright-notice - [debian/source/format]: missing-debian-source-format * Added a README.source explaining how to build xen-tools directly from the Git repository. * Overhauled package description -- Axel Beckert Sun, 30 May 2010 22:32:30 +0200 xen-tools (4.1-1) unstable; urgency=low - New command line argument '--no-hosts' to avoid touching /etc/hosts on dom0 - New command line argument '--pygrub' to setup a guest for pygrub use. - Generated configuration file should work for --image-dev + --swap-dev again. - Always use /dev/pts for new images. -- Steve Kemp Sun, 23 Nov 2008 13:06:01 +0000 xen-tools (3.9-6) unstable; urgency=low - Allow command line flags to be unset. Thanks to Ruud Koolen for the patch. (Closes: #484338) -- Steve Kemp Tue, 14 Oct 2008 22:00:22 +0000 xen-tools (3.9-5) unstable; urgency=medium - Record the ARCH for RPM-based distros. (Closes: #475125) - Abort if the generated configuration file already exists. (Closes: #499475) -- Steve Kemp Mon, 13 Oct 2008 19:20:21 +0000 xen-tools (3.9-4) unstable; urgency=high * Changed two defaults in xen-tools.conf to conform to the defaults used by the xen packages: + serial_device: tty1 -> hvc0 + disk_device: sda -> xvda * Priority High because of RC bug. (closes: #499282) -- Radu Spineanu Tue, 30 Sep 2008 02:02:21 +0300 xen-tools (3.9-3) unstable; urgency=medium - Ensure that Fedora guests get /dev/pts mounted. Thanks to Giovanni Biscuolo (Closes: #474919) - Add the new hostnames to /etc/hosts on the dom0 in the correct order. Thanks to Wolfgang Karall (Closes: #477775) - Ensure that packages are remoed non-interactively for scripted stuff. Thanks to Wolfgang Karall (Closes: #477629) - Correctly handle custom partitioning systems. Thanks to Stéphane AICARDI (Closes: #477334) -- Steve Kemp Wed, 20 Feb 2007 21:22:23 +0000 xen-tools (3.9-2) unstable; urgency=high - Ensure that the hook scripts which setup networking details for Debian & Ubuntu guests will correctly setup teh broadcast address. -- Steve Kemp Wed, 20 Feb 2007 21:22:23 +0000 xen-tools (3.9-1) unstable; urgency=low - general: - Removed recommendation on perl-doc. (Closes: #447715) - Support fedora Core 8 (Closes: 450626) - hooks: - Update /etc/securetty upon new images to ensure that xvc0 + hvc0 are permitted. (Closes: #442926) - xen-delete-image: - Show what has been deleted by default. (Closes: #452756) - xen-create-image: - Return exit status of 127 on any error. (Closes: #455916) - Debian: - Moved homepage into control file, not description. - Updated standards version to 3.7.3 (no changes). -- Steve Kemp Fri, 1 Feb 2007 19:22:01 +0000 xen-tools (3.8-1) unstable; urgency=low [ Steve Kemp ] * Allow the debootstrap command to be changed to cdebootstrap via 'debootstrap-cmd = /usr/sbin/cdebootstrap'. (Closes: #436480) * Fix typo on pointopoint links. (Closes: #436170) * Avoid breaking command line completion when using aliased 'ls'. (Closes: #439874) * Correctly determine whether a Xen guest is running prior to deletion. (Closes: #440664) * Allow the user to specify which serial device should be used for use by the 'xm console', via serial_device=/dev/xvc0 in xen-tools.conf (Closes: #423389) * Allow the user to specify which disk device should be used, via disk_device=/dev/xvd[a-z] in xen-tools.conf (Closes: #439233) * Use 'apt-get remove' rather than 'dpkg --purge' when removing packages in hooks. (Closes: #441981) [ Radu Spineanu ] * debian/control: Roland Stigge and I switched maintainer places. * debian/control: Added Steve Kemp to Uploaders. -- Radu Spineanu Wed, 03 Oct 2007 00:39:58 +0300 xen-tools (3.7-1) unstable; urgency=low * Added dependency upon 'rinse' - Support the installation of Fedora Core 4-7 & Centos 4 + 5. * Better POD files * Updated the example script 'setup-kernel-initrd' to work better. * Mount /proc prior to running post-install scripts. * Better handling for Ubuntu language packs. * Generate MAC addresses for all new guests by default. -- Steve Kemp Tue, 10 Jul 2007 20:35:34 +0000 xen-tools (3.6-1) unstable; urgency=low * Added custom partitioning support. - Added dependency upon libconfig-inifiles-perl. * Better device creation in the creation of guests. * Sanity checking of the network configuration of Xend. -- Steve Kemp Tue, 10 Jul 2007 20:35:34 +0000 xen-tools (3.5-1) unstable; urgency=low * Only add Debian sources for security.debian.org if enabled upon the host. * Allow per-dist mirrors. Which is useful when working with mixed Debian + Ubuntu installations. * Added support for Ubuntu Feisty + Gutsy * Use "policy-rc.d" to prevent daemons from starting inside our chroot(). * xen-update-image will now skip Xen guests which are running. -- Steve Kemp Sun, 16 Jun 2007 14:43:00 +0000 xen-tools (3.4-1) unstable; urgency=low [ Steve Kemp ] * New upstream release v3.4 - Allows the expansion of backticks in configuration file(s). - Generate locales for the new Xen guests to match the host machine. (Closes: #423385) [ Radu Spineanu ] - Better kernel/initrd guessing in the configuration file(using uname -r). Also added a note about this in README.Debian. (closes: #425019) -- Radu Spineanu Tue, 29 May 2007 01:09:40 +0300 xen-tools (3.3-1) unstable; urgency=low [ Steve Kemp ] * New upstream release v3.3 - Refuse to delete running guests. (Closes: #419561) - Updated the package "Recommends" (Closes: #421174) -- Radu Spineanu Fri, 12 May 2007 19:09:09 +0200 xen-tools (3.2-1) unstable; urgency=low [ Steve Kemp ] * New upstream release v3.2 - Installation argument changes so that --copy, --debootstrap, --rpmstrap, and --tar have been replaced with --install-method. Indirectly (closes: #404454, #411817) - Updated bash completion scripts. - New installation method, using an image-server. * Added sample script in examples/ to update the xen-tools.conf file, and all domains with the most current Xen kernel and initrd image. (closes: #401206) * Setup correct security sources for apt-get. (Closes: #407543) * Automatically cleanup if installation fails. (Closes: #383029) * Auto-incrementing network addresses for new installations. * Added 'xen-create-nfs' to create new NFS-Root Xen guests. * Added the ability to install into a physical partition. (Closes: #406212) -- Radu Spineanu Sun, 25 Mar 2007 21:35:06 +0300 xen-tools (3.1-1) unstable; urgency=low [ Steve Kemp ] * New upstream release v3.1. - Installation of packages in hooks works. (Closes: #402889, #404518) - Xen configuration files are not accidently trashed. (Closes: #404443) - Hooks are now optional. (Closes: #404444) - Better error handling of image creation. (Closes: #404455, #404516) - Avoid copying needless kernel modules to guests. (Closes: #404508) - Fixed typo in error handling. (Closes: #404509) - When copying user accounts copy groups too. (Closes: #404521) -- Radu Spineanu Sun, 25 Mar 2007 21:35:04 +0300 xen-tools (3.0-1) unstable; urgency=low [ Steve Kemp ] * New upstream release of 3.0 - Tests that config files exists. (Closes: #402328) - New option to create image but not install. (Closes: #383057, #402315) - Made "etch" the default target to install. (Closes: #399705) -- Radu Spineanu Wed, 13 Dec 2006 11:17:28 +0000 xen-tools (3.0~beta1-2) unstable; urgency=low * Remove old symlinks and directories during preinst. (closes: #401834) -- Radu Spineanu Wed, 6 Dec 2006 15:58:44 +0200 xen-tools (3.0~beta1-1) unstable; urgency=low * Development snapshot * Mention the --mac option in the man page. (closes: #399708) * Set the locale version to 'C' to avoid perl warnings. (closes: #399778) -- Radu Spineanu Mon, 4 Dec 2006 16:55:31 +0200 xen-tools (2.8-2) unstable; urgency=low * Support Upstart in hook 30-fix-inittab (Closes: #399153) * hooks/common.sh: Applied Petter Reinholdtsen's assert "$LINENO" "" changes, the rest was already fixed in 2.8-1 (Closes: #399286) * Only copy modules if newer in 80-install-modules (Closes: #399196) * Fix installation of libc6-xen from right source (Closes: #397784) * Activate hook disable-tls only if 32 bit architecture (Closes: #397933) * Add hook disable-tls for Ubuntu (Closes: #399274) * bin/xen-create-image: Fixed documentation: --untar => --tar (Closes: #398769) * debian/rules: Moved the cfengine hook to roles (Closes: #399152) -- Roland Stigge Sun, 19 Nov 2006 13:48:46 +0100 xen-tools (2.8-1) unstable; urgency=low * New upstream release -- Radu Spineanu Wed, 8 Nov 2006 00:35:40 +0200 xen-tools (2.7-4) unstable; urgency=low * debian/control: Priority: extra (because of debootstrap and libtext-template-perl) -- Roland Stigge Sat, 21 Oct 2006 17:21:05 +0200 xen-tools (2.7-3) unstable; urgency=low * debian/control: - Priority: optional (following override, was: extra) - Recommends: perl-doc (Closes: #393472) - Recommends: xen-hypervisor -- Roland Stigge Sat, 21 Oct 2006 14:58:28 +0200 xen-tools (2.7-2) unstable; urgency=low * Fixed 2.6-2 changelog entry. -- Radu Spineanu Sat, 14 Oct 2006 02:21:25 +0300 xen-tools (2.7-1) unstable; urgency=low * New upstream release -- Radu Spineanu Sat, 14 Oct 2006 02:16:20 +0300 xen-tools (2.6-2) unstable; urgency=low * New maintainer (Closes: #390904) * Fixed sysvinit's /lib/init/rw being mounted on debootstrap, leading to the deletion of the image content on creation (Closes: #391501) -- Roland Stigge Sat, 7 Oct 2006 12:58:30 +0200 xen-tools (2.6-1) unstable; urgency=low * Allow the user to modify the commands used when installing with --copy or --tar. * Add --numeric-owner to the command used by --tar by default. (Closes: #385024) -- Steve Kemp Mon, 11 Sep 2006 17:00:21 +0000 xen-tools (2.5-2) unstable; urgency=low * Don't complation about /etc/xen-tools/role.d/ any more. -- Steve Kemp Sun, 27 Aug 2006 22:39:45 +0000 xen-tools (2.5-1) unstable; urgency=low * Install roles system-wide into /etc/xen-tools/role.d/ This is certainly the last time this will move, since this is the second time. New command line argument '--roledir' allows you to specify an alternative location. (Also valid in the config file.) (Closes: #383822) * Correctly setup "${noswap}" for the hook scripts. -- Steve Kemp Sun, 27 Aug 2006 22:33:20 +0000 xen-tools (2.4-1) unstable; urgency=low * New upstream release. - Don't setup ramdisk in xm.tmpl if one isn't being used. (Closes: #383703) - xen-delete-image will not complain if a swap volume doesn't exist. It will also remove the new installation logfile. (Closes: #383736) - Improved documentation on custom variables in the Xen configuration file in the manpage for xt-create-xen-config - Allow the MAC address to be set for the first network interface, regardless of DHCP/static addressing. (Closes: #383492) * Added watch file. -- Steve Kemp Tue, 22 Aug 2006 10:00:00 +0000 xen-tools (2.3-1) unstable; urgency=high * Urgency set to high because the software will not work correctly unless using a specific version of debootstrap. - Updated manpages to avoid word-wrapping. - Updated --noswap option such that a LVM swap volume isn't created. - Reverted the usage of '--keep-debootstrap-dir' since that is a "recent" thing. Will switch to keeping a global logfile for error purposes. (Closes: #383589) - File given as '--template' argument must exist. - Leave /etc/inittab terminal type alone. - When running with --noswap the Xen configuration file is correct. - --fs command line processing is now correct. * Switched myself to maintainer, and Radu to be uploader after discussion. -- Steve Kemp Fri, 18 Aug 2006 09:54:32 +0000 xen-tools (2.3-0) unstable; urgency=low * New upstream release: - Better manpage for xen-create-image which longer displays internal functions. (Closes: #383032) - Use a user-specified Xen configuration file template via "--template=xx" (Closes: #383036) - Allow new images to be created without swap via "--noswap". (Closes: #383058) - Preserve debootstrap error output in xt-install-image. (Closes: #383037) - Mount /proc more securely in new guests: nodev, noexec, nosuid. - Allow command line installation method or installation type (dir/lvm) to override the configuration file options. (Closes: #383033) - Allow "arch" to be specified and passed to rpmstrap/debootstrap. (Closes: #383041) -- Steve Kemp Mon, 14 Aug 2006 22:34:59 +0000 xen-tools (2.2-2) unstable; urgency=low * Applied upstream patches to ensure a suitable image-creation method is specified to xen-create-image and improved the documentation for that script. (Closes: #379347) -- Steve Kemp Sun, 23 Jul 2006 21:22:24 +0000 xen-tools (2.2-1) unstable; urgency=high * New upstream release, fixes several important bugs hence urgency=high. - /etc/fstab creation generated correctly for reiserfs (Closes: #379023) (Closes: #379096) - --force works with xfs filesystems. (Closes: #377684) - Timezone configuration file copied over into new guest domains. (Closes: #376846) - Debian image creation works correctly. (Closes: #378165) -- Steve Kemp Sat, 22 Jul 2006 16:59:39 +0000 xen-tools (2.1-2) unstable; urgency=high * CVS snapshot to fix RC bugs and allow package into testing. - Build from source with no test-case failures. (Closes: #375267) - Fixed several typos in the configuration file, and scripts. (Closes: #375382) -- Steve Kemp Thur, 29 Jun 2006 10:31:23 +0000 xen-tools (2.1-1) unstable; urgency=high * New upstream release: - The --boot option works again. - Accept the --mirror command line option. - Accept the --fs command line option (Closes: #374987) - Create swap for new images (Closes: #374989) - Always create non-sparse images on LVM systems (Closes: #374988) - Gentoo image customisation supported. * Urgency set to high primarily because of the failure to create swap devices. -- Steve Kemp Thur, 23 Jun 2006 10:08:32 +0000 xen-tools (2.0-1) unstable; urgency=low * New upstream release + Moves the hook directories from /etc/xen-tools to /usr/lib/xen-tools + Adds explicit support for Ubuntu Dapper. + Changed homepage links. * Updated build-deps to include modules required for clean pass of test suite. * Added dependency for Text::Template, and removed obsolete Term::Size. * Improved documentation relating to the LVM support. Note: --volume becomes --lvm from 2.0 upwards. (Closes: #368831) * Installation on LVM partitions now works without error. (Closes: #373800) -- Steve Kemp Tue, 20 Jun 2006 09:57:45 +0000 xen-tools (1.6-1) unstable; urgency=low * New upstream release (closes: #368983) + Install libc6-xen on sid/etch systems + Don't update /etc/hosts on the host if there is already an entry present for that given host. * Added xen | xen-hypervisor-3.0 to depends again (closes: #370278) * Updated Standards version * Added missing 1.4-2 changelog entry -- Radu Spineanu Sat, 10 Jun 2006 18:57:50 +0300 xen-tools (1.5-1) unstable; urgency=low * New upstream release -- Radu Spineanu Tue, 30 May 2006 00:07:30 +0300 xen-tools (1.4-2) unstable; urgency=medium * Snapshot of CVS to close bugs. * Consistently use SCSI / IDE style device names. (Closes: #366252) * Don't overwrite new images with xen-create-image, unless '--force' is applied. (Closes: #366403) * Rather than recommending Xen (which is Xen 2.0) recommend either xen or xen-hypervisor-3.0. (Closes: #366459). * Updated standards version to 3.7.2. (No changes). * Set the priority to "optional" not "extra". Must remember to keep this there this time.. -- Steve Kemp Mon, 22 May 2006 12:04:21 +0000 xen-tools (1.4-1) unstable; urgency=low * Delete the /etc/xen-tools/xen-create-image.d directory if it's empty or display a warning otherwise * Closed wrong bug number in the 1.3-1 upload * Allow files to be copied to all new instances via /etc/xen-tools/skel (Closes: #363070) * Added new option --initrd to specify the initial ramdisk. (Closes: #365500) -- Steve Kemp Sun, 7 May 2006 14:43:43 +0000 xen-tools (1.3-1) unstable; urgency=low * New upstream release + Ignore .dpkg-(new|old) files in the hooks directory (closes: #357716) -- Radu Spineanu Sat, 15 Apr 2006 13:44:36 +0300 xen-tools (1.1-1) unstable; urgency=low * New upstream release + Disk devices are no longer created one unit bigger than asked (closes: #353155) + Populate /dev on the virtual server (closes: #352942) + Added --use-ide flag in case people want ide style device names (closes: #352937) + xen.cfg is no longer broken when using LVM -- Radu Spineanu Tue, 21 Feb 2006 01:28:28 +0200 xen-tools (1.0-1) unstable; urgency=low * New upstream release * Changed priority from optional to extra because of debootstrap -- Radu Spineanu Thu, 9 Feb 2006 00:25:41 +0200 xen-tools (0.9-2) unstable; urgency=high * BUGFIX: Add "vif = ['']" to each configuration file created in /etc/xen. Without this networking of guest domains may fail in Xen 3.0.1 -- Steve Kemp Sat, 4 Feb 2006 20:20:01 +0000 xen-tools (0.9-1) unstable; urgency=low * New upstream release. Allows disabling of the .deb caching via "--cache=no" (Closes: #348721) -- Steve Kemp Wed, 25 Jan 2006 09:19:21 +0000 xen-tools (0.8.5-1) unstable; urgency=low * New upstream release (closes: #345912) (generated /etc/fstab broken) * Fixes typo in description (closes: #346296) -- Radu Spineanu Sun, 8 Jan 2006 21:57:17 +0200 xen-tools (0.6-1) unstable; urgency=low * New upstream release, featuring a collection of "hooks" to do most of the processing. * Build manpages at package creation time. * Run the (minimal) test suite at package creation time. * Added link to homepage in debian/control * Added dependency upon libterm-size-perl so that the messages may stretch the width of the console. -- Steve Kemp Sun, 25 Dec 2005 15:01:38 +0000 xen-tools (0.4-1) unstable; urgency=low * Initial release (Closes: #344081) -- Radu Spineanu Tue, 20 Dec 2005 02:21:05 +0200 debian/postinst0000644000000000000000000000120611361012120010756 0ustar #!/bin/sh set -e # # Skip, if we are not in "configure" state # if [ "$1" != "configure" ]; then echo "I: Skipping configuration" exit 0 fi # # Handle obsolete directories. # if [ -d "/etc/xen-tools/xen-create-image.d" ]; then rmdir "/etc/xen-tools/xen-create-image.d" 2>/dev/null || echo "The directory /etc/xen-tools/xen-create-image.d is no longer used. You can safely remove it." fi # # 1.x -> 2.x # if [ -d "/etc/xen-tools/hook.d" ]; then rmdir "/etc/xen-tools/hook.d" 2>/dev/null || echo "The directory /etc/xen-tools/hook.d is no longer used. You can safely remove it." fi #DEBHELPER# exit 0 debian/copyright0000644000000000000000000000177012076027246011134 0ustar This package was debianized by Radu Spineanu on Tue, 20 Dec 2005 02:21:05 +0200. It was downloaded from http://xen-tools.org/software/xen-tools/ Copyright 2005-2009: Steve Kemp Copyright 2010-2013: The Xen-Tools Development Team, currently consisting of: Axel Beckert , Dmitry Nedospasov , and Stéphane Jourdois License: This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. Perl is distributed under licenses: a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" which comes with Perl. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-1' and the Artistic Licence in /usr/share/common-licenses/Artistic'. debian/examples0000644000000000000000000000001312076026103010716 0ustar examples/* debian/triggers0000644000000000000000000000003212077346000010731 0ustar activate update-initramfs debian/docs0000644000000000000000000000014712100531603010032 0ustar AUTHORS README.markdown SUPPORT.markdown BUGS.markdown TODO.markdown KNOWN_BUGS.markdown NEWS.markdown debian/control0000644000000000000000000000506412252147646010607 0ustar Source: xen-tools Section: utils Priority: extra Maintainer: Axel Beckert Build-Depends: debhelper (>= 9~), devscripts, git, libdata-validate-domain-perl, libdata-validate-ip-perl, libdata-validate-uri-perl, libfile-slurp-perl, libfile-which-perl, liblog-message-perl | perl (<< 5.17.0), libterm-ui-perl | perl (<< 5.17.0), libtest-notabs-perl, libtest-pod-coverage-perl, libtest-pod-perl, libtext-template-perl Standards-Version: 3.9.5 Homepage: http://xen-tools.org/software/xen-tools Vcs-Browser: http://gitorious.org/xen-tools/xen-tools Vcs-Git: git://gitorious.org/xen-tools/xen-tools.git Package: xen-tools Architecture: all Depends: debootstrap | cdebootstrap, libconfig-inifiles-perl, libdata-validate-domain-perl, libdata-validate-ip-perl, libdata-validate-uri-perl, libfile-slurp-perl, libfile-which-perl, libterm-ui-perl | perl (<< 5.17.0), libtext-template-perl, openssh-client, perl-modules, ${misc:Depends}, ${perl:Depends} Recommends: libexpect-perl, rinse (>= 1.9.1-1), xen-hypervisor-amd64 | xen-hypervisor-i386 | xen-hypervisor-i386-pae, xen-utils Suggests: btrfs-tools, cfengine2, reiserfsprogs, xfsprogs Description: Tools to manage Xen virtual servers This package contains tools to manage Debian based Xen virtual servers. . Using the scripts you can easily create fully configured Xen guest domains (DomU) which can be listed, updated, or copied easily. . xen-tools currently can install: . * Debian 3.1 Sarge (i386 only) * Debian 4.0 Etch * Debian 5.0 Lenny * Debian 6.0 Squeeze * Debian 7 Wheezy * Debian 8 Jessie (under development) * Debian Sid (Unstable) * Ubuntu 6.06 Dapper Drake (LTS) * Ubuntu 6.10 Edgy Eft * Ubuntu 7.04 Feisty Fawn * Ubuntu 7.10 Gutsy Gibbon * Ubuntu 8.04 Hardy Heron (LTS) * Ubuntu 8.10 Intrepid Ibex * Ubuntu 9.04 Jaunty Jackaplope * Ubuntu 9.10 Karmic Koala * Ubuntu 10.04 Lucid Lynx (LTS) * Ubuntu 10.10 Maverick Meerkat * Ubuntu 11.04 Natty Narwhal * Ubuntu 11.10 Oneiric Ocelot * Ubuntu 12.04 Precise Pangolin (LTS) * Ubuntu 12.10 Quantal Quetzal * Ubuntu 13.04 Raring Ringtail * Ubuntu 13.10 Saucy Salamander * Ubuntu 14.04 Trusty Tahr (LTS, under development) * CentOS 5 * CentOS 6 debian/README.Debian0000644000000000000000000000164611361012120011221 0ustar README ====== Kernel/initrd guessing ====================== In xen-tools 3.4-1 a new feature was added which allows using backtick expressions in xen-tools.conf. Using this feature you can improve kernel/initrd guessing by changing/adding the following options in xen-tools.conf: kernel = /boot/vmlinuz-`uname -r` ramdisk = /boot/initrd.img-`uname -r` Upgrading Existing kernel/initrd paths -------------------------------------- The kernel, and initrd, settings which are included in the xen-tools (either statically or dynamically with `uname -r`) are only applied when the new guest domains are created. If you upgrade your kernel you will be left with existing xen guest domains which : - Have the wrong paths setup in /etc/xen/*.cfg - Have incorrect modules stored within their disk images. Both of these can be updated via the helper scripts located in: /usr/share/doc/xen-tools/examples/ debian/dirs0000644000000000000000000000011512131573701010047 0ustar /etc/xen-tools /etc/xen-tools/role.d /etc/xen-tools/skel /usr/share/xen-toolsdebian/source/0000755000000000000000000000000012055127360010467 5ustar debian/source/format0000644000000000000000000000001412055127360011675 0ustar 3.0 (quilt) debian/NEWS0000644000000000000000000000340212205716203007662 0ustar xen-tools (4.4~beta1-1) unstable; urgency=low * Exported environment variables no more contain dashes ("-"). Dashes in environment variable names are from now on converted to underscores ("_") before being exported. May affect some hook or role scripts. * /usr/lib/xen-tools/ has been moved to /usr/share/xen-tools/ to properly adhere to FHS. In case you had local scripts added to /usr/lib/xen-tools/, please move them to /usr/share/xen-tools/, too and then remove /usr/lib/xen-tools/ and its left-over subdirectories which all should be empty at that point, i.e. "rmdir -p /usr/lib/xen-tools/*" should do the trick. -- Axel Beckert Fri, 23 Aug 2013 19:01:16 +0200 xen-tools (4.2~rc1-1) unstable; urgency=low By default, xen-create-image now generates a random root password and displays it as plain text at the end of the DomU generation process. Use --genpass=0 and --passwd=1 to interactively set a root password without the password being displayed. -- Axel Beckert Tue, 03 Aug 2010 16:14:42 +0200 xen-tools (4.2~beta1-1) unstable; urgency=low If the DomU hangs with "Waiting for root file system" despite /dev/xvd* is used as disk device, adding "xen-blkfront" to /etc/initramfs-tools/modules and runing "update-initramfs -u" afterwards may help. If the Dom0 is a Debian or Ubuntu, the distribution and suite for DomUs defaults to the distribution and suite the Dom0 is running. Otherwise Debian DomUs get "stable" and Ubuntu "lucid" by default. Default Debian/Ubuntu mirror is now determined by looking into /etc/apt/sources.list (if it exists) and taking the first entry with path ending in /debian/ there. -- Axel Beckert Sun, 30 May 2010 22:36:16 +0200 debian/rules0000755000000000000000000000016612076031754010256 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: