- Package:
- sxmo-utils
- Source:
- sxmo-utils
- Description:
- scripts and C programs to support Sxmo
- Submitter:
- pinetab2user
- Date:
- 2024-03-20 01:09:03 UTC
- Severity:
- normal
Dear Maintainer, in /usr/bin/sxmo_power.sh the reboot and poweroff-commands are prepended by "doas". I installed "doas" and created a /etc/doas.conf with the following content: permit nopass mobian as root cmd reboot permit nopass mobian as root cmd poweroff (mobian is the user-name which I am using) After that, I was able to reboot from within the menus (I didn't try poweroff yet but have no doubt that it will also work).
I'm working on a fix for this bug here: https://salsa.debian.org/DebianOnMobile-team/sxmo-utils/-/merge_requests/2 I'm not sure I like installing Sxmo's doas.conf as /etc/doas.conf. Looking into alternatives, but it seems that Debian's doas doesn't support a doas.d/ directory, as pointed out by Jochen Sprickerhof. This patch (as submitted in the MR on salsa) is currently working for me on my pinephonepro.