[Debian-on-mobile-maintainers] Bug#1051139: sxmo-utils: reboot and shutdown fails due to missing "doas"

pinetab2user init6 at mailbox.org
Sun Sep 3 12:49:51 BST 2023


Package: sxmo-utils
Version: 1.12.0-7
Severity: normal
X-Debbugs-Cc: init6 at mailbox.org

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). 


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 6.4-rockchip (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sxmo-utils depends on:
ii  bc                      1.07.1-3
ii  bemenu                  0.6.15+dfsg-1
ii  callaudiod              0.1.9-1
ii  fonts-noto-color-emoji  2.038-1
ii  foot                    1.15.3-1
ii  gojq                    0.12.11-1
ii  grim                    1.4.0+ds-2
ii  inotify-tools           4.23.8.0-2
ii  j4-dmenu-desktop        2.16-1.1
ii  libc6                   2.37-7
ii  libcallaudio-tools      0.1.9-1
ii  libnotify-bin           0.8.2-1
ii  light                   1.2.2-2
ii  lisgd                   0.3.7-1
ii  mako-notifier           1.8.0-1
ii  mmsd-tng                2.4.0-1
ii  net-tools               2.10-0.1
ii  pamixer                 1.6-1
ii  pipewire                0.3.79-1
ii  pipewire-pulse          0.3.79-1
ii  pnc                     0.9.4-3
ii  pulseaudio-utils        16.1+dfsg1-2+b1
ii  rfkill                  2.39.2-1
ii  slurp                   1.4.0-1
ii  sway                    1.8.1-2
ii  swayidle                1.8.0-1
ii  swaylock                1.7.2-1
ii  vvmd                    0.16-1
ii  wayout                  0.1.4-1
ii  wireplumber             0.4.14-4
ii  wl-clipboard            2.2.0-1
ii  wob                     0.14.2-1
ii  wtype                   0.4-3
ii  wvkbd                   0.13-1
ii  xdg-user-dirs           0.18-1

Versions of packages sxmo-utils recommends:
ii  curl             8.2.1-1
ii  firefox-esr      115.1.0esr-1
ii  megapixels       1.7.0-1
ii  mpv              0.36.0-1
pn  netsurf          <none>
ii  network-manager  1.44.0-1
ii  w3m              0.5.3+git20230121-2
ii  wget             1.21.3-1+b1
ii  yt-dlp           2023.07.06-1

sxmo-utils suggests no packages.

-- no debconf information



More information about the Debian-on-mobile-maintainers mailing list