When I follow the manual instruction, and did "chcon -t httpd_sys_script_exec_t /path/to/extensions/Scribunto/engines/LuaStandalone/binaries/yourOS/lua" this, it sais that can't aplly partial context to unlabeled file 'lua'. What should I do?
Topic on Extension talk:Scribunto
chcon: can't apply partial context to unlabeled file ‘lua’
Did you change the system path as appropriate for your environment? The path shown on the page is only a sample and won't work verbatim unless you intentionally set up your server with that directory structure. Specifically, the
/path/to/extensions refers to the
/extensions directory in MediaWiki's base directory; on a default server this might therefore be
/var/www/html/extensions. Additionally, the
/yourOS directory is just an example and needs to be replaced as appropriate; check what directories are contained in
/extensions/Scribunto/engines/LuaStandalone/binaries and select the correct one for the operating system your server is running.
in fact, my lua is in the path /var/www/html/extension/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic,and I use the command CD into this directory and use command as chcon -t httpd_sys_script_exec_t lua, I am not sure whether it is suitable, but I take it for grunted..
Same issue here.
chcon -t httpd_sys_script_exec_t /var/www/mediawiki/extensions/Scributon/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua sends the same error my way.
I am trying to setup my wiki using a Raspberry Pi 3, using 32-bit Raspbian.
Have anybody resolved this problem? What was the reason?