[Drbd-dev] Re: [DRBD-announce] drbd-8.0pre5.tar.gz

Cyril Bouthors cyb at debian.org
Mon Oct 2 12:44:13 CEST 2006


On  2 Oct 2006, philipp.reisner at linbit.com wrote:

> The good news are: pre5 is much more stable and usable than any other 8.0 
> prerelease before.
>
> 8.0pre5 (api:84/proto:83)
> --------
> * The request code was completely rewritten.
> * The write conflict detection code for primary-primary is currently
> broken, but will be fixed soon.
> * drbdsetup is no longer based on IOCTL but works now via 
> netlink/connector.
> * drbd_panic() is on its way out.
> * A runtime configurable tracing framework got added.
> * A lot of effort was put into finding and fixing bugs.
>
> http://oss.linbit.com/drbd/8.0/drbd-8.0pre5.tar.gz
> http://svn.drbd.org/drbd/tags/drbd-8.0pre5/
>
> Happy testing, happy early-adoping ;)
>
> -Philipp

This version provoques the following warnings with the latest lintian
(the Debian package checker):

Now running lintian...
W: drbd8-utils: init.d-script-missing-lsb-keyword /etc/init.d/drbd short-description
W: drbd8-utils: init.d-script-missing-lsb-keyword /etc/init.d/drbd required-stop
Finished running lintian.

I've fixed this with this patch:

--- drbd8-8.0pre5.orig/scripts/drbd
+++ drbd8-8.0pre5/scripts/drbd
@@ -10,10 +10,10 @@
 ### BEGIN INIT INFO
 # Provides: drbd
 # Required-Start: $network $syslog sshd
-# Required-Stop:
+# Required-Stop: $network $syslog sshd
 # Default-Start:  3 5
 # Default-Stop:   0 1 2 6
-# Description:    Control drbd resources.
+# Short-Description:    Control drbd resources.
 ### END INIT INFO
 
 DEFAULTFILE="/etc/default/drbd"


Please apply this patch is the next release.

For more information, have a look at
http://wiki.debian.org/LSBInitScripts/


By the way, the Debian package [1] still ships this second patch to
the initscript because some users needed it:

--- drbd-0.7.10.orig/scripts/drbd	2005-01-13 17:30:28.000000000 +0300
+++ drbd-0.7.10/scripts/drbd	2005-04-17 18:18:16.166074586 +0300
@@ -19,8 +19,8 @@
 DEFAULTFILE="/etc/default/drbd"
 DRBDADM="/sbin/drbdadm"
 PROC_DRBD="/proc/drbd"
-MODPROBE="modprobe"
-RMMOD="rmmod"
+MODPROBE="/sbin/modprobe"
+RMMOD="/sbin/rmmod"
 UDEV_TIMEOUT=10
 ADD_MOD_PARAM=""

Would it be possible to commit them both into SVN?

Have a look at http://bugs.debian.org/302556 and
http://bugs.debian.org/303060 for more information.

Thanks.

PS: I've uploaded 8.0pre5 to Debian/sid.

[1] the official one, to avoid confusions
-- 
 ,''`.
: :' :      Cyril Bouthors
`. `'         Debian.org
  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.linbit.com/pipermail/drbd-dev/attachments/20061002/67942eb3/attachment.pgp


More information about the drbd-dev mailing list