debian/0000775000000000000000000000000012277301304007167 5ustar debian/changelog0000664000000000000000000010564212277301041011047 0ustar drbd8 (2:8.4.4-1ubuntu1) trusty; urgency=medium * debian/patches/ppc64el-ftbfs.patch: Fix build failure on ppc64el. -- Steve Langasek Thu, 13 Feb 2014 18:40:32 -0800 drbd8 (2:8.4.4-1) unstable; urgency=low * New upstream version (Closes: #714210, #721443, #711781) * Do not participate in the usage count by default (Closes: #711352) * Basic systemd support * Bump compat to 9 and standards to 3.9.5 * Convert to dh sequencer + use dh_installinit for the initscript and use the default ordering (Closes: #476544) * Two new patches, fixing automatic chainloading of legacy drbdsetup when kernel DRBD is 8.3: + 0001-drbdsetup-use-lib-drbd-drbdsetup-83.patch + 0002-drbdsetup-delay-exiting-due-to-unknown-commands.patch * Convert copyright to Format 1.0 * Remove unnecessary (build-)dependencies: bison, bzip2, debconf * Fix Vcs-Git URL -- Apollon Oikonomopoulos Thu, 07 Nov 2013 14:02:13 +0200 drbd8 (2:8.3.13-2) unstable; urgency=low * Integrated NMU * Comment-out default handlers for pri-on-incon-degr/pri-lost-after-sb in '/etc/drbd.d/global_common.conf' ** Re-enable them if you want to improve your availability in a DRBD cluster setup. (Closes: #576511) * Added recommends to mailx (Closes: #691225) -- Philipp Hug Mon, 29 Oct 2012 13:45:51 +0100 drbd8 (2:8.3.13-1.1) unstable; urgency=low * Non-maintainer upload. * Fix name of udev rules file. (closes: #679266) * Disable module version warning for sublevel missmatch. (closes: #659353) * Disable regeneration of buildtags file. (closes: #679460) -- Bastian Blank Thu, 28 Jun 2012 21:07:04 +0000 drbd8 (2:8.3.13-1) unstable; urgency=low * Update to latest version for Linux 3.2.0 * Enabled hardened build flags. Thanks Moritz. (Closes: #667558) -- Philipp Hug Fri, 15 Jun 2012 20:14:36 +0200 drbd8 (2:8.3.11-3) unstable; urgency=low * Install udev rule into /lib/udev/rules.d instead of /etc * Don't invoke make with '-' except for drbd/Makefile * Don't complain in prerm about unknown argument upgrade * Architecture changed to linux-any * build-arch: depend on configure (Closes: #666345) -- Philipp Hug Fri, 30 Mar 2012 18:52:55 +0200 drbd8 (2:8.3.11-2) unstable; urgency=low * Don't create /dev/drbdX in postinst (Closes: #656143) * Install drbd.conf.example (Closes: #613872) * Define init script as interactive (Closes: #613654) * Suggest to use dpkg-statoverride (Closes: #519187) -- Philipp Hug Tue, 20 Mar 2012 14:52:42 +0100 drbd8 (2:8.3.11-1) unstable; urgency=low * New upstream release. * Clean some more files * Switch to dpkg-source 3.0 (quilt) format * Delete config.log, config.status * Build-Depend on xsltproc (for documentation) and git (for build-tags) -- Philipp Hug Tue, 20 Mar 2012 12:12:57 +0100 drbd8 (2:8.3.10-1) unstable; urgency=low * New upstream release. (Closes: #635329) * Moved to git.debian.org for package maintenance. * Removed dpatch -- Philipp Hug Thu, 28 Jul 2011 16:42:04 +0200 drbd8 (2:8.3.9-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Thu, 13 Jan 2011 15:36:21 +0100 drbd8 (2:8.3.8.1-1) unstable; urgency=low * New upstream release. (closes: #590814) * Remove no longer required files. * Drop docbook-utils from build-dependencies. * Drop architecture independant parts. -- Norbert Tretkowski Sun, 29 Aug 2010 15:57:31 +0200 drbd8 (2:8.3.7-2.1) unstable; urgency=low * Non-maintainer upload. * Use the init script of the 8.3.8.1 release fixing broken LSB headers. (closes: #576901) -- Alexander Reichle-Schmehl Thu, 15 Jul 2010 14:03:40 +0200 drbd8 (2:8.3.7-2) unstable; urgency=low * Drop -source package, now that DRBD is part of the Linux mainline kernel. (closes: #573514, #580184) -- Norbert Tretkowski Thu, 10 Jun 2010 20:29:40 +0200 drbd8 (2:8.3.7-1) unstable; urgency=low * New upstream release. + Correct dependencies in init.d script. (closes: 547566, #563783) * Acknowledge NMU of 2:8.3.4-1.1, thanks Iustin for taking care of this! (closes: #499516) * Ship scripts/adjust_drbd_config_h.sh and run it before building the kernel module. (closes: #551479, #552439) -- Norbert Tretkowski Mon, 18 Jan 2010 16:29:43 +0100 drbd8 (2:8.3.4-1.1) unstable; urgency=low * Non-maintainer upload. * Fix watch file * No longer stops the drbd resources on upgrades of the drbd8-utils package, since this is not needed and shutdowns must be done by the administrator. (closes: #499516) -- Iustin Pop Fri, 13 Nov 2009 19:58:29 +0100 drbd8 (2:8.3.4-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Fri, 16 Oct 2009 09:18:11 +0200 drbd8 (2:8.3.3~rc3-1) experimental; urgency=low * New upstream release candidate. -- Norbert Tretkowski Tue, 29 Sep 2009 21:43:01 +0200 drbd8 (2:8.3.3~rc2-1) experimental; urgency=low * New upstream release candidate. -- Norbert Tretkowski Wed, 16 Sep 2009 19:17:52 +0200 drbd8 (2:8.3.3~rc1-1) experimental; urgency=low * New upstream release candidate. -- Norbert Tretkowski Mon, 31 Aug 2009 11:44:25 +0200 drbd8 (2:8.3.2-3) unstable; urgency=low * Drop DKMS support for now, to get the package back into testing. (closes: #537986, #539218, #539219) -- Norbert Tretkowski Sun, 16 Aug 2009 12:23:59 +0200 drbd8 (2:8.3.2-2) unstable; urgency=low * Switch to DKMS, patch from Ante Karamatić (Ubuntu). -- Norbert Tretkowski Tue, 21 Jul 2009 20:17:47 +0200 drbd8 (2:8.3.2-1) unstable; urgency=low * New upstream release. * Section of drbd8-source is kernel. -- Norbert Tretkowski Mon, 06 Jul 2009 21:17:28 +0200 drbd8 (2:8.3.2~rc2-1) unstable; urgency=low * New upstream release candidate. -- Norbert Tretkowski Sat, 27 Jun 2009 16:28:20 +0200 drbd8 (2:8.3.2~rc1-1) unstable; urgency=low * New upstream release candidate. + Make it compile on Linux 2.6.30. (closes: #533261, #533654) * Update Standards-Version to 3.8.2, no changes required. * Fix maintainer-script-ignores-errors lintian warning. -- Norbert Tretkowski Mon, 22 Jun 2009 20:52:22 +0200 drbd8 (2:8.3.1-2) unstable; urgency=medium * Added a new patch from Michael Prokop to fix build with kernel 2.6.28 and older. (closes: #522891) -- Norbert Tretkowski Fri, 03 Apr 2009 19:54:44 +0200 drbd8 (2:8.3.1-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Fri, 27 Mar 2009 14:16:36 +0100 drbd8 (2:8.3.1~rc2-1) experimental; urgency=low * New upstream release candidate. -- Norbert Tretkowski Thu, 26 Mar 2009 10:52:06 +0100 drbd8 (2:8.3.1~rc1-1) experimental; urgency=low * New upstream release candidate. * Drop patch 10_lsb-init-script.dpatch, merged upstream. -- Norbert Tretkowski Tue, 17 Mar 2009 16:38:52 +0100 drbd8 (2:8.3.0-3) unstable; urgency=low [ Martin G. Loschwitz ] * Sigh. Remove SVN-Files from debian-diff file. -- Martin Loschwitz Wed, 11 Mar 2009 17:46:00 +0100 drbd8 (2:8.3.0-2) unstable; urgency=low [ Norbert Tretkowski ] * Package is now team-maintained. * Use dpatch for patch management. * New patch 10_lsb-init-script.dpatch to make init-script a bit more LSB compliant. [ Martin G. Loschwitz ] * Add myself to the Uploaders:-Field. -- Martin Loschwitz Wed, 11 Mar 2009 16:45:00 +0100 drbd8 (2:8.3.0-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Wed, 24 Dec 2008 15:05:27 +0100 drbd8 (2:8.3.0~rc3-1) experimental; urgency=low * New upstream release candidate. -- Norbert Tretkowski Mon, 15 Dec 2008 10:14:37 +0100 drbd8 (2:8.3.0~rc2-1) experimental; urgency=low * New upstream release candidate. -- Norbert Tretkowski Sun, 07 Dec 2008 15:09:01 +0100 drbd8 (2:8.3.0~rc1-1) experimental; urgency=low * New upstream release candidate. -- Norbert Tretkowski Mon, 01 Dec 2008 16:19:08 +0100 drbd8 (2:8.2.7-2) experimental; urgency=low * Merge 2:8.0.14-2. -- Norbert Tretkowski Thu, 13 Nov 2008 12:47:22 +0100 drbd8 (2:8.2.7-1) experimental; urgency=low * New upstream release. * Merge 2:8.0.14~rc1-1 and 2:8.0.14-1. -- Norbert Tretkowski Thu, 13 Nov 2008 10:55:02 +0100 drbd8 (2:8.2.7~rc2-1) experimental; urgency=low * New upstream release candidate. -- Norbert Tretkowski Wed, 29 Oct 2008 17:34:12 +0100 drbd8 (2:8.2.6-4) experimental; urgency=low * Fix kernel panic during verify. -- Norbert Tretkowski Thu, 23 Oct 2008 08:51:09 +0200 drbd8 (2:8.2.6-3) experimental; urgency=low * Merge 2:8.0.13-1 and 2:8.0.13-2. -- Norbert Tretkowski Thu, 09 Oct 2008 16:26:00 +0200 drbd8 (2:8.2.6-2) experimental; urgency=low * Fix build on Linux 2.6.26. -- Norbert Tretkowski Wed, 27 Aug 2008 11:40:53 +0200 drbd8 (2:8.2.6-1) experimental; urgency=low * New upstream release. * Merge changes from 2:8.0.10-1, 2:8.0.11-1 and 2:8.0.12-1. -- Norbert Tretkowski Tue, 17 Jun 2008 14:28:39 +0200 drbd8 (2:8.2.4-1) experimental; urgency=low * New upstream release * Upload for experimental -- Philipp Hug Mon, 21 Jan 2008 21:35:06 +0100 drbd8 (2:8.0.14-2) unstable; urgency=low * Drop dpatch build-dependency. * Drop homepage from description. * Don't ignore make clean errors. -- Norbert Tretkowski Thu, 13 Nov 2008 11:46:25 +0100 drbd8 (2:8.0.14-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Thu, 13 Nov 2008 10:50:27 +0100 drbd8 (2:8.0.14~rc1-1) unstable; urgency=low * New upstream release candidate. * New maintainer. (closes: #500353) -- Norbert Tretkowski Wed, 29 Oct 2008 17:43:24 +0100 drbd8 (2:8.0.13-2) unstable; urgency=low * Run depmod from generated module package using dh_installmodules. (closes: #496882) -- Norbert Tretkowski Wed, 03 Sep 2008 12:07:22 +0200 drbd8 (2:8.0.13-1) unstable; urgency=low * New upstream release. + Make it compile on Linux 2.6.26. (closes: #493145) -- Norbert Tretkowski Mon, 04 Aug 2008 17:56:03 +0200 drbd8 (2:8.0.12-1) unstable; urgency=low * New upstream release. + Make it compile on Linux 2.6.25. (closes: #480418, #481992, #483676) * Add myself as co-maintainer. -- Norbert Tretkowski Tue, 17 Jun 2008 14:18:36 +0200 drbd8 (2:8.0.11-1) unstable; urgency=low * New upstream release -- Philipp Hug Wed, 13 Feb 2008 19:12:53 +0100 drbd8 (2:8.0.10-1) unstable; urgency=low * New upstream release -- Philipp Hug Tue, 12 Feb 2008 22:10:04 +0100 drbd8 (2:8.0.8-1) unstable; urgency=low * New upstream release * Provide drbd8-module-source for compatibility * Use EXTRA_CFLAGS (Closes: #461750) -- Philipp Hug Mon, 21 Jan 2008 21:23:02 +0100 drbd8 (2:8.0.7-1) unstable; urgency=low * New upstream release (Closes: #449241) * Integrated NMU changes (Closes: #448876) -- Philipp Hug Sun, 04 Nov 2007 13:46:53 +0100 drbd8 (2:8.0.6-0.1) unstable; urgency=low * Non-Maintainer upload with permission of Philipp Hug. * New upstream release (Closes: #438167) * Switch to debhelper 5. * Rename kernel module package from drbd8-module-source to drbd8-source. * Compress the module source tarball with bzip2. * Provide modules/drbd8 to allow parallel installation with drbd0.7-module-source, and remove obsolete Conflict header. * Provide own Makefiles in the module tarball for automated building within linux-modules-extra-2.6 (closes: #431771) -- Frederik Schüler Thu, 01 Nov 2007 15:13:29 +0100 drbd8 (2:8.0.4-1) unstable; urgency=low * New upstream release (Closes: #432104) -- Philipp Hug Sun, 08 Jul 2007 12:45:33 +0200 drbd8 (2:8.0.3-2) unstable; urgency=low * Updated Maintainer in control.modules.in * Added documentation about how to install source package -- Philipp Hug Thu, 21 Jun 2007 18:05:16 +0100 drbd8 (2:8.0.3-1) unstable; urgency=low * New upstream release * Added watch file -- Philipp Hug Tue, 22 May 2007 21:59:01 +0200 drbd8 (2:8.0.2-1) unstable; urgency=low * New upstream release -- Philipp Hug Sat, 14 Apr 2007 19:49:41 +0200 drbd8 (2:8.0.1-1) unstable; urgency=low * New upstream release -- Philipp Hug Thu, 8 Mar 2007 11:50:35 +0100 drbd8 (2:8.0.0-1) unstable; urgency=low * New upstream release * debian/control: updated Maintainer and Uploaders fields to match reality. -- Philipp Hug Sun, 18 Feb 2007 18:50:04 +0100 drbd8 (2:8.0pre5-1) unstable; urgency=low * New upstream release * scripts/drbd: patch for LSB compliance, submitted the patch upstream. * debian/rules: the documentation/Makefile 'clean' target as been renamed to 'doc-clean' -- Cyril Bouthors Mon, 2 Oct 2006 13:48:33 +0300 drbd8 (8.0-pre4-3) unstable; urgency=low * debian/rules: applyied patch to fix building for x86_64 on i386 from Guido Guenther and Philipp Hug . -- Cyril Bouthors Wed, 23 Aug 2006 00:13:22 +0300 drbd8 (8.0-pre4-2) unstable; urgency=low * debian/drbd8-module-_KVERS_.postinst.modules.in: take care of chroot environments when calling depmod (closes: 381767). -- Cyril Bouthors Sun, 20 Aug 2006 22:13:01 +0300 drbd8 (8.0-pre4-1) unstable; urgency=low * New upstream release * debian/control: updated standards version from 3.6.2.1 to 3.7.2 * debian/drbd8-utils.prerm: use invoke-rc.d -- Cyril Bouthors Mon, 31 Jul 2006 18:01:22 +0300 drbd8 (8.0-pre3-1) unstable; urgency=low * New upstream release * debian/control.modules.in: fixed "Source" field thanks to Guido Guenther (closes #361957). -- Cyril Bouthors Wed, 26 Apr 2006 11:04:54 +0200 drbd8 (8.0-pre2-1) unstable; urgency=low * New upstream release -- Cyril Bouthors Thu, 6 Apr 2006 19:08:52 +0200 drbd8 (8.0-pre1-2) unstable; urgency=low * Renamed source from drbd to drbd8 -- Cyril Bouthors Mon, 27 Mar 2006 00:14:03 +0200 drbd (8.0-pre1-1) unstable; urgency=low * New upstream release -- Cyril Bouthors Wed, 22 Mar 2006 12:15:03 +0300 drbd (0.7.17-1) unstable; urgency=low * New upstream release -- Cyril Bouthors Wed, 8 Mar 2006 17:26:36 +0300 drbd (0.7.16-1) unstable; urgency=low * New upstream release -- Cyril Bouthors Tue, 14 Feb 2006 15:13:49 +0300 drbd (0.7.15-2) unstable; urgency=low * debian/control: removed hard-coded dependency on libc6 thanks to Adeodato Simó (closes: #349927). -- Cyril Bouthors Tue, 31 Jan 2006 09:13:32 +0300 drbd (0.7.15-1) unstable; urgency=low * New upstream release -- Cyril Bouthors Tue, 20 Dec 2005 17:55:40 +0300 drbd (0.7.14-3) unstable; urgency=low * debian/control: added explicit dependency on libc6 >= 2.3.5 -- Cyril Bouthors Sun, 18 Dec 2005 10:15:14 +0300 drbd (0.7.14-2) unstable; urgency=low * debian/control: depends on debconf or debconf-2.0 (closes: #331806). -- Cyril Bouthors Sat, 17 Dec 2005 10:43:22 +0300 drbd (0.7.14-1) unstable; urgency=low * New upstream release (closes: #310993, #338994). * debian/control: added dependency to dpatch (closes: #338994). -- Cyril Bouthors Fri, 16 Dec 2005 13:10:25 +0300 drbd (0.7.12-1) unstable; urgency=low * New upstream release -- Cyril Bouthors Sat, 27 Aug 2005 18:25:47 +0300 drbd (0.7.11-1) unstable; urgency=low * New upstream release -- Cyril Bouthors Mon, 20 Jun 2005 15:49:40 +0300 drbd (0.7.10-4) unstable; urgency=low * debian/control: added missing dependency to dpatch for drbd0.7-module-source (closes: #308295). * debian/control: updated Maintainer and Uploaders fields to match reality. -- Cyril Bouthors Mon, 30 May 2005 11:22:46 +0300 drbd (0.7.10-3) unstable; urgency=low * (Cyril Bouthors) - scripts/drbd: explicit modprobe and rmmod pathnames (initscript_explicit_pathname.patch) (closes: #303060, #302556). -- Cyril Bouthors Sun, 17 Apr 2005 18:08:30 +0300 drbd (0.7.10-2) unstable; urgency=low * (Cyril Bouthors) - debian/drbd0.7-utils.prerm: silently ignore the initscript return code if we remove or deconfigure the package or carefully pay attention to it if we upgrade the package. (closes: #295533). - debian/control: fixed drbd0.7-module-source description. -- Cyril Bouthors Wed, 16 Feb 2005 21:05:51 +0100 drbd (0.7.10-1) unstable; urgency=low * (Cyril Bouthors) - New upstream release -- Cyril Bouthors Mon, 31 Jan 2005 17:29:27 +0300 drbd (0.7.9-2) unstable; urgency=low * (Cyril Bouthors) - Applied patch from Lars Marowsky-Bree that fixes a "severe [...] memory corruption bug [...]". -- Cyril Bouthors Thu, 27 Jan 2005 13:55:00 +0300 drbd (0.7.9-1) unstable; urgency=low * (Cyril Bouthors) - New upstream release -- Cyril Bouthors Thu, 27 Jan 2005 11:35:19 +0300 drbd (0.7.8-1) unstable; urgency=low * (Cyril Bouthors) - New upstream release -- Cyril Bouthors Mon, 17 Jan 2005 18:50:49 +0400 drbd (0.7.7-1) unstable; urgency=low * (Cyril Bouthors) - New upstream release -- Cyril Bouthors Wed, 15 Dec 2004 17:15:35 +0300 drbd (0.7.6-2) unstable; urgency=low * (Cyril Bouthors) - drbd0.7-module-source: Moved debhelper from Recommends to Depends -- Cyril Bouthors Thu, 9 Dec 2004 20:37:41 +0300 drbd (0.7.6-1) unstable; urgency=low * (Cyril Bouthors) - New upstream release - debian/control.modules.in: updated description - debian/TODO: removed -- Cyril Bouthors Tue, 30 Nov 2004 19:43:27 +0300 drbd (0.7.5-2) unstable; urgency=low * (Philipp Hug) - debian/control: Added Conflict with drbd-util and drbd-module-source - debian/control.in.modules: Fixed description for kernel module - debian/control.in.modules: Added Conflict line in kernel module package - debian/control.in.modules: Change depends to drbd0.7-util - debian/rules: don't use top-level makefile, to prevent re-creation of drbd_buildtag.c - call depmod in postinst of kernel module - debian/rules: remove obsolete upstream ./debian/ files in clean target - added module-assistant override file - this version is ready for sarge (Closes: #277669) -- Philipp Hug Tue, 19 Oct 2004 20:50:49 +0200 drbd (0.7.5-1) unstable; urgency=low * (Cyril Bouthors) - New upstream release (closes: #276640). - debian/drbd0.7.dirs: removed usr/bin (closes: #276643). - debian/control: changed Section from misc to admin. - scripts/drbd: prevent the "stop" target from failing if drbd is not running - debian/rules: call upstream Makefile targets instead of doing hardcoded stuff, clean. - debian/drbd0.7.docs: added upgrade_0.6.x_to_0.7.0.txt and upgrade_0.7.0_to_0.7.1.txt. - The package drbd as been renamed to drbd0.7-utils and drbd-source as been renamed to drbd0.7-module-source. We'll introduce drbd0.6-* and drbd*-module soon. - Added myself as Uploader. * (Philipp Hug) - Conflict with drbd and drbd-source - Fixed description for kernel modules - Added Conflict line in kernel-module package - Added bison, flex to Build-Depends - Call 'make clean' in drbd directory - Upgraded to debian-policy 3.6.1 - Rewritten debian/rules using module-assistant - Change binary package name to drbd0.7 - Added myself as Uploader -- Cyril Bouthors Sat, 16 Oct 2004 23:43:27 +0200 drbd (0.7.4-1) unstable; urgency=low * Fixed a critical bug with Linux-2.4.x and HIGHMEM! * Fixed a bug that only showed up with the HIGHMEM problem on Linux-2.4.x -> It caused the resync process to starve. * The drbd.spec file now creates /dev/drbd in the post-install stage. * Fixed support for more than 2TB storage. Now DRBD supports up to 3.99TB storage. It will also tell you, that it is not supported if you try to set up a bigger device. * Debian's build rules file now knows about the adjust_drbd_config_h.sh file. * DRBD_DISABLE_SENDPAGE available in drbd_config.h -- Philipp Reisner Thu, 9 Sep 2004 19:50:00 +0200 drbd (0.7.3-2) unstable; urgency=low * Fixed debian/rules: Include adjust_drbd_config_h.sh in drbd-source -- Philipp Hug Tue, 31 Aug 2004 15:37:38 +0000 drbd (0.7.3-1) unstable; urgency=low * Fixed minor bugs in the handling of the generation counters. * prevent possible in-kernel buffer overflow in drbd_proc.c * Fixed debian's postinst script to create /dev/drbd? instead of /dev/nb? * drbd status: be nice to heartbeat, include "OK" in output. * added FullSync meta data flag to read/write gc.pl * make the RHEL3 happy (page_count no longer in mm.h, but in mm_inline.h) * [Patch by Pavel Semerad]. Also use the drbd_devfs_name on Linux-2.4.x * fix missing dependencies on drbd_config.h -- Philipp Reisner Fri, 27 Aug 2004 15:02:00 +0200 drbd (0.7.2-1) unstable; urgency=low * Proper handling of backing storage devices that occasionally fail READA (=read ahead) requests. (E.g. LVM and MD) * DRBD now fails READA requests itself, if a resynchronisation is running and it would need to fetch the block from its peer. * "drbdadm adjust" had a race, which caused random errors. ( Missing waitpid() ). Fixed now. * Proper subtract SyncPause times from the syncer performance numbers. * Fix to the syncer progress bar in /proc/drbd. * Fix to debian build rules. -- Philipp Reisner Fri, 6 Aug 2004 14:44:31 +0200 drbd (0.7.1-1) unstable; urgency=low * Upgrade instructions for 0.6.x -> 0.7.0 and 0.7.0 -> 0.7.1 * Workaround for XFS' IO requests with page count of zero. * Handle the human and the timeout count correctly in the new init script. * The implementation of the incon-degr-cmd was missing, added. * Fix for integer overflow in /proc/drbd syncer progress display * Longer timeouts in drbdadm for drbdsetup commands witch operate on meta data. * New major number 147 (officially registered at lanana.org). * Added a missing w_resume_next_wg() in case we stop syncing because of connection loss. * Fixed a Linux-2.2-ismus in recieve_data_tail(). Should considerably speed up protocols A and B. * Some work on vendor kernel compatibility -- Philipp Reisner Fri, 30 Jul 2004 13:50:33 +0200 drbd (0.7.0-1) unstable; urgency=low * s/WriteHint/UnplugRemote/g * new module parameter major_nr to allow "arbitrary" major numbers * adjusted CTH to cope with that * fix copy'n'paste and conversion errors in initial bitmap handshake * warning "please upgrade me" if peer speaks (PRO_VERSION+1) * drbd_set_in_sync and drbd_set_out_of_sync are now macros calling to __*, giving file and line information, to be able to easily track causes of "strange state"s there. * rs_total is now != 0 only if we actually ARE syncing. it is reset * when sync is done * when connection is lost * when storage is lost on either node this way we can optimize and call drbd_set_in_sync only if rs_total != 0 (and it feels somewhat more clean, too) * makefile adjusted to recognize svn revision and date tags * updates and fixes to the test helpers and bash test cases -- Philipp Reisner Fri, 16 Jul 2004 10:13:33 +0200 drbd (0.7_pre10-1) unstable; urgency=low * A fix to a generic bug in the bitmap code introduced with the -pre9 release (with the 64 bit work) * A fix to a bug in the bitmap code only relevant for 64 bit platforms. * Better 2.4.x compatibility and compatibility to 2.4.x vendor kernels. * Improvements in the way to deal with incompatible protocol releases. * Added the "dialog-refresh" config option. changes up to -pre9: * Re-enabled zero copy IO for protocols B and C. (Zero copy IO is not used with protocol A) * Implemented the unpopular user dialog in the boot process. * Some fixes for Linux-2.4.x compatibility. * drbd.conf man page updated * Bugfixes for 64bit architectures * Ensured protocol compatibility between hosts of different word sizes (Tested with i386 and alpha) * Support for meta-data on block devices with hardsect size != 512 Byte (e.g. dasd on s390x) * New debian subdir -- Lars Ellenberg Fri, 09 Jul 2004 20:00:19 +0200 drbd (0.7_pre8-2) unstable; urgency=low * fix up the modules source package -- Bernd Schubert Mon, 05 Jul 2004 00:57:38 -0100 drbd (0.7_pre8-1) unstable; urgency=low * initial 0.7 debian package -- Bernd Schubert Mon, 21 Jun 2004 19:57:38 -0400 drbd (0.6.12-5) unstable; urgency=low * Changed default drbd.conf file to set a negative inittimeout value and updated the README.Debian file to reflect this change. (Closes Bug#221751) -- David Krovich Tue, 25 May 2004 12:51:15 -0400 drbd (0.6.12-4) unstable; urgency=low * Refactored rules file in an attempt to use binary-arch and binary-indep targets more wisely. This is an attempt to fix Bug#244392. * Listed /etc/ha.d/resource.d/drbd in debian/conffiles. (Closes Bug#247606) * Moved drbdsetup from /usr/bin/ to /usr/sbin. I think I introduced this when I overhauled the debian directory in the 0.6.12-1 release. (Closes Bug#247607) -- David Krovich Sun, 16 May 2004 15:20:59 -0400 drbd (0.6.12-3) unstable; urgency=low * After discussing with upstream, tweak /etc/init.d/drbd script so the stop target works if the module is not loaded. (Closes: Bug#243417) * Put the drbd script in the /etc/ha.d/resource.d directory. (Closes: Bug#245219) -- David Krovich Thu, 22 Apr 2004 18:12:47 -0400 drbd (0.6.12-2) unstable; urgency=low * Create /dev/nb[0-7] devices in postinst script. (Closes: Bug#221545) -- David Krovich Sat, 17 Apr 2004 15:18:29 -0400 drbd (0.6.12-1) unstable; urgency=low * new upstream release. (Closes: Bug#239804) * Completely overhauled the debian/ directory. * Changed sequence number in the runlevel to start at 70 and stop at 08. drbd should start after things like ssh, but before heartbeat. -- David Krovich Mon, 22 Mar 2004 00:04:35 -0500 drbd (0.6.10-3) unstable; urgency=low * Added back the drbd.postinst, drbd.postrm, and drbd.prerm scripts until I figure out why they aren't being handled by dh_installinit. * As of drbd-0.6.9, The drbd module no longer builds against just the kernel-headers package and now needs a full kernel-source tree. -- David Krovich Mon, 26 Jan 2004 00:32:49 -0500 drbd (0.6.10-2) unstable; urgency=low * noel: fixed lintian warning: W: drbd: package-contains-CVS-dir usr/share/doc/drbd/HOWTO/CVS/ W: drbd: script-in-etc-init.d-not-registered-via-update-rc.d /etc/init.d/drbd * Lintian/Linda fixes. * Tweaked the drbd-0.6.10.orig.tar.gz to not have a debian/ directory in it. * Stopped tweaking the copyright notice on drbd_fs.c and drbd_receiver.c. I'm not sure how that got there in the first place. * Removed mystery report_to_html.pl.debdiff file. * Put the datadisk in the correct location. (Closes: Bug#221544) * Removed drbd.postinst, drbd.postrm, and drbd.prerm as they are being generated by dh_installinit during the build process and do not need to part of the source package. * removed dependancy on automake and autoconf * Changed control.modules to require debhelper >= 4. * Stop settting $KSRC in the rules file. * Removed conffiles, files, kernel-patch-wup.substvars as they are unneccessary. * Tightened the build dependancy on debhelper. >=4 * Updated Debian packages up to newest upstream version. (Closes: Bug#197906) * Updated Package descriptions. (Closes: Bug#209462) * Verified support for devfs. (Closes: Bug#203552) * I'd like to become a Debian Developer and take over maintenance for this package. I'm working with Debian Devolpers on making this happen. -- David Krovich Tue, 20 Jan 2004 01:36:58 -0500 drbd (0.6.10-1) unstable; urgency=low * With 0.6.9 there was a bug introduced which prevented the sending of ACK packets during resync. Fixed. * A fix to drbdsetup's wait_connect command. * Replaced all invocations of the sleep_on() family functions with the invocations of the wait_event() macros. This removes lost wakup events and race conditions. * New implementation of drbd_wait_ee(). This makes the "(BUG?) Moving bh=%p to done_ee" go away. * Handle the case if vmalloc() of the bitmap fails. -- Philipp Reisner Thu, 12 Dec 2003 15:10:44 +0200 drbd (0.6.9-1) unstable; urgency=low * New module build system (using kernel source tree build system) * New net section option 'ko-count'. It allows you to kick out a secondary node which does no longer process data in acceptable time. Its default value is 0 which disables this feature. * Changing syncgroups while resync runs has shows now the correct behaviour. * In case thread creations fails DRBD would deadlock on its own semaphore. Fixed now. * BKL is no longer used on Linux-2.4.x. * Now you can stack mapping block devices like LVM2 (and maybe md) on top of drbd (a one character fix). * drbdsetup wait_connect on a StandAlone node looked like a timeout and forced primary. fixed. * if drbdsetup wait_* in fact did timeout this looked like a failed ioctl. this bug was newly introduced in 0.6.8. fixed. * A fix to a race in _drbd_alloc_ee(). You could trigger this race if your filesystem uses a blocksize < 4K and your machine has multiple CPUs. By Eric W. Biederman. * A maybe bugfix regarding calls to free_page() by Eric W. Biederman. * A cleanup patch to drbd_process_done_ee() by Eric W. Biederman. -- Philipp Reisner Thu, 27 Nov 2003 08:21:34 +0200 drbd (0.6.8-1) unstable; urgency=low * Two fixes to the sync-group functionality. -- Philipp Reisner Mon, 20 Oct 2003 11:45:33 +0200 drbd (0.6.7-1) unstable; urgency=low * A fix to a bug that could cause data corruption if you use a other blocksize than 4k to access the DRBD device. * A fix to a SMP race in the syncer code. The problem was tirggered when using DRBD on QLogic fiber channel adapters. * Replaced various calls to sleep_on() variants with the wait_event() macros. -- This removes potential (, non-critical) SMP races. * This release includes the sync-group option. -- Philipp Reisner Thu, 13 Oct 2003 11:17:27 +0200 drbd (0.6.6-1) unstable; urgency=low * In the 0.6.5 release the secondary_remote command was badly broken, it succeeded when it should fail silently. This is fixed now. * Probabely in all previous releases, the resyncer thread did not exit properly if the secondary node goes away during resync. This was not fatal sind the resyncher thread did exit at soon as it gets a network error. This is fixed now. * Some new switches to the drbd script. -- Philipp Reisner Mon, 28 Jul 2003 14:40:43 +0200 drbd (0.6.5-1) unstable; urgency=low * Improvements to the build system * Now it is possible to tune the socket send buffer size via drbdsetup/ drbd.conf. This is especially usefull for WAN mirroring / using protocol A. * Compatibility code to compile DRBD under RedHat 9.0 (RH's version of Linux-2.4.20) * Improved sample drbd.conf file -- Philipp Reisner Sun, 06 Jul 2003 13:35:00 +0100 drbd (0.6.4-1) unstable; urgency=low * Reworked build system (i.e. better Makefiles) * SyncAll works forward instead of backwards. Improves performance on some storage controlers. * Reworked /etc/init.d/drbd script (i.e. better support of different bash releases) -- Philipp Reisner Thu, 01 May 2003 21:00:00 +0100 drbd (0.6.3-1) unstable; urgency=low * Lockup of primary if secondary fails during resync. Fixed. (Stupid!) * Probabely SMP only deadlock in the drop-conection code path. * Improved connect code. (The old code could trap into a distributed deadlock, resulting in an endless connect/disconnect loop.) * The 'BitMap too small bug' was actually caused by a patch in SuSE's distribution kernel. This patch makes DRBD 'more' compatible with SuSE's kernel. * Improved code to allocate buffers for the rsynchronisation process. The old code allocated physical adjacent pages although the syncer does not need them! The old code could fail under high memory pressure. -- Philipp Reisner Thu, 20 Mar 2003 20:23:40 +0100 drbd (0.6.2-1) unstable; urgency=low * SMP fix in drbd_dio_end_sec() * /etc/init.d/drbd knows about returncodes of fsck * SUSE style rcdrbd * Fixes for uninstall Target of the Makefiles. -- Philipp Reisner Tue, 11 Feb 2003 15:58:49 +0100 drbd (0.6.1-1) unstable; urgency=low * Stable release -- Philipp Reisner Mon, 25 Nov 2002 14:51:39 +0100 drbd (0.6-1.pre16-0cvs20020909.1) unstable; urgency=low * changed the maintainer to jan@debian.org in agreement with Ard who currently doesn't work on drbd. * changed name of generated drbd-module-... package to include the full version number of the kernel package * place generated drbd-module-... package in $(KSRC)/.. -- Jan Niehusmann Fri, 13 Sep 2002 15:57:01 +0200 drbd (0.6-1.pre16-0cvs20020909) unstable; urgency=low * updated version * strange version number because debian versioning doesn't handle -pre versions sanely * uploading to unstable. (Closes: Bug#130031) -- Jan Niehusmann Wed, 11 Sep 2002 13:10:03 +0200 drbd (cvs20010511-1) unstable; urgency=low * First deb-anized version -- Ard van Breemen Fri, 11 May 2001 11:59:53 +0200 debian/drbd-overview.80000664000000000000000000000337412240151574012050 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH drbd-overview 1 "November 7, 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME drbd-overview \- Overview of all configured DRBD resources .SH SYNOPSIS .B drbd-overview .SH DESCRIPTION .PP drbd-overview offers an overview of the state of all configured DRBD resources. It provides information about the connection status of each DRBD resource. It will also use auxiliary information provided by \fBdf\fR(1), \fBlvm\fR(8), \fBxm\fR(1) and \fBvirsh\fR(1) for DRBD resources used as mounted filesystems, LVM physical volumes, Xen domain backing disks and libvirt instance disks respectively. .SH AUTHOR .PP drbd-overview was written by Philipp Reisner and Lars Ellenberg . This manual page was written by Apollon Oikonomopoulos for the Debian project (but may be used by others). .SH COPYRIGHT .PP Copyright 2001-2013 LINBIT Information Technologies, Philipp Reisner, Lars Ellenberg. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. .SH SEE ALSO \fBdrbdadm\fP(8), \fBdrbdsetup\fP(8) debian/gbp.conf0000664000000000000000000000005712240151574010612 0ustar [DEFAULT] sign-tags = True pristine-tar = True debian/patches/0000775000000000000000000000000012277300362010621 5ustar debian/patches/0002-dpkg-statoverride-instead-of-chgrp-chmod.patch0000664000000000000000000000110712240151574022075 0ustar From: Philipp Hug Date: Tue, 20 Mar 2012 14:57:25 +0100 Subject: dpkg-statoverride instead of chgrp/chmod --- user/drbdadm_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/user/drbdadm_main.c +++ b/user/drbdadm_main.c @@ -3176,9 +3176,7 @@ " You need to fix this with these commands:\n"); did_header = 1; fprintf(stderr, - " chgrp haclient %s\n" - " chmod o-x %s\n" - " chmod u+s %s\n\n", cmd_name, cmd_name, cmd_name); + " dpkg-statoverride --add --update root haclient 4750 %s\n\n", cmd_name); } return 1; } debian/patches/series0000664000000000000000000000042012277301072012031 0ustar 0002-dpkg-statoverride-instead-of-chgrp-chmod.patch udev-rules-name disable-version-warning disable-buildtags disable-automatic-user-survey.patch 0001-drbdsetup-use-lib-drbd-drbdsetup-83.patch 0002-drbdsetup-delay-exiting-due-to-unknown-commands.patch ppc64el-ftbfs.patch debian/patches/disable-buildtags0000664000000000000000000000125412240151574014124 0ustar Description: Disable regeneration of buildtags file Author: Bastian Blank Bug-Debian: http://bugs.debian.org/679460 --- --- a/drbd/Makefile +++ b/drbd/Makefile @@ -93,8 +93,6 @@ false;\ fi -.PHONY: drbd_buildtag.c - drbd_buildtag.c: @set -e; exec > $@.new; \ echo -e "/* automatically generated. DO NOT EDIT. */"; \ @@ -119,7 +117,7 @@ echo -e "\t\t\" build by $$USER@$$HOSTNAME, `date "+%F %T"`\";\n}"; \ mv --force $@.new $@ - kbuild: drbd_buildtag.c + kbuild: @rm -f .drbd_kernelrelease* # previous to 2.6.6 (suse: 2.6.5-dunno), this should be: $(MAKE) -C $(KDIR) $(if $(O),O=$(O),) SUBDIRS=$(DRBDSRC) $(ARCH_UM) modules debian/patches/disable-automatic-user-survey.patch0000664000000000000000000000054412240665604017546 0ustar Description: do not participate in the DRBD usage count survey by default Author: Apollon Oikonomopoulos Bug-Debian: http://bugs.debian.org/711352 --- a/scripts/global_common.conf +++ b/scripts/global_common.conf @@ -1,5 +1,5 @@ global { - usage-count yes; + usage-count no; # minor-count dialog-refresh disable-ip-verification } debian/patches/0001-drbdsetup-use-lib-drbd-drbdsetup-83.patch0000664000000000000000000000357112240151574020712 0ustar From 6c8a55b25f9c61b0481930f25f3943218b4e2e0b Mon Sep 17 00:00:00 2001 From: Apollon Oikonomopoulos Date: Fri, 8 Nov 2013 22:59:39 +0200 Subject: [PATCH 1/2] drbdsetup: use /lib/drbd/drbdsetup-83 The whole auto-detection logic is flawed. drbdsetup-83 is shipped under /lib/drbd, however drbdsetup would simply search in the path or the same directory if it was called with an absolute path. drbdadm already uses different semantics (just adds /lib/drbd to the path). Since we are shipping this as part of a package with well-known locations, we replace this whole logic with a simple execv(). --- user/drbdsetup.c | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/user/drbdsetup.c b/user/drbdsetup.c index cb97dbf..70b68ee 100644 --- a/user/drbdsetup.c +++ b/user/drbdsetup.c @@ -2416,30 +2416,7 @@ static int modprobe_drbd(void) void exec_legacy_drbdsetup(char **argv) { #ifdef DRBD_LEGACY_83 - static const char * const legacy_drbdsetup = "drbdsetup-83"; - char *progname, *drbdsetup; - - /* in case drbdsetup is called with an absolute or relative pathname - * look for the legacy drbdsetup binary in the same location, - * otherwise, just let execvp sort it out... */ - if ((progname = strrchr(argv[0], '/')) == 0) { - drbdsetup = strdup(legacy_drbdsetup); - } else { - size_t len_dir, l; - - ++progname; - len_dir = progname - argv[0]; - - l = len_dir + strlen(legacy_drbdsetup) + 1; - drbdsetup = malloc(l); - if (!drbdsetup) { - fprintf(stderr, "Malloc() failed\n"); - exit(20); - } - strncpy(drbdsetup, argv[0], len_dir); - strcpy(drbdsetup + len_dir, legacy_drbdsetup); - } - execvp(drbdsetup, argv); + execv("/lib/drbd/drbdsetup-83", argv); #else fprintf(stderr, "This drbdsetup was not built with support for legacy drbd-8.3\n" "Eventually rebuild with ./configure --with-legacy-connector\n"); -- 1.7.10.4 debian/patches/udev-rules-name0000664000000000000000000000100712240151574013552 0ustar Description: Fix name of udev rules file. (closes: #679266) Author: Bastian Blank Bug-Debian: http://bugs.debian.org/679266 --- --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -126,7 +126,7 @@ install-udev: ifeq ($(WITH_UDEV),yes) mkdir -p $(DESTDIR)$(sysconfdir)/udev/rules.d - install -m 644 drbd.rules $(DESTDIR)$(sysconfdir)/udev/rules.d/65-drbd.rules$(UDEV_RULE_SUFFIX) + install -m 644 drbd.rules $(DESTDIR)$(sysconfdir)/udev/rules.d/65-drbd.rules endif install-bashcompletion: debian/patches/disable-version-warning0000664000000000000000000000121412240151574015272 0ustar Description: Disable module version warning for sublevel missmatch Author: Bastian Blank Bug-Debian: http://bugs.debian.org/659353 --- --- drbd8-8.3.13.orig/user/drbdadm_usage_cnt.c +++ drbd8-8.3.13/user/drbdadm_usage_cnt.c @@ -264,7 +264,7 @@ void warn_on_version_mismatch(void) else if (cmp & 0xff00) /* userland is newer minor version */ msg = "please don't mix different DRBD series."; else /* userland is newer, but only differ in sublevel. */ - msg = "preferably kernel and userland versions should match."; + return; fprintf(stderr, "DRBD module version: %u.%u.%u\n" " userland version: %u.%u.%u\n%s\n", debian/patches/ppc64el-ftbfs.patch0000664000000000000000000000153012277301031014212 0ustar Author: Steve Langasek Description: Fix build failure on ppc64el Different glibc headers on powerpc require some additional explicit includes, that aren't included elsewhere. Index: drbd8-8.4.4/user/config_flags.c =================================================================== --- drbd8-8.4.4.orig/user/config_flags.c +++ drbd8-8.4.4/user/config_flags.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #include Index: drbd8-8.4.4/user/drbd_nla.c =================================================================== --- drbd8-8.4.4.orig/user/drbd_nla.c +++ drbd8-8.4.4/user/drbd_nla.c @@ -1,4 +1,5 @@ #include +#include #include "libgenl.h" #include #include "drbd_nla.h" debian/patches/0002-drbdsetup-delay-exiting-due-to-unknown-commands.patch0000664000000000000000000000253312240151574023447 0ustar From 094dd8cfacb5c45089bee662e8db3e1eb3bd07ee Mon Sep 17 00:00:00 2001 From: Apollon Oikonomopoulos Date: Fri, 8 Nov 2013 23:15:26 +0200 Subject: [PATCH 2/2] drbdsetup: delay exiting due to unknown commands If a command is not found, it doesn't necessarily mean it's invalid. It may as well be an 8.3 command, so we have to wait and see if we need to call drbdsetup-83 instead. --- user/drbdsetup.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/user/drbdsetup.c b/user/drbdsetup.c index 79411db..717d4e3 100644 --- a/user/drbdsetup.c +++ b/user/drbdsetup.c @@ -2480,8 +2480,6 @@ int main(int argc, char **argv) print_usage_and_exit(0); cmd = find_cmd_by_name(argv[1]); - if (!cmd) - print_usage_and_exit("invalid command"); if (!modprobe_drbd()) { if (!strcmp(argv[1], "down") || @@ -2493,7 +2491,7 @@ int main(int argc, char **argv) } if (try_genl) { - if (cmd->continuous_poll) + if (cmd && cmd->continuous_poll) drbd_genl_family.nl_groups = -1; drbd_sock = genl_connect_to_family(&drbd_genl_family); if (!drbd_sock) { @@ -2515,6 +2513,9 @@ int main(int argc, char **argv) } } + if (!cmd) + print_usage_and_exit("invalid command"); + context = 0; if (cmd->ctx_key & (CTX_MINOR | CTX_RESOURCE | CTX_ALL | CTX_RESOURCE_AND_CONNECTION)) { if (argc < 3) { -- 1.7.10.4 debian/watch0000664000000000000000000000007312240151574010222 0ustar version=3 http://oss.linbit.com/drbd/ 8.3/drbd-(.*).tar.gz debian/drbd8-utils.install0000664000000000000000000000005012240665604012721 0ustar debian/drbd.service /lib/systemd/system debian/copyright0000664000000000000000000000421512240151574011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: drbd Source: http://oss.linbit.com/drbd Files: * Copyright: Copyright (C) 2001-2008, LINBIT Information Technologies GmbH Copyright (C) 1999-2008, Philipp Reisner Copyright (C) 2001-2008, Lars Ellenberg License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Files: debian/* Copyright: Copyright 2001 Ard van Breemen Copyright 2002 Jan Niehusmann Copyright 2004 David Krovich Copyright 2004 Bernd Schubert Copyright 2004 Lars Ellenberg Copyright 2004 Philipp Reisner Copyright 2004-2006 Cyril Bouthors Copyright 2007 Frederik Schüler Copyright 2009 Iustin Pop Copyright 2010 Alexander Reichle-Schmehl Copyright 2008-2010 Norbert Tretkowski Copyright 2004-2012 Philipp Hug License: Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/drbd8-utils.manpages0000664000000000000000000000002712240151574013046 0ustar debian/drbd-overview.8 debian/drbd8-utils.dirs0000664000000000000000000000012012240665604012212 0ustar etc etc/init.d etc/ha.d/resource.d lib/udev/rules.d usr/sbin lib/systemd/system debian/compat0000664000000000000000000000000212240151574010367 0ustar 9 debian/drbd.service0000664000000000000000000000122412240665604011471 0ustar [Unit] Description=Distributed Replicated Block Device After=systemd-modules-load.service network.target [Service] Type=oneshot RemainAfterExit=yes # Check the configuration file for syntax errors ExecStartPre=/sbin/drbdadm sh-nop # Create the resources (and log what is being done) ExecStart=/sbin/drbdadm adjust-with-progress all # Wait for connection ExecStart=/sbin/drbdadm wait-connect all # Switch resources to primary if applicable ExecStart=/sbin/drbdadm sh-b-pri all # Deactivate all resources on stop ExecStop=/sbin/drbdadm down all # Re-adjust everything on reload ExecReload=/sbin/drbdadm adjust all [Install] WantedBy=multi-user.target debian/NEWS0000664000000000000000000000103312240171270007660 0ustar drbd8 (2:8.4.4-1) unstable; urgency=low DRBD 8.4 includes a number of important changes from the 8.3 series, both in operation and in configuration files. An overview of these changes is provided upstream at: http://www.drbd.org/users-guide-8.4/ap-recent-changes.html Also, activating your DRBD 8.4 resources on older (pre-3.8) kernels will not work automatically, see /usr/share/doc/drbd8-utils/README.Debian for more information. -- Apollon Oikonomopoulos Mon, 11 Nov 2013 16:07:50 +0200 debian/README.Debian0000664000000000000000000000324412240665604011241 0ustar Upgrading to DRBD 8.4 ===================== Linux kernel versions after 3.8 include DRBD 8.4, a new minor release with significant changes both in configuration and operation. An overview of the most important changes can be found at: http://www.drbd.org/users-guide-8.4/ap-recent-changes.html Configuration file changes -------------------------- A number of changes in the configuration file format are present in 8.4. They are outlined at: http://www.drbd.org/users-guide-8.4/s-recent-changes-config.html If you are upgrading from 8.3, please upgrade your configuration files to the new format. Unfortunately, due to the way backwards compatility is provided upstream, these options will not be understood by drbdadm if you boot a kernel with DRBD 8.3 (kernel versions before 3.8), so you will have to revert your changes if you want to use older kernels. Downgrading to DRBD 8.3 ------------------------ A device that has been attached or created using DRBD 8.4 will not work automatically under DRBD 8.3, due to changes in device metadata. In order to make your devices work with DRBD 8.3, you will have to do the following *before* booting the old kernel, to ensure that the metadata is clean: drbdadm down all drbdadm apply-al all More information can be found at: http://www.drbd.org/users-guide-8.4/s-downgrading-drbd84.html Participation in the usage count -------------------------------- The Debian package by default disables the participation in the DRBD usage count survey[0]. If you wish your system to be counted, change the 'usage-count' setting to 'yes' or 'ask' in /etc/drbd.d/common_global.conf. [0] http://www.drbd.org/usage/introduction0/ debian/rules0000775000000000000000000000213712241432100010240 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 %: dh $@ --with systemd override_dh_auto_clean: dh_auto_clean rm -f debian/drbd8-utils.drbd.init override_dh_auto_configure: ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --sbindir=/sbin --with-utils --with-udev --with-xen \ --with-pacemaker --with-rgmanager --with-bashcompletion override_dh_install: dh_install --fail-missing # Move udev rule to /lib/udev/rules.d (Fixes lintian warning) mv $(CURDIR)/debian/drbd8-utils/etc/udev/rules.d/* $(CURDIR)/debian/drbd8-utils/lib/udev/rules.d/ rm -r $(CURDIR)/debian/drbd8-utils/etc/udev # Move drbd-overview to /usr/sbin mv $(CURDIR)/debian/drbd8-utils/sbin/drbd-overview $(CURDIR)/debian/drbd8-utils/usr/sbin/ # Place the initscript where dh_installinit can find it mv $(CURDIR)/debian/drbd8-utils/etc/init.d/drbd $(CURDIR)/debian/drbd8-utils.drbd.init override_dh_installinit: dh_installinit --name=drbd --no-start .PHONY: override_dh_auto_configure override_dh_install \ override_dh_auto_clean override_dh_installinit debian/source/0000775000000000000000000000000012240151574010471 5ustar debian/source/format0000664000000000000000000000001412240151574011677 0ustar 3.0 (quilt) debian/drbd8-utils.examples0000664000000000000000000000003212240151574013065 0ustar scripts/drbd.conf.example debian/control0000664000000000000000000000251312277301277010604 0ustar Source: drbd8 Section: admin Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian DRBD Maintainers Uploaders: Norbert Tretkowski , Martin Loschwitz , Philipp Hug , Apollon Oikonomopoulos Build-Depends: debhelper (>= 9), flex, xsltproc, git, dh-systemd (>= 1.5) Standards-Version: 3.9.5 Homepage: http://www.drbd.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-ha/drbd.git Vcs-Git: git://anonscm.debian.org/debian-ha/drbd/ Package: drbd8-utils Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} Conflicts: drbd-utils Provides: drbd-utils Replaces: drbd-utils, drbd Suggests: heartbeat Recommends: heirloom-mailx|mailx Description: RAID 1 over TCP/IP for Linux (user utilities) Drbd is a block device which is designed to build high availability clusters by providing a virtual shared device which keeps disks in nodes synchronised using TCP/IP. This simulates RAID 1 but avoiding the use of uncommon hardware (shared SCSI buses or Fibre Channel). It is currently limited to fail-over HA clusters. . This package contains the programs that will control the drbd kernel module provided in the Linux kernel.