Bug #19129
Ceph Xenial Packages - ceph-base missing dependency for psmisc
0%
Description
I'm running ceph on Xenial
root@ceph-2-man5-sata-c18:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
And recently upgraded to Ceph Jewel 10.2.5 release:
root@ceph-2-man5-sata-c18:~# ceph -v
ceph version 10.2.5 (c461ee19ecbc0c5c330aca20f7392c9a00730367)
However, I noticed that logrotate calls the binary killall:
/etc/cron.daily/logrotate:
logrotate_script: 2: logrotate_script: killall: not found
root@ceph-2-man5-sata-c18:~# cat /etc/logrotate.d/ceph.logrotate
/var/log/ceph/*.log {
rotate 7
daily
compress
sharedscripts
postrotate
killall -q -1 ceph-mon ceph-mds ceph-osd ceph-fuse radosgw || true
endscript
missingok
notifempty
su root ceph
}
But this binary was missing on my system. I fixed this by installing the psmisc package to install the killall binary, but noticed that this is not defined as a dependency against ceph-base:
root@ceph-2-man5-sata-c18:~# apt-file search killall
psmisc: /usr/bin/killall
root@ceph-2-man5-sata-c18:~# apt-file search /etc/logrotate.d/ceph.logrotate
ceph-base: /etc/logrotate.d/ceph.logrotate
root@ceph-2-man5-sata-c18:~# apt-cache depends ceph-base | grep psmisc
root@ceph-2-man5-sata-c18:~#
Can we set a dependency on psmisc for killall so that logrotate correctly handles the open log file. Is there anything I can do to help here?
Related issues
History
#1 Updated by Nathan Cutler about 7 years ago
- Status changed from New to Fix Under Review
- Assignee set to Nathan Cutler
#2 Updated by Nathan Cutler about 7 years ago
- Backport set to jewel
#3 Updated by Nathan Cutler about 7 years ago
- Status changed from Fix Under Review to Pending Backport
#4 Updated by Nathan Cutler about 7 years ago
- Copied to Backport #19142: jewel: Ceph Xenial Packages - ceph-base missing dependency for psmisc added
#5 Updated by Kefu Chai almost 7 years ago
- Backport changed from jewel to jewel, kraken
#6 Updated by Nathan Cutler almost 7 years ago
- Copied to Backport #19564: kraken: Ceph Xenial Packages - ceph-base missing dependency for psmisc added
#7 Updated by Nathan Cutler almost 7 years ago
- Status changed from Pending Backport to Resolved