Bug 851149

Summary: cannot create service pack as cannot generate metadata file in /tmp/metadata.conf
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: mclasen, pvine, smatula, wluo
Target Milestone: betaKeywords: Reopened
Target Release: 7.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: PackageKit-0.8.9-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:48:38 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 Vladimir Benes 2012-08-23 11:15:27 UTC
Description of problem:
I've executed 
pkgenpack -p setup and got this error:
Failed to create '/root/setup-.servicepack': failed to generate metadata file /tmp/metadata.conf


Version-Release number of selected component (if applicable):
PackageKit-0.7.4-5.el7.x86_64

How reproducible:
always

Steps to Reproduce:
0.as root
1.updated system
2.pkgenpack -p setup

  
Actual results:
Failed to create '/root/setup-.servicepack': failed to generate metadata file /tmp/metadata.conf

Expected results:
should be working well

Additional info:

Comment 2 Richard Hughes 2013-05-07 15:24:36 UTC
commit 316a5b9f4c3636d808cf46fae3531cadfc91e4ce
Author: Richard Hughes <richard>
Date:   Tue May 7 16:24:12 2013 +0100

    Support getting the distro-id from /etc/os-release
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=851149

:100644 100644 a9ef87f... 12f18cd... M  lib/packagekit-glib2/pk-common.c
:100644 100644 0822f5f... 688daf8... M  lib/packagekit-glib2/pk-self-test.c

Comment 4 smatula 2013-11-20 19:31:18 UTC
Fix Verified with Build RHEL-7.0-20131115.2 x86_64 PackageKit-0.8.9-8.el7

pkgenpack -p setup on an updated system works correctly. No error thrown and .servicepack created.

Comment 5 Wenquan Luo 2014-06-04 08:36:42 UTC
Sorry for the miss-operation above.

Comment 6 Ludek Smid 2014-06-13 09:48:38 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.