[Libre-soc-bugs] [Bug 696] [Coroliosis 2] Library libMut Not Found During Alliance Install

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Sep 23 21:56:46 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=696

--- Comment #13 from andrey at technepisteme.xyz ---
(In reply to Luke Kenneth Casson Leighton from comment #12)
> (In reply to andrey from comment #11)
> $USER.
> 
> which when calling runuser will be set correctly.
Thanks! I swapped the $SUDO_USER for $USER instead. Now at the start of
"coriolis_install" I added a check so that only a normal user runs the script
(not user id 0).


Another thing I noticed (which was occuring before) was that the
"coriolisEnv.py" script wasn't being executed by Python interpreter.
Running the command:
$ /home/$USER/coriolis-2.x/src/coriolis/bootstrap/coriolisEnv.py >
/home/$USER/coriolisenv

Gives:
Traceback (most recent call last):
  File "/home/rohdo/coriolis-2.x/src/coriolis/bootstrap/coriolisEnv.py", line
133, in <module>
    shellBin, isBourneShell = guessShell()
  File "/home/rohdo/coriolis-2.x/src/coriolis/bootstrap/coriolisEnv.py", line
111, in guessShell
    shellPath     = whichCommand.stdout.readlines()[0][:-1]
IndexError: list index out of range

Is it to do with the $TERM or $SHELL variables?
My chroot's are set to
$TERM=xterm-256color
$SHELL=/bin/bash

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list