Bug 916647 - fails when --resultdir= is on nfs, error writing available_pkgs
Summary: fails when --resultdir= is on nfs, error writing available_pkgs
Keywords:
Status: CLOSED DUPLICATE of bug 916685
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mock
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-28 15:19 UTC by Rex Dieter
Modified: 2013-02-28 16:46 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-28 16:46:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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