Your message dated Thu, 31 Aug 2017 10:21:04 +0000
with message-id <[email protected]>
and subject line Bug#873709: fixed in glusterfs 3.12.0-1
has caused the Debian Bug report #873709,
regarding glusterfs-server: brick logrotate not working
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
873709: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873709
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: glusterfs-server
Version: 3.8.8-1
Severity: normal

Dear Maintainer,

I have a pretty standard installation of glusterfs with 2 bricks/volumes 
configured. Logrotate configuration (/etc/logrotate.d/glusterfs-common) was not 
changed.

The logs under /var/log/glusterfs/ are all getting rotated as expected and the 
daemons continues to log to the newly created files. Probably because glusterd 
and glusterfs are getting a HUP'ed in the postrotate section.

The brick-logs under /var/log/glusterfs/bricks are also getting rotated, but 
glusterfsd continues to log in the rotated log mnt-gluster-VOLNAME.log.1.

I've found 2 solutions to this problem:

1. In the debian-package available from gluster.org[1] logrotate is configured 
with "copytruncate", this works.

2. In the glusterfs github-repository[2] the approach is a different definition 
for the brick-logs that includes sending a HUP to glusterfsd. If i do this 
after the "unsuccesful logrotate" the daemon immediately starts to log into the 
new log-file, so this approach works too.

I believe either on of these changes in the configuration would correct the 
behaviour to what i would expect.

Regards

[1] 
https://download.gluster.org/pub/gluster/glusterfs/3.8/3.8.8/Debian/stretch/apt/pool/main/g/glusterfs/
[2] https://github.com/gluster/glusterfs/blob/master/extras/glusterfs-logrotate


-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.10.17-2-pve (SMP w/16 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages glusterfs-server depends on:
ii  glusterfs-client  3.8.8-1
ii  glusterfs-common  3.8.8-1
ii  libacl1           2.2.52-3+b1
ii  libc6             2.24-11+deb9u1
ii  libncurses5       6.0+20161126-1
ii  libreadline7      7.0-3
ii  libssl1.1         1.1.0f-3
ii  libtinfo5         6.0+20161126-1
ii  libuuid1          2.29.2-1
ii  libxml2           2.9.4+dfsg1-2.2+deb9u1
ii  lsb-base          9.20161125
ii  python            2.7.13-2
ii  zlib1g            1:1.2.8.dfsg-5

Versions of packages glusterfs-server recommends:
ii  nfs-common  1:1.3.4-2.1

glusterfs-server suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: glusterfs
Source-Version: 3.12.0-1

We believe that the bug you reported is fixed in the latest version of
glusterfs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Matthäi <[email protected]> (supplier of updated glusterfs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 31 Aug 2017 11:24:41 +0200
Source: glusterfs
Binary: glusterfs-client glusterfs-server glusterfs-common
Architecture: source amd64
Version: 3.12.0-1
Distribution: unstable
Urgency: medium
Maintainer: Patrick Matthäi <[email protected]>
Changed-By: Patrick Matthäi <[email protected]>
Description:
 glusterfs-client - clustered file-system (client package)
 glusterfs-common - GlusterFS common libraries and translator modules
 glusterfs-server - clustered file-system (server package)
Closes: 873709
Changes:
 glusterfs (3.12.0-1) unstable; urgency=medium
 .
   * New upstream release.
     - Drop merged patch 01-spelling-errors.
     - Add new gluster-setgfid2path binary.
     - Add nl-cache directories.
     - Adjust lintian overrides.
     - Add patch 03-spelling-errors.
   * Use copytruncate for logrotation.
     Closes: #873709
   * Bump Standards-Version to 4.1.0 (no changes required).
Checksums-Sha1:
 5068305123c524d80bf73a989cc7623931f18026 2226 glusterfs_3.12.0-1.dsc
 7213f9eb3dd5e887099ad610c2f48fdfec8e5f0f 9372597 glusterfs_3.12.0.orig.tar.gz
 55eaa44e133bd0e42ec338c041fdc5befbf1b605 16116 glusterfs_3.12.0-1.debian.tar.xz
 6b318c30045f7c244d0881ee0023468ef5324a15 32598 
glusterfs-client-dbgsym_3.12.0-1_amd64.deb
 f93287595df229b402a6e369caa2136628afe40e 4305258 
glusterfs-client_3.12.0-1_amd64.deb
 3197be892015477c7ecc309a0c2caf27b5b4fc9d 13370916 
glusterfs-common-dbgsym_3.12.0-1_amd64.deb
 737a3ba02b680d325d1a95ebce1190e276788a4e 7293510 
glusterfs-common_3.12.0-1_amd64.deb
 aa5033d5b4e060baac888a8faf89e03bb7c3fa49 617798 
glusterfs-server-dbgsym_3.12.0-1_amd64.deb
 f1c914296b41c6bc77ae2750f56bdce82f447ccd 4469224 
glusterfs-server_3.12.0-1_amd64.deb
 bd035e71d2f565c5dc1ef7a2153196aee76250b2 9959 
glusterfs_3.12.0-1_amd64.buildinfo
Checksums-Sha256:
 b169deb86d78847109fac7b5f3c485ef727928a7aaed17cfb2749a6a3039ad18 2226 
glusterfs_3.12.0-1.dsc
 874292f6a09f7a2f6d81fe43bf478717d72093ffcd27de7ff1aa398256210459 9372597 
glusterfs_3.12.0.orig.tar.gz
 31fcaeb40cf63e4aab6d01c3451df49916a778aa291a528ea79c14de4dd05297 16116 
glusterfs_3.12.0-1.debian.tar.xz
 1f5016d0964dd6b5a0b4a20273e8c518cc84fc6b4c2a602ddf4b7b7b83897dc9 32598 
glusterfs-client-dbgsym_3.12.0-1_amd64.deb
 111138b13f95936080cc047c8f4eba4a6b501866655a16d40c300eb574c696fc 4305258 
glusterfs-client_3.12.0-1_amd64.deb
 3b392894d3ed0d61313af3f8954aa80547173428c0ed39b52a3678284d279efa 13370916 
glusterfs-common-dbgsym_3.12.0-1_amd64.deb
 182add0532577644168ffddf620612b2415ee31533e34809e486b79ebb5e2228 7293510 
glusterfs-common_3.12.0-1_amd64.deb
 e7d95fe3352acb9aeeb2a6061ff8f2991a25783257dcddd25672ee8f79ec19f1 617798 
glusterfs-server-dbgsym_3.12.0-1_amd64.deb
 535d2a3db56eb60a08c8d1453f0f88b92b51189b0227cb060b7b58337cd20cdb 4469224 
glusterfs-server_3.12.0-1_amd64.deb
 bb238a4f3e5d20c2cdf75f576d8e3ba9f90ab205a66c02cadfed23c454b2cf0c 9959 
glusterfs_3.12.0-1_amd64.buildinfo
Files:
 d43ca28817a0cbe472f7823d9aae510f 2226 admin optional glusterfs_3.12.0-1.dsc
 a84636259106bfebd662a47f67cc49ce 9372597 admin optional 
glusterfs_3.12.0.orig.tar.gz
 ae7d2c507de56453e6a790cac7418d41 16116 admin optional 
glusterfs_3.12.0-1.debian.tar.xz
 68e32ea8d4d53894f78bbfc7bb9bc8f9 32598 debug extra 
glusterfs-client-dbgsym_3.12.0-1_amd64.deb
 c3d4dc304ed19ef45249fce277e8569f 4305258 admin optional 
glusterfs-client_3.12.0-1_amd64.deb
 7da6ad214f356e3a30b8dcf4f17f263c 13370916 debug extra 
glusterfs-common-dbgsym_3.12.0-1_amd64.deb
 31e4ed8bd4b7406f76056468a4146caf 7293510 admin optional 
glusterfs-common_3.12.0-1_amd64.deb
 3f679233fa306db9e54197eb704201f5 617798 debug extra 
glusterfs-server-dbgsym_3.12.0-1_amd64.deb
 3f370c820578bd23cef2f8c9629e497a 4469224 admin optional 
glusterfs-server_3.12.0-1_amd64.deb
 2be3da5011188d5cbbbd3c3cbf5811b8 9959 admin optional 
glusterfs_3.12.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEWKA9xYJCWk3IuQ4TEtmwSpDL2OQFAlmn3KYACgkQEtmwSpDL
2OQvsg//Snf/yDp9I7y+wG6+KcWS1evgQccOWiYoX6zMgyJ/RKiDDPf11YPPXjpY
XEGp7WJ7QqL4V+0u9rfZ13iSBfmJjdsW8jiGnYyJn4ULjAhIYgbj2T6HY9KrxW1C
+RoWlolkgDCYdoMXaxLnKzIbupWgqJ7PzRaaHfkI53EeByQO/dvAV31egKmbNpkc
NyYtMa3jvhZsDs/Jv/jfJRKkScRvCFvG8PHcBkMhlHrZs2CstfEB9MVN4onzFYJJ
JsN5Qm9iVZiY0kYKdu1e/FjWEfj/Btz6SxX1K/XbgPQ3/GwLG1NmENl20W/K4EIF
EIO6c1Gu15a1qbA00btBvB/029DiK1hUM6xfkq2LXJvp3eHAvu2LnpRSFENVrtJm
8xn+hR88GFx3rJvoK0w4v9EsJZMobmpe7SytxlGpN5m4GpXp4axULIsnXm5zVons
bxD2PDs1A0mvNbaIZ7Hv9wWAb/6SQJatCVCtpvtbkqQSzEYDq4QfMDNXBgL6+ffX
cojn9PaeHAhurz7ZyU2+62C5mtCHLAXOZDMPeb6HFWRTv2OEgNAMRtFUBzGTVPzQ
GAyaNCg7rGhl7167lO3ld9s4D5m+Nq9J+/zPSqvQMVP4ISw05L5TZuS+iqdFFkwW
1Pr7dxj9lRyTtdKcDx9Z45ZY222EqrAjK1cUFFR4+TWDKeSXnVI=
=LyLw
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to