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

Geert Stappers stappers at stappers.nl
Thu Sep 1 20:42:09 UTC 2016


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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160901/cff255bf/attachment.sig>


More information about the Buildd-tools-devel mailing list