mrclksr / linux-browser-installer

Script to install Linux browsers under a Linux chroot on FreeBSD
174 stars 25 forks source link

Failed to start ubuntu service #11

Open ghost opened 3 years ago

ghost commented 3 years ago

Is it a known issue?

> sudo ./linux-browser-installer install brave
linux_enable: NO -> NO
ubuntu_enable: YES -> YES
 * rc-service: service `ubuntu' does not exist
linux-browser-installer: Error: Failed to start ubuntu service
> ll /compat/
total 2
drwxr-xr-x  5 root  wheel     5B May 11 23:55 linux
drwxr-xr-x  6 root  wheel     6B Jul  3 22:39 ubuntu
mrclksr commented 3 years ago

Hi @xliiv,

I can't reproduce it. Please run the command in a script session, and post the log:

% script /tmp/lbi.log
% sudo ./linux-browser-installer install brave
% exit
ghost commented 3 years ago

This is the output

> cat /tmp/lbi.log
Script started on Sun Jul  4 13:24:42 2021
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
[13:24:42] xliiv@xliiv-ghostbsd-pc /home/xliiv/workspace/linux-browser-installer (0)
> sudo ./linux-browser-installer install brave
Password:
linux_enable: NO -> NO
ubuntu_enable: YES -> YES
 * rc-service: service `ubuntu' does not exist
linux-browser-installer: Error: Failed to start ubuntu service
[13:24:57] xliiv@xliiv-ghostbsd-pc /home/xliiv/workspace/linux-browser-installer (1)
> exit

Script done on Sun Jul  4 13:24:59 2021
mrclksr commented 3 years ago

Ah, I see you're using GhostBSD. AFAIK, GhostBSD uses OpenRC which is incompatible with FreeBSD's rc-system.

ghost commented 3 years ago

Didn't know, thanks for info. Should we close it then?

Izder456 commented 3 years ago

xliiv: update ghostbsd with the gui updater. upstream just changed init to bsdrc and removed openrc. it should work after that.

ghost commented 3 years ago

@Izder456 great news then, however I don't have easy opportunity to verify that, since I replaced GhostBSD with FreeBSD (for Disk encryption feature).

Anyway, Glad to know It should work now and when i get back to GhostBSD (and sure i will, because it's more polished as desktop solution thanks to the GhostBSD team) I'll check it, thanks!

Perhaps, it can be closed now?

Izder456 commented 3 years ago

yeah i figure. although i'm having issues launching brave under ghostbsd https://github.com/mrclksr/linux-browser-installer/issues/14