-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Wed, Oct 21, 2015 at 10:58:13PM +0200, yaqu wrote:
> On Tue, 20 Oct 2015 22:34:51 +0200, Marek Marczykowski-Górecki
> <
marm...@invisiblethingslab.com> wrote:
>
> > On Tue, Oct 20, 2015 at 12:32:31PM -0700,
raah...@gmail.com wrote:
> > > After updating qubes and fedora template I get these messages in
> > > the vm terminal:
> > >
> > > bash: export: `BASH_FUNC_module()=() { eval `/usr/bin/modulecmd
> [...]
> >
> > Confirmed, tracked here:
> >
https://github.com/QubesOS/qubes-issues/issues/1350
>
> Hello,
>
> Is this using /tmp/qubes-session-env still necessary?
>
> AFAIK all user's processes (applications) in appvm are currently started
> by qrexec-fork-server and they inherit server's environment, and since
> qrexec-fork-server was started by qubes-session, it already has all
> session vars in his env... So applications do not need to import
> anything from qubes-session-env, as they already got it from parent's
> environment.
Yes, you're mostly right. So the fix does exactly this - do not include
/tmp/qubes-session-env if environment already set.
> Am I missing something? Are there cases when user's processes are
> started not via fork-server?
When starting a process as other user (qvm-run -u root ...). Then it is
started in separate session. But /tmp/qubes-session-env is still loaded
to have access to all the X server resources and accompanying services
(dbus, pulseaudio etc).
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJWKABPAAoJENuP0xzK19cs3mcH/0thT+My1pDrqhcP/vYnxLnn
VdBJ5PvZURwpw27bn81NY+GUlO7ga4zy0Q5Llzh8sT804azRKeBEFbmtOccjrtm2
kWRW68wn77aEtNCk3/1+gjD7WHQwvP7Hs7KQ14KvlnHkC+GuOhUg3M9Rqvg3J09m
vuc9n9NzjzUIZXd1fDtzbIb8Jnl2fCXtzk/SbCpk90eDqDgtILTuDI5oQ0l9SLdW
HPnOFMUeJ5zWd/eFuI/mMlKw3qR6HFbsK5kVR7z6kOpnKgNisCBZc33WbIdjuZCS
+PBHW59ES0oCk1t5DzNn4DASaywlF28SeIXZqY3GU7ynt0SExuFo7tTmdYcdNDI=
=OYP7
-----END PGP SIGNATURE-----