Package: ceph-base
Severity: normal
X-Debbugs-Cc: [email protected]

Hi

I noticed that ceph-base has rather extensive Depends that rise some eyebrows

Depends: binutils, ceph-common (= 18.2.8+ds-2.1), cryptsetup-bin |
  cryptsetup, e2fsprogs, gdisk, hdparm | sdparm, logrotate, nvme-cli,
  parted, psmisc, smartmontools, uuid-runtime, xfsprogs, python3:any,
  libaio1t64 (>= 0.3.93), libc6 (>= 2.38), libcap2 (>= 1:2.10), libfmt10
  (>= 10.1.1+ds1), libgcc-s1 (>= 3.4), libgoogle-perftools4t64 (>=
  2.18.1), liblz4-1 (>= 0.0~r130), libpmem1 (>= 1.4), librados2 (>=
  18.2.8+ds), libsnappy1v5 (>= 1.2.2), libstdc++6 (>= 14), liburing2 (>=
  2.3), zlib1g (>= 1:1.2.0)


But I am pretty sure some of these are not actually strictly required.


e2fsprogs, xfsprogs - only needed for filestore osds, which are
deprecated for a very long time. I do not think they actually need to be
there by default.


parted, gdisk, hdparm, sdparm - probably also not needed. At least not
in ceph-base. Maybe some of them are semi-required in cephadm or
ceph-volume, but not in ceph-base afaik. (I do not think they are even
required there).

Similar for nvme-cli, smartmontools, psmisc, and logrotate, and probably
also cryptsetup.


Additionally somehow install ceph-base also installs:

ceph-fuse - unclear how, or why ceph-base require this (EDIT: This is
via transitive Recommends of ceph-mds which Recommends (but should not)
ceph-fuse - ceph-mds is server, but ceph-fuse is client. There is close
to zero reason to have ceph-fuse coinstalled with ceph-mds)

and also Recommends: ceph-mds - again, even less logical.



I see that ceph-base has ceph-smartctl script, but that probably belongs
more in ceph-osd package.





Just some observations.

I understand that some of the packages in Depends are kind of nice to
have on osd machines, but almost all of them would be more of
Suggestions or nice-to-have in ceph-osd. Almost none of them are
actually required, and none in ceph-base).

Regards,
Witold


-- System Information:
Debian Release: forky/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.1.0-rc5 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ceph-base depends on:
ii  binutils                 2.46-3
ii  ceph-common              18.2.8+ds-2.1
ii  cryptsetup               2:2.8.6-2
ii  cryptsetup-bin           2:2.8.6-2
ii  e2fsprogs                1.47.4-1
ii  gdisk                    1.0.10-3
ii  hdparm                   9.65+ds-1.1
ii  libaio1t64               0.3.113-9
ii  libc6                    2.42-16
ii  libcap2                  1:2.78-1
ii  libfmt10                 10.1.1+ds1-4+b2
ii  libgcc-s1                16.1.0-1
ii  libgoogle-perftools4t64  2.18.1-1
ii  liblz4-1                 1.10.0-10
ii  libpmem1                 1.13.1-1.1+b1
ii  librados2                18.2.8+ds-2.1
ii  libsnappy1v5             1.2.2-2+b2
ii  libstdc++6               16.1.0-1
ii  liburing2                2.14-1
ii  logrotate                3.22.0-1
ii  nvme-cli                 2.16-1
ii  parted                   3.7-1
ii  psmisc                   23.7-2
ii  python3                  3.13.9-3+b1
ii  sdparm                   1.12-3
ii  smartmontools            7.5-2
ii  uuid-runtime             2.42-5
ii  xfsprogs                 6.19.0-1
ii  zlib1g                   1:1.3.dfsg+really1.3.2-3

Versions of packages ceph-base recommends:
pn  ceph-mds              <none>
ii  librados2             18.2.8+ds-2.1
ii  libradosstriper1      18.2.8+ds-2.1
ii  librbd1               18.2.8+ds-2.1
ii  ntpsec [time-daemon]  1.2.4+dfsg-1

ceph-base suggests no packages.

Reply via email to