Bug 723946

Summary: /etc/logrotate.d is needed by (installed) tor-core-0.2.1.30-1601.fc16
Product: [Fedora] Fedora Reporter: Valdis Kletnieks <valdis.kletnieks>
Component: logrotateAssignee: Jan Kaluža <jkaluza>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jkaluza, rh-bugzilla, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-22 06:34:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Valdis Kletnieks 2011-07-21 15:45:42 UTC
Description of problem:
Trying to update logrotate fails due to prereq issues, appears to be a packaging issue.

# rpm -q logrotate
logrotate-3.8.0-1.fc16.x86_64
# rpm -Uvh logrotate-3.8.0-2.fc16.x86_64.rpm 
error: Failed dependencies:
        /etc/logrotate.d is needed by (installed) tor-core-0.2.1.30-1601.fc16.x86_64
# rpm -q --provides logrotate
config(logrotate) = 3.8.0-1.fc16
logrotate = 3.8.0-1.fc16
logrotate(x86-64) = 3.8.0-1.fc16
# rpm -q --provides -p logrotate-3.8.0-2.fc16.x86_64.rpm
config(logrotate) = 3.8.0-2.fc16
logrotate = 3.8.0-2.fc16
logrotate(x86-64) = 3.8.0-2.fc16
# rpm -q tor-core
tor-core-0.2.1.30-1601.fc16.x86_64
# rpm -q --requires tor-core
/bin/sh  
/bin/sh  
/bin/sh  
/etc/logrotate.d  
/etc/logrotate.d  
config(tor-core) = 0.2.1.30-1601.fc16
fedora-usermgmt  
fedora-usermgmt  
init(tor)  
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.3.4)(64bit)  
libc.so.6(GLIBC_2.4)(64bit)  
libc.so.6(GLIBC_2.7)(64bit)  
libcrypto.so.10()(64bit)  
libevent-2.0.so.5()(64bit)  
libpthread.so.0()(64bit)  
libpthread.so.0(GLIBC_2.2.5)(64bit)  
libssl.so.10()(64bit)  
libz.so.1()(64bit)  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)  
rpmlib(PayloadIsXz) <= 5.2-1

Looks like the root cause is here:

# rpm -ql logrotate | grep logrotate.d
/etc/logrotate.d
# rpm -ql -p logrotate-3.8.0-2.fc16.x86_64.rpm | grep logrotate.d
/etc/logrotate.d/


Version-Release number of selected component (if applicable):
logrotate-3.8.0-2.fc16.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jan Kaluža 2011-07-21 19:34:00 UTC
Isn't that Tor issue? Logrotate should own /etc/logrotate.d and tor should just Require:logrotate. I'm adding Tor owner to CC.

Comment 2 Enrico Scholz 2011-07-21 20:16:12 UTC
http://article.gmane.org/gmane.linux.redhat.fedora.devel/151314

--> rebuild logrotate and problem should vanish

Comment 3 Jan Kaluža 2011-07-22 06:34:41 UTC
Ah, thanks. I somehow missed that on fedora-devel. I've recompiled it now.