https://bugzilla.redhat.com/show_bug.cgi?id=1003495
Bug ID: 1003495
Summary: fontconfig creates $HOME/.config directory owned by
root, breaking Koji builds
Product: Fedora
Version: rawhide
Component: fontconfig
Assignee: tagoh(a)redhat.com
Reporter: rjones(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: fonts-bugs(a)lists.fedoraproject.org,
i18n-bugs(a)lists.fedoraproject.org, pnemade(a)redhat.com,
tagoh(a)redhat.com
Description of problem:
A few days ago, something in Koji changed which started breaking
certain builds. After investigating this, we have found that
if 'fontconfig' is used as a build dependency, $HOME/.config
is created and owned by root.root, which means that no user program
can create any directory under $HOME/.config:
+ ls -al /builddir
total 36
drwx------. 5 mockbuild mockbuild 4096 Sep 1 22:35 .
dr-xr-xr-x. 18 root root 4096 Sep 1 22:23 ..
-rwxr-xr-x. 1 mockbuild mockbuild 18 Aug 9 12:08 .bash_logout
-rwxr-xr-x. 1 mockbuild mockbuild 193 Aug 9 12:08 .bash_profile
-rwxr-xr-x. 1 mockbuild mockbuild 231 Aug 9 12:08 .bashrc
drwxr-xr-x. 3 mockbuild mockbuild 4096 Sep 1 22:35 .cache
drwxr-xr-x. 3 root root 4096 Sep 1 22:24 .config
-rw-rw-r--. 1 mockbuild mockbuild 211 Sep 1 22:23 .rpmmacros
drwxr-xr-x. 9 mockbuild mockbuild 4096 Sep 1 22:23 build
+ ls -al /builddir/.config
total 12
drwxr-xr-x. 3 root root 4096 Sep 1 22:24 .
drwx------. 5 mockbuild mockbuild 4096 Sep 1 22:35 ..
drwxr-xr-x. 2 root root 4096 Sep 1 22:24 fontconfig
This seems to be related to this build change:
commit 48deb947abd85d2f00c04d0f22c42fbe43d87cee
Author: Akira TAGOH <tagoh(a)redhat.com>
Date: Fri Aug 30 15:12:07 2013 +0900
New upstream release.
- migrate the configuration for XDG Base Directory spec automatically (bug
882267)
Version-Release number of selected component (if applicable):
fontconfig-2.10.95-1.fc21
How reproducible:
100%
Steps to Reproduce:
1. See the steps in bug 1003088.
Actual results:
Programs fail to run %check sections, if they rely on anything
that creates files in $HOME/.config
Expected results:
$HOME/.config should not be created as root.root by anything.
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=2dBLaWLO1j&a=cc_unsubscribe