Bug 627611 - scriptlet failure: /etc/sysconfig/rhn/sources: No such file or directory
Summary: scriptlet failure: /etc/sysconfig/rhn/sources: No such file or directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: epel-release
Version: el6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Michael Stahnke
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-26 14:09 UTC by Radek Bíba
Modified: 2010-10-15 10:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-12 14:36:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Radek Bíba 2010-08-26 14:09:36 UTC
Description of problem:
I got the following error when I installed epel-release:

/var/tmp/rpm-tmp.Vu2IO3: line 1: /etc/sysconfig/rhn/sources: No such file or directory
/var/tmp/rpm-tmp.Vu2IO3: line 3: /etc/sysconfig/rhn/sources: No such file or directory

The package has a %post script that's trying to add its configuration to the file above. However, I don't have rhn-client-tools (yet), so I don't have /etc/sysconfig/rhn. epel-release should require rhn-client-tools to make sure the directory exists and file 'sources' can be altered/created, or the echo (and sed in %postun) should silently discard any errors. What do you think?

Version-Release number of selected component (if applicable):
epel-release-6-4

Comment 1 Michael Stahnke 2010-10-12 14:36:36 UTC
Fixing for EL6.  

http://koji.fedoraproject.org/koji/taskinfo?taskID=2530272

New version built which no longer messes with /etc/sysconfig/rhn/sources, as it doesn't appear to exist/be useful in el6. 

New epel-release should be pushed in the next 24 hours for el6.

Comment 2 Radek Bíba 2010-10-15 10:32:57 UTC
Thanks!


Note You need to log in before you can comment on or make changes to this bug.