Bug 1183058

Summary: krb5-server requires systemd-sysv when it shouldn't need to
Product: Red Hat Enterprise Linux 7 Reporter: Jan Pazdziora <jpazdziora>
Component: krb5Assignee: Robbie Harwood <rharwood>
Status: CLOSED ERRATA QA Contact: Patrik Kis <pkis>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: dpal, jpazdziora, ksrot, pkis, rharwood
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: krb5-1.14.1-3.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 20:22:24 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:
Bug Depends On:    
Bug Blocks: 1283777    

Description Jan Pazdziora 2015-01-16 15:18:31 UTC
Description of problem:

The krb5-server package has

  Requires(post): systemd-sysv

even if it probably is not needed.

Version-Release number of selected component (if applicable):

krb5-server-1.12.2-13.el7.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. Have RHEL 7 installation without systemd, for example in a Docker container with fakesystemd.
2. Run yum install -y krb5-server.

Actual results:

Transaction check error:
  file /usr/lib/rpm/macros.d/macros.systemd from install of systemd-208-11.el7.x86_64 conflicts with file from package fakesystemd-1-14.el7.x86_64

Expected results:

The installation passes, krb5-server does not force the systemd-sys (and thus systemd) installation.

Additional info:

Of course, it is possible to do

   yum swap -y -- remove fakesystemd -- install systemd systemd-libs

but it increases the image size unnecessarily.

This is similar to bug 1104138.

Comment 2 Matthew Harmsen 2015-01-19 19:53:17 UTC
Per discussions in CS/DS meeting of 01/19/2015, moving to RHEL 7.2 (will be fixed as a part of Dogtag 10.2.2 (CS 9)).

Comment 3 Matthew Harmsen 2015-01-19 19:57:27 UTC
Upstream ticket:
https://fedorahosted.org/pki/ticket/1244

Comment 8 Robbie Harwood 2015-09-11 20:28:26 UTC
FYI - as part of fixing krb5 in Fedora, I have made this change there.

Comment 16 errata-xmlrpc 2016-11-03 20:22:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2591.html