[buildd-tools-devel] schroot wit preserve-environment=true gives: Failed to import environment: Process org.freedesktop.systemd1 exited with stat

Marcel L. mlautenb at gmail.com
Sat Sep 3 07:46:10 UTC 2016


Well, maybe it is not possible or I am misinterpreting something from the
man pages.

Hopefully someone else has an idea or some experience with this ?

Marcel

On Thu, Sep 1, 2016 at 10:42 PM, Geert Stappers <stappers at stappers.nl>
wrote:

> On Thu, Sep 01, 2016 at 09:18:03PM +0200, Marcel L. wrote:
> > On Wed, Aug 31, 2016 at 10:15 PM, Geert Stappers wrote:
> > > On Wed, Aug 31, 2016 at 01:48:05PM +0200, Marcel L. wrote:
> > > >
> > > > But doing the same as a non-root user gives me the following after
> doing
> > > > schroot -c xenial:
> > > >
> > > > <<
> > > > To run a command as administrator (user "root"), use "sudo
> <command>".
> > > > See "man sudo_root" for details.
> > > >
> > > > Failed to import environment: Process org.freedesktop.systemd1 exited
> > > > with
> > > > stat
> > > > <<
> > > >
> > > >
> > > > What am I missing or doing wrong? I would be happy about any help on
> > > > this.
> > >
> > >
> > > Replace
> > >
> > >   schroot -c xenial:
> > >
> > > you mentioned above with
> > >
> > >   sudo schroot -c xenial
> > >
> > >
> > > and please report back.
> > >
> >
> > Well, that - like I wrote - works. But I do not want to run as root
> because
> > this causes preserve-environment not to use the actual users environment
> > for import, but root's environment. And as soon as I su to any of the
> > allowd users within schroot, I get the same error.
>
> That reads to me like "Tell me how, because I think it should be possible".
>
> But me doesn't know if it is possible.
>
>
>
> Groeten
> Geert Stappers
> Who filed https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824582
> and hasn't tried sbuild (0.70.0-1) after 2016-08-03
> --
> Leven en laten leven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160903/b60c0c5d/attachment.html>


More information about the Buildd-tools-devel mailing list