Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 513559

Summary: Unnecessary dependencies
Product: Red Hat Enterprise Linux 5 Reporter: Tethys <sta040>
Component: avahiAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: low    
Version: 5.2CC: dkovalsk, jpopelka, pknirsch, twaugh
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-02 13:47:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tethys 2009-07-24 08:43:45 UTC
Description of problem:
# yum update cups
[...]
=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
 cups                    i386       1:1.3.7-8.el5_3.6  updates           3.4 M
 cups-libs               i386       1:1.3.7-8.el5_3.6  updates           193 k
Installing for dependencies:
 avahi                   i386       0.6.16-1.el5_2.1  updates           250 k
 avahi-compat-libdns_sd  i386       0.6.16-1.el5_2.1  updates            22 k
Updating for dependencies:
 cups-lpd                i386       1:1.3.7-8.el5_3

No! Stop that. I want to print stuff. I *don't* need zeroconf in order
to be able to do that. Maybe cups can make use of it if it's present,
but it's not necessary, and so avahi shouldn't be there as a dependency.
Stop bloating my system up with software I don't want or need.

Version-Release number of selected component (if applicable):
cups-1.3.7-8.el5_3.6

How reproducible:
Every time

Steps to Reproduce:
1. yum update cups
2. 
3.
  
Actual results:
Update cups and install avahi

Expected results:
Update cups

Additional info:

Comment 1 Tim Waugh 2009-07-24 09:10:27 UTC
Can try to use dlopen() for that for a future update.

Incidentally, the cups package just has 'Requires: avahi-compat-libdns_sd' so
the 'avahi' dependency comes from that package.  It seems to be due to
libavahi-common.

Comment 4 Tim Waugh 2009-10-21 14:05:38 UTC
Filed avahi packaging issue: bug #530087.

Comment 5 Tim Waugh 2009-10-21 14:22:07 UTC
Changed component to avahi.  By altering the packaging of avahi, rather than patching cups, this problem can be avoided more easily and with less risk.

Comment 6 RHEL Program Management 2009-11-06 18:45:47 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 7 Tim Waugh 2010-06-02 13:47:18 UTC
There is already an open bug for the avahi packaging change in Red Hat Enterprise Linux, so marking this as a duplicate of that one.

*** This bug has been marked as a duplicate of bug 483160 ***