Description of problem: One of the utility provided by xfsprogs requires Python: /usr/sbin/xfs_scrub_all In Fedora CoreOS we are trying to not have Python dependencies in base host. We make use of utility like xfs_growfs from xfsprogs. It will be nice if we can get Python dependent utility in a sub-package. This will help to not pull in Python dependencies where xfs_scrub_all is not required. Also, maybe it can also be possible to convince upstream to rewrite xfs_scrub_all utility in C (consistent with rest of the utilities)?
Yes, a subpackage is a good idea, thanks. As for rewriting the utility ... probably not going to happen. TBH I'm not sure why scrub isn't in C, but the chances of a rewrite are slim.
Thanks Eric! Let us know if you need us to send a PR for python sub-package split in rawhide/F30
Created PR against F31 to move python utilities to separate sub-package - https://src.fedoraproject.org/rpms/xfsprogs/pull-request/1, after review is done will open another PR against F30
Sooo apparently dnf requires python3. Is the "base host" not going to have dnf?
(In reply to Eric Sandeen from comment #4) > Sooo apparently dnf requires python3. Is the "base host" not going to have > dnf? No. It will use rpm-ostree, which is/was the basis for Atomic Host, and now Fedora CoreOS and RHCOS.
clear needinfo
Ok, thanks for the info, sorry for not being up to speed on the project!
No problem. It would have been a clear blocker to this effort if that were the case so it was worth asking :)
(In reply to Sinny Kumari from comment #3) > Created PR against F31 to move python utilities to separate sub-package - > https://src.fedoraproject.org/rpms/xfsprogs/pull-request/1, after review is > done will open another PR against F30 Hi Eric! to move forward can we get PR reviewed
Ok, I split out an xfsprogs-xfs_scrub subpackage, with all scrub related files including those with python3 deps.
xfsprogs-4.19.0-5.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-47ecc092f0
xfsprogs-4.19.0-5.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-47ecc092f0
xfsprogs-4.19.0-5.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.