marcus67 / little_brother

Parental Control Application implemented in Python 3 packaged for Debian and Ubuntu to monitor and limit kids' play time on Linux hosts
GNU General Public License v3.0
59 stars 9 forks source link

Unable to start service on Arch Linux #106

Open pgaiger opened 4 years ago

pgaiger commented 4 years ago

I installed from the AUR, and I get the following error when I attempt to start the service:

: sudo systemctl start little-brother
Job for little-brother.service failed because the control process exited with error code. See "systemctl status little-brother.service" and "journalctl -xe" for details.

"░ A start job for unit little-brother.service has begun execution. ░░ ░░ The job identifier is 2675. Nov 15 12:24:03 columbus systemd[14806]: little-brother.service: Failed to determine user credentials: No such process Nov 15 12:24:03 columbus systemd[14806]: little-brother.service: Failed at step USER spawning /usr/bin/run_little_brother.> ░░ Subject: Process /usr/bin/run_little_brother.py could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /usr/bin/run_little_brother.py could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO.

Thanks in advance.

marcus67 commented 4 years ago

Hi there! Thank you for your feedback. Did you install LittleBrother using the original Arch-Linux package? If so, there's probably a systematic problem with it since the packager does not include all required PIP packages. I haven't got time to get into the details of it but I guess I have to contact the packager to take a different approach.

In the meantime you could try the generic installation described in https://github.com/marcus67/little_brother/blob/master/NON-DEBIAN-INSTALLATION.md.

sluedecke commented 2 years ago

Somewhat unrelated, but still an arch linux: on my system it misses python_base_app. This can be fixed as described in the non debian installation by adding (with pip3) the dependencies python_base_app and some_flask_helpers.

BTW: the arch linux package description is here: little-brother aur

marcus67 commented 2 years ago

The additional packages have been added by the package maintainer. Could you (@sluedecke) check whether the application now works on Arch Linux, please? Thanks a lot!

sluedecke commented 2 years ago

Hi Marcus, thanks for looking into it!

Unfortunately although all necessary dependencies are included, the AUR install does not yet work on a 'fresh' system. It seems to boil down to some files and folders not being created during install. Probably the AUR mechanism does not call generic-install.sh ...

See: https://aur.archlinux.org/packages/little-brother#comment-858324