Am 30.05.2017 um 15:24 schrieb Gluster Build System:
>
> SRC: http://bits.gluster.org/pub/gluster/glusterfs/src/glusterfs-3.11.0.tar.gz
>
> This release is made off jenkins-release-197
>
> -- Gluster Build System
> ___
> packaging mailing list
> packaging@gluster.org
> http://lists.gluster.org/mailman/listinfo/packaging
Thanks for this release. I have uploaded it to the Debian repository,
which now also adds the "gluster" group. But I have got some questions /
patches:
1) gluster group: shouldn't the init script chgrp the statedump dir on
starting glusterfs? /run (or /var/run) are on most systems on tmpfs
2) Patch 02-init-remote-fs.diff: please merge it
3) Patch 04-spelling-errors.diff: please merge it, same procedure as
every release.. ;)
4) Patch 03-shell-script-syntax.diff: it fixes syntax errors with dash
and bash. To be checked by you is my change of $b(/.*)? to just $b -
cant recognize what do you try there. It fails in dash and bash
Thank you
--
/*
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi
GNU/Linux Debian Developer
Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/
# Add missing dependency on $remote_fs
diff -Naur glusterfs-3.10.1.orig/extras/init.d/glusterd-Debian.in
glusterfs-3.10.1/extras/init.d/glusterd-Debian.in
--- glusterfs-3.10.1.orig/extras/init.d/glusterd-Debian.in 2017-03-30
20:35:57.198620558 +0200
+++ glusterfs-3.10.1/extras/init.d/glusterd-Debian.in 2017-03-31
14:21:47.718509753 +0200
@@ -1,8 +1,8 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: glusterd
-# Required-Start:$local_fs $network
-# Required-Stop: $local_fs $network
+# Required-Start:$local_fs $remote_fs $network
+# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Gluster File System service for volume management
diff -Naur glusterfs-3.10.1.orig/extras/init.d/glustereventsd-Debian.in
glusterfs-3.10.1/extras/init.d/glustereventsd-Debian.in
--- glusterfs-3.10.1.orig/extras/init.d/glustereventsd-Debian.in
2017-03-30 20:35:57.198620558 +0200
+++ glusterfs-3.10.1/extras/init.d/glustereventsd-Debian.in 2017-03-31
14:22:13.682370100 +0200
@@ -1,8 +1,8 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: glustereventsd
-# Required-Start:$local_fs $network
-# Required-Stop: $local_fs $network
+# Required-Start:$local_fs $remote_fs $network
+# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Gluster Events Server
# Fix syntax errors in shell script.
# TODO: $b(/.*)? fails in dash and bash. Maybe this has to get fixed on
# another way.
diff -Naur
glusterfs-3.11.0.orig/extras/hook-scripts/create/post/S10selinux-label-brick.sh
glusterfs-3.11.0/extras/hook-scripts/create/post/S10selinux-label-brick.sh
---
glusterfs-3.11.0.orig/extras/hook-scripts/create/post/S10selinux-label-brick.sh
2017-05-30 15:23:46.476785612 +0200
+++ glusterfs-3.11.0/extras/hook-scripts/create/post/S10selinux-label-brick.sh
2017-06-01 10:23:06.782426237 +0200
@@ -13,7 +13,7 @@
OPTSPEC="volname:"
VOL=
-function parse_args () {
+parse_args () {
ARGS=$(getopt -l $OPTSPEC -name $PROGNAME $@)
eval set -- "$ARGS"
@@ -32,7 +32,7 @@
done
}
-function set_brick_labels()
+set_brick_labels()
{
volname=$1
@@ -43,7 +43,7 @@
do
# Add a file context for each brick path and associate with the
# glusterd_brick_t SELinux type.
-semanage fcontext --add -t glusterd_brick_t -r s0 $b(/.*)?
+semanage fcontext --add -t glusterd_brick_t -r s0 $b
# Set the labels on the new brick path.
restorecon -R $b
# Fix new spelling errors.
diff -Naur glusterfs-3.11.0.orig/tests/basic/gfapi/gfapi-ssl-test.t
glusterfs-3.11.0/tests/basic/gfapi/gfapi-ssl-test.t
--- glusterfs-3.11.0.orig/tests/basic/gfapi/gfapi-ssl-test.t2017-05-30
15:23:46.530785720 +0200
+++ glusterfs-3.11.0/tests/basic/gfapi/gfapi-ssl-test.t 2017-06-01
10:32:41.087581891 +0200
@@ -55,7 +55,7 @@
cleanup;
-# NetBSD build scripts are not upto date therefore this test
+# NetBSD build scripts are not up to date therefore this test
# is failing in NetBSD. Therefore skipping the test in NetBSD
# as of now.
#G_TESTDEF_TEST_STATUS_NETBSD7=KNOWN_ISSUE,BUG=00
diff -Naur glusterfs-3.11.0.orig/tests/bugs/distribute/bug-915554.t
glusterfs-3.11.0/tests/bugs/distribute/bug-915554.t
--- glusterfs-3.11.0.orig/tests/bugs/distribute/bug-915554.t2017-05-30
15:23:46.539785738 +0200
+++ glusterfs-3.11.0/tests/bugs/distribute/bug-915554.t 2017-06-01
10:32:18.359694757 +0200
@@ -59,7 +59,7 @@
TEST $CLI volume rebalance $V0 start force
-# check if rebalance has completed for upto 15 secs
+# check if rebalance has completed for up to