Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1154244

Bug#1041092: cephadm: creates /etc/logrotate.d/cephadm leading to duplicate log entry

Path csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From Timo Weingärtner <timo@tiwe.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1041092: cephadm: creates /etc/logrotate.d/cephadm leading to duplicate log entry
Date Fri, 14 Jul 2023 21:30:01 +0200
Message-ID <GRwEh-eTo-3@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Jul 14 19:21:12 2023
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.36
Reply-To Timo Weingärtner <timo@tiwe.de>, 1041092@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Ceph Packaging Team <team+ceph@tracker.debian.org>
X-Debian-Pr-Message report 1041092
X-Debian-Pr-Package cephadm
X-Debian-Pr-Source ceph
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 12.0.0
X-Greylist delayed 1675 seconds by postgrey-1.36 at buxtehude; Fri, 14 Jul 2023 19:20:00 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1780542
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 41
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 14 Jul 2023 20:51:41 +0200
X-Original-Message-ID <168936070152.1993294.17193510037460134717.reportbug@timo01.tiwe.de>
Xref csiph.com linux.debian.bugs.dist:1154244

Show key headers only | View raw


Package: cephadm
Version: 16.2.11+ds-2
Severity: normal

# systemctl status logrotate.service
systemd[1]: Starting logrotate.service - Rotate log files...
logrotate[90090]: error: ceph-common:1 duplicate log entry for /var/log/ceph/cephadm.log
logrotate[90090]: error: found error in file ceph-common, skipping
systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: logrotate.service: Failed with result 'exit-code'.
systemd[1]: Failed to start logrotate.service - Rotate log files.

# grep -r ceph /etc/logrotate.d/
/etc/logrotate.d/cephadm:# created by cephadm
/etc/logrotate.d/cephadm:/var/log/ceph/cephadm.log {
/etc/logrotate.d/ceph-common:/var/log/ceph/*.log {
/etc/logrotate.d/ceph-common:        killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true
/etc/logrotate.d/ceph-common:    su root ceph


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cephadm depends on:
ii  adduser  3.134
ii  lvm2     2.03.16-2
ii  python3  3.11.2-1+b1

Versions of packages cephadm recommends:
pn  podman | docker.io  <none>

cephadm suggests no packages.

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1041092: cephadm: creates /etc/logrotate.d/cephadm leading to duplicate log entry Timo Weingärtner <timo@tiwe.de> - 2023-07-14 21:30 +0200

csiph-web