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

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 2023-07-14 21:30 +0200
Message-ID <GRwEh-eTo-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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