Koji builds failing because /builddir/.config is now owned by root

Richard W.M. Jones rjones at redhat.com
Sun Sep 1 22:42:32 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=1003088

We've run into a very strange problem that only started literally in
the last few days.  Koji builds in F20 and Rawhide branches are
failing.

After a mammoth debugging exercise, it appears to come down to various
programs failing (in %check) because they try to create files under
'$HOME/.config'.

In Koji, $HOME/.config is /builddir/.config which is now owned by
root.  I added some debugging to my Koji build to see more clearly
what's happening:

+ echo HOME=/builddir
+ 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

So I guess fontconfig has something to do with this, although I'm not
sure exactly what.

But anyhow, this isn't right is it?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v


More information about the devel mailing list