[Bug 1674673] Re: error: glusterfs-server:1 duplicate log entry for /var/log/glusterfs/bricks/local-glustertest-stor1.log

James Page james.page at ubuntu.com
Tue Jun 13 10:37:22 UTC 2017


Latest package in Ubuntu Artful no long ships a logrotate configuration
for glusterfs-server.

Marking "Fix Released".

** Changed in: glusterfs (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to glusterfs in Ubuntu.
https://bugs.launchpad.net/bugs/1674673

Title:
  error: glusterfs-server:1 duplicate log entry for
  /var/log/glusterfs/bricks/local-glustertest-stor1.log

Status in glusterfs package in Ubuntu:
  Fix Released

Bug description:
  When the glusterfs-common and glusterfs-server packages are both
  installed at the same time, a conflicting logrotate rule is installed.
  (glusterfs-server depends on glusterfs-common.) This rule causes the
  logrotate cronjob to give an error.

  $ cat glusterfs-common 
  /var/log/glusterfs/*.log /var/log/glusterfs/bricks/*.log {
  	daily
  	rotate 7
  	delaycompress
  	compress
  	notifempty
  	missingok
  	postrotate
  		[ ! -f /var/run/glusterd.pid ] || kill -HUP `cat /var/run/glusterd.pid` ; killall -HUP glusterfs > /dev/null 2>&1 || true
  	endscript
  }
  $ cat glusterfs-server
  /var/log/glusterfs/*/*.log {
          daily
          rotate 7
          delaycompress
          compress
          notifempty
          missingok
          copytruncate
          postrotate
                  [ ! -f /var/run/glusterd.pid ] || kill -HUP `cat /var/run/glusterd.pid`
          endscript
  }
  $ sudo -Hi /etc/cron.daily/logrotate
  error: glusterfs-server:1 duplicate log entry for /var/log/glusterfs/bricks/local-glustertest-stor1.log

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: glusterfs-common 3.7.6-1ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
  Uname: Linux 4.4.0-66-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Tue Mar 21 13:39:15 2017
  InstallationDate: Installed on 2015-02-18 (761 days ago)
  InstallationMedia: Xubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140723)
  SourcePackage: glusterfs
  UpgradeStatus: Upgraded to xenial on 2017-03-02 (19 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glusterfs/+bug/1674673/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list