The new ceph-0.72.2-r2 ebuild add a lot of runtime dependency(including the dependency of dependency). The extra filesystem/disk related tools might be used by ceph setup scripts and other python packages might be for some http related stuff, correct me if I am wrong. The official ceph document recommends run mds, ods & mon in separate machines, I think this is the common use case of ceph. In these condition, filesystem and disk related packages might be already installed or not necessary(after all, I have fdisk why I need parted, or my all fs is either ext4 or xfs, why install btrfsprogs?), and most of the time ceph(and its friends ceph-mon, ceph-osd & ceph-mds) command is already enough. Not to count if only want to mount cephfs with fuse, which I think the only command need is ceph-fuse. PS, I find some discuss about this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705262#89 Reproducible: Always Steps to Reproduce: 1. emerge sys-cluster/ceph-0.72.2-r2 Actual Results: Some unnecessary runtime dependency packages are installed but never have any usage for most conditions. Expected Results: Provide USE or other mechanism to make these runtime dependency optional, only install when necessary.
@gentoo-qa recommand to not to use optional RDEPs (see bug #498832) it would be tedious to add "osd, mds, mon" USE flags to control specific use case. so to address your problem, I did following changes, slightly improve the situation. sys-apps/hdparm used by fle src/os/FileJournal.cc, check for disk file cache. I'll keep it, probably used by OSD sys-block/parted, sys-fs/cryptsetup used by ceph-disk (probably used by OSD), I will drop it from RDEPEND, put a notice in pkg_postinst() sys-fs/btrfs-progs same as above, will be dropped.
(In reply to Yixun Lan from comment #1) > @gentoo-qa recommand to not to use optional RDEPs (see bug #498832) > > it would be tedious to add "osd, mds, mon" USE flags to control specific use > case. so to address your problem, I did following changes, slightly improve > the situation. > > sys-apps/hdparm > used by fle src/os/FileJournal.cc, check for disk file cache. I'll keep > it, probably used by OSD > > sys-block/parted, sys-fs/cryptsetup > used by ceph-disk (probably used by OSD), I will drop it from RDEPEND, > put a notice in pkg_postinst() > > sys-fs/btrfs-progs > same as above, will be dropped. In fact, I am more care about these python packages, which have a lager dependency tree, and some of them is hard masked on arm arch.
Does this bug still apply to >=sys-cluster/ceph-10 ? 0.72 is no longer in the tree.