Error messages in terminal after update

66 views
Skip to first unread message

raah...@gmail.com

unread,
Oct 20, 2015, 3:32:31 PM10/20/15
to qubes-users
After updating qubes and fedora template I get these messages in the vm terminal:

bash: export: `BASH_FUNC_module()=() { eval `/usr/bin/modulecmd bash $*`': not a valid identifier
bash: export: `}': not a valid identifier
bash: export: `BASH_FUNC_scl()=() { local CMD=$1;': not a valid identifier
bash: export: `if [ "$CMD" = "load" -o "$CMD" = "unload" ]; then': not a valid identifier
bash: export: `eval "module $@";': not a valid identifier
bash: export: `/usr/bin/scl "$@";': not a valid identifier
bash: export: `}': not a valid identifier
[user@personal ~]$

Marek Marczykowski-Górecki

unread,
Oct 20, 2015, 4:35:00 PM10/20/15
to raah...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Confirmed, tracked here:
https://github.com/QubesOS/qubes-issues/issues/1350



- --
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

iQEcBAEBCAAGBQJWJqVtAAoJENuP0xzK19csV8oH/RnqY1ylMj/04TbcUurudrsz
o0g2mP2sytszi0zpI2i9zAN5NKGsNUNXKKIa/XE4lN7pVi6StHKbGlDP8jHdp+jg
lFSauW8kpID7lukE8ywwdz6y3qDzHT2g6mhU+JIbGefxj+CdO6b7rvCs7Vak5EDS
FIGOvaOa1vlVOVKuLMTLzSeVuIJTZWDQ3nMAi/8p3teLmwR3z1Xdk37UcSk9FiDR
AdB4TUNdUtGyR73TW31NCj9aOPkJnfQfQZaBVUMS32d9fsIO99k0cysCNzmRywti
bWqkjkp3GpY2FxG8OutttBNbjrpJ0YXem0NSse2nIqEqyhT6wz/fOwnh2HIObNM=
=ND6P
-----END PGP SIGNATURE-----

raah...@gmail.com

unread,
Oct 21, 2015, 12:40:33 PM10/21/15
to qubes-users, raah...@gmail.com
I'm not sure where the appvm-scripts folder is. Is there anything I should do on my end or should I just wait for a fix?

Thanks.

Marek Marczykowski-Górecki

unread,
Oct 21, 2015, 12:55:48 PM10/21/15
to raah...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, Oct 21, 2015 at 09:40:33AM -0700, raah...@gmail.com wrote:
> On Tuesday, October 20, 2015 at 4:35:00 PM UTC-4, Marek Marczykowski-Górecki wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > 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 bash $*`': not a valid identifier
> > > bash: export: `}': not a valid identifier
> > > bash: export: `BASH_FUNC_scl()=() { local CMD=$1;': not a valid identifier
> > > bash: export: `if [ "$CMD" = "load" -o "$CMD" = "unload" ]; then': not a valid identifier
> > > bash: export: `eval "module $@";': not a valid identifier
> > > bash: export: `/usr/bin/scl "$@";': not a valid identifier
> > > bash: export: `}': not a valid identifier
> > > [user@personal ~]$
> >
> > Confirmed, tracked here:
> > https://github.com/QubesOS/qubes-issues/issues/1350
>
> I'm not sure where the appvm-scripts folder is. Is there anything I should do on my end or should I just wait for a fix?

The fix is already in testing repository, you can install it from there:
sudo yum update --enablerepo=qubes*testing qubes-gui-vm

It should install qubes-gui-vm 3.0.13

- --
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

iQEcBAEBCAAGBQJWJ8OPAAoJENuP0xzK19csdXgH/iAFsnZ3pSIU3hxYH7mn/YHz
c3MNQjcGDYhbcDKfrMQjqf9ZnwOg/mVEnOUVb8rOj1GL4t4jP1sP9zPybOWYyeB+
Vh5vdAyUhaD5EAml8iXnFCbCsVlg9ktozyKid17k8TTdnt8Dp5V0Xfct6th6wdPV
mldhbk4IuF2/IWbl9LtUr7luqP7n47ZIJer3Jm5XsKD5KIQ2rQYiMOpDVKtosAJ1
WkeWsamaroQYMcUQtMOE4Ax91+W4m5GplIFaf8T0vObMNSufiRbsuggh5DD8jH/J
Dyyu6zW6KztWMypLHMZF5Y0bDHs/q/BAPyjE8qiBmaOUD9zf5ZreTwT36CRPeoY=
=rExz
-----END PGP SIGNATURE-----

raah...@gmail.com

unread,
Oct 21, 2015, 3:23:59 PM10/21/15
to qubes-users, raah...@gmail.com
I'm getting no package qubes-gui-vm available

Marek Marczykowski-Górecki

unread,
Oct 21, 2015, 4:06:39 PM10/21/15
to raah...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Are you sure you've correctly typed --enablerepo=qubes*testing option
(there is no space)?


- --
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

iQEcBAEBCAAGBQJWJ/BGAAoJENuP0xzK19csxJgH/jW0+LcnCj3QqL0i5VDg9QoP
CUmrE42EHBhUWZAwe+k49/QWXb8J5Hif1ohdoB1dHzaV+9wQ2MnKzgR5mI9Edo+B
bDC5x1dzcl9tpaxrz0WmL2az2/Z6KfqYSF2QLNlThSqst4oBa8EqTOzck2Q0+8ul
wW8xD/S+dpVFWg9DUZjGA3SxUmjzyuYUiy0b4/s9ntY8aUQiN4wOz0uNPpTuPxol
Sx+3Q4ytUGGCtY4gW3HSt9mysw2a3rWAQEecS4bvu96v16SbJafS9rRb42ntdSsj
Ew+SWJYLOXM9RdRDUJbayr7T7XircqU+CigDF2JLr7d/EATDEB8zj7uISTDg74Q=
=KIM3
-----END PGP SIGNATURE-----

yaqu

unread,
Oct 21, 2015, 4:58:28 PM10/21/15
to qubes...@googlegroups.com
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
[...]
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.

Am I missing something? Are there cases when user's processes are
started not via fork-server?

--
yaqu

raah...@gmail.com

unread,
Oct 21, 2015, 5:03:07 PM10/21/15
to qubes-users, raah...@gmail.com
yes, I also manually edited the qubes-dom0.repo file in yum.repos.d to enable updates-testing and security-testing, and updated a bunch of packages none of which was qubes-gui-vm it says there is no package.

raah...@gmail.com

unread,
Oct 21, 2015, 5:07:55 PM10/21/15
to qubes-users, raah...@gmail.com
sorry I'm an idiot i was supposed to install it from the fedora template vm. thank you.

Marek Marczykowski-Górecki

unread,
Oct 21, 2015, 5:15:01 PM10/21/15
to yaqu, qubes...@googlegroups.com
-----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-----
Reply all
Reply to author
Forward
0 new messages