<div dir="ltr">Well, maybe it is not possible or I am misinterpreting something from the man pages.<div><br></div><div>Hopefully someone else has an idea or some experience with this ?</div><div><br></div><div>Marcel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 1, 2016 at 10:42 PM, Geert Stappers <span dir="ltr"><<a href="mailto:stappers@stappers.nl" target="_blank">stappers@stappers.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Sep 01, 2016 at 09:18:03PM +0200, Marcel L. wrote:<br>
<span class="">> On Wed, Aug 31, 2016 at 10:15 PM, Geert Stappers wrote:<br>
> > On Wed, Aug 31, 2016 at 01:48:05PM +0200, Marcel L. wrote:<br>
> > ><br>
</span><span class="">> > > But doing the same as a non-root user gives me the following after doing<br>
> > > schroot -c xenial:<br>
> > ><br>
> > > <<<br>
> > > To run a command as administrator (user "root"), use "sudo <command>".<br>
> > > See "man sudo_root" for details.<br>
> > ><br>
> > > Failed to import environment: Process org.freedesktop.systemd1 exited<br>
> > > with<br>
> > > stat<br>
> > > <<<br>
> > ><br>
> > ><br>
</span><span class="">> > > What am I missing or doing wrong? I would be happy about any help on<br>
> > > this.<br>
> ><br>
> ><br>
> > Replace<br>
> ><br>
> >   schroot -c xenial:<br>
> ><br>
> > you mentioned above with<br>
> ><br>
> >   sudo schroot -c xenial<br>
> ><br>
> ><br>
> > and please report back.<br>
> ><br>
><br>
</span><span class="">> Well, that - like I wrote - works. But I do not want to run as root because<br>
> this causes preserve-environment not to use the actual users environment<br>
> for import, but root's environment. And as soon as I su to any of the<br>
> allowd users within schroot, I get the same error.<br>
<br>
</span>That reads to me like "Tell me how, because I think it should be possible".<br>
<br>
But me doesn't know if it is possible.<br>
<br>
<br>
<br>
Groeten<br>
<span class="HOEnZb"><font color="#888888">Geert Stappers<br>
Who filed <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824582" rel="noreferrer" target="_blank">https://bugs.debian.org/cgi-<wbr>bin/bugreport.cgi?bug=824582</a><br>
and hasn't tried sbuild (0.70.0-1) after 2016-08-03<br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
Leven en laten leven<br>
</div></div></blockquote></div><br></div>