[SSSD] Config file ownership and cwrap tests

Nikolai Kondrashov Nikolai.Kondrashov at redhat.com
Fri Jan 16 12:22:29 UTC 2015


On 01/14/2015 08:09 PM, Lukas Slebodnik wrote:
> Using fakeroot is much better solution then adding hack with env variables.
>
> BTW fakeroot provides a fake root environment by means of LD_PRELOAD.
> The only disadvantage of fakeroot is that is not available on all platforms.
> (but there is not problem to prepare COPR repo)
>
> So basically there is not a big difference between fakeroot and other cwrap
> packages.

Just an update: it's not all rainbows in the fakeroot land either. It's not
wrapping open()/create(). That means that all files sssd creates belong to
root under fakeroot (even though it can chown them to anything), which is not
compatible with --with-sssd-user.

I'm also having some problem starting sssd as root under fakeroot. Something
to do with D-BUS sockets probably.

Will keep digging.

Nick



More information about the sssd-devel mailing list