tryiou / blocknet_aio_monitor

MIT License
1 stars 0 forks source link

Block-DX and XLite terminated with return code 127 #14

Open walkjivefly opened 1 month ago

walkjivefly commented 1 month ago

I setup a new Xubuntu 24 VM in VirtualBox and installed the latest AIO. It downloaded everything OK, downloaded the bootstrap, started and synced Blocknet OK. When I tried to start Block-DX and XLite, both failed with the following messages in the console....

INFO:root:xbridgeconfpath: /home/mark/.blocknet/xbridge.conf
WARNING:root:/home/mark/.config/BLOCK-DX/app-meta.json doesn't exist
DEBUG:root:Updated 'user' in meta_data
DEBUG:root:Updated 'password' in meta_data
DEBUG:root:Updated 'xbridgeConfPath' in meta_data
DEBUG:root:Initialized 'selectedWallets' with 'blocknet--v4.2.0' in meta_data
INFO:root:Updated Blockdx config with new data.
INFO:root:Started Blockdx process with PID 362125: /home/mark/.AIO_Blocknet/BLOCK-DX-1.9.5-linux-x64/block-dx
INFO:root:Block-DX process has terminated with return code 127
INFO:root:Started Xlite process with PID 363217: /home/mark/.AIO_Blocknet/XLite-1.0.7-linux/xlite
INFO:root:XLite process has terminated with return code 127
tryiou commented 1 month ago

Problem seems to be related to ubuntu 24.X introducing new security feature, this break most Electron apps: https://github.com/electron/electron/issues/41066

The temporary solution is disabling the kernel.apparmor_restrict_unprivileged_userns: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

until we get something better, that will fix the problem.