----- Original Message -----
> From: "Nikolai Kondrashov" <nikolai.kondras...@redhat.com>
> To: "Development of the System Security Services Daemon" 
> <sssd-devel@lists.fedorahosted.org>
> Sent: Friday, January 16, 2015 1:22:29 PM
> Subject: Re: [SSSD] Config file ownership and cwrap tests
> 
> 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.

Does Fedora have union mounts (originally from Plan 9, AFAIK Linux calls this 
"unionfs" or "overlayfs") ? If "yes" then some stunts with unionfs and 
|chroot()| should be possible for testing. Let me know if I should dig-out the 
details...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) rma...@redhat.com
  \__\/\/__/  IPA/Kerberos5 team
  /O /==\ O\  
 (;O/ \/ \O;)
 
_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to