Bug 1051797

Summary: systemd should requires diffutils
Product: [Fedora] Fedora Reporter: Michael S. <misc>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: johannbg, lnykryn, mattdm, msekleta, plautrba, systemd-maint, vg.aetera, vpavlin, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-208-14.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-24 12:33:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael S. 2014-01-11 16:35:13 UTC
systemd should likely have a requires on diff :

git/systemd $ grep execlp src/delta/delta.c
                execlp("diff", "diff", "-us", "--", bottom, top, NULL);

Comment 1 Zbigniew Jędrzejewski-Szmek 2014-01-11 17:53:08 UTC
I added a dependency in the package repo now. But thinking about it a bit more, I'm not sure if this is a good step. diffutils is one MB, and it would be better to simply not provide diffing if diffutils are not available.

Comment 2 Fedora Update System 2014-01-15 01:25:56 UTC
systemd-208-11.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/systemd-208-11.fc20

Comment 3 Fedora Update System 2014-01-16 07:01:49 UTC
Package systemd-208-11.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-208-11.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0902/systemd-208-11.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-02-17 07:38:08 UTC
systemd-208-13.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/systemd-208-13.fc20

Comment 5 Fedora Update System 2014-02-17 15:06:17 UTC
systemd-208-14.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/systemd-208-14.fc20

Comment 6 Fedora Update System 2014-02-24 12:33:28 UTC
systemd-208-14.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Matthew Miller 2015-12-10 15:46:16 UTC
For context, this appears to be used by systemd-delta:

       systemd-delta may be used to identify and compare configuration files
       that override other configuration files. Files in /etc have highest
       priority, files in /run have the second highest priority, ..., files in
       /lib have lowest priority. Files in a directory with higher priority
       ...

Possibly for container/minimal purposes, this and other utils (e.g. systemd-cgls, systemd-cgtop, systemd-escape, systemd-analyze, etc.) could go in a systemd-tools subpackge.