[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 20:47:37 BST 2021


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

--- Comment #12 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to andrey from comment #11)
> After looking at Luke's git merges for "coriolis_install" script (only came

welcome back

> The reason we didn't see such an issue before, is probably because scripts
> were always run as root via "sudo bash" which always adds the $SUDO_USER
> environment variable. 

yes.  there are checks which prevent you from proceeding without it.


> Otherwise we could define our own variable with a different name, as
> manually defining $SUDO_USER outside a script is probably a bad idea.
> The linux environment doesn't seem to define an environment variable for the
> current user (there is a var for user id though).

$USER.

which when calling runuser will be set correctly.

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


More information about the libre-soc-bugs mailing list