Bug 916647

Summary: fails when --resultdir= is on nfs, error writing available_pkgs
Product: [Fedora] Fedora EPEL Reporter: Rex Dieter <rdieter>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: mebrown, williams
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: 2013-02-28 16:46:25 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 Rex Dieter 2013-02-28 15:19:04 UTC
Tried building on a centos6 using

mock -r epel-6-x86_64 --resultdir=...

where resultdir is an nfs target, and it fails with an error.  fedora build targets seem ok.

The error seems to be:

Start: Outputting list of available packages
DEBUG: Executing command: /usr/bin/repoquery -c /var/lib/mock/epel-6-x86_64/root//etc/yum.conf -a --qf '%{nevra} %{buildtime} %{size} %{pkgid} %{repoid}' > /nfs/.../mock/epel-6-x86_64/available_pkgs with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
DEBUG: /bin/sh: /nfs/.../mock/epel-6-x86_64-kde/available_pkgs: Permission denied
DEBUG: Child return code was: 1

Comment 1 Rex Dieter 2013-02-28 15:36:21 UTC
Looks like I can workaround this in the meantime setting,

config_opts['plugin_conf']['package_state_enable'] = False 

(seems it's enabled by default, still trying to figure out what it's purpose is...)

Comment 2 Rex Dieter 2013-02-28 16:46:25 UTC

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