Package: connman Version: 1.33-3 Severity: normal Tags: patch Dear Maintainer,
* What led up to the situation? tried to run connmanctl as normal user * What was the outcome of this action? received command not found error. found that connmanctl is installed in /usr/sbin, so it is only in the $PATH for root. * What outcome did you expect instead? any user should be able to run commanctl -- System Information: Distributor ID: Raspbian Description: Raspbian GNU/Linux testing (stretch) Release: testing Codename: stretch Architecture: armv6l Kernel: Linux 4.4.47-19-ev3dev-rpi+ Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages connman depends on: ii dbus 1.10.16-1 ii init-system-helpers 1.47 ii iptables 1.6.0+snapshot20161117-5 ii libc6 2.24-9 ii libdbus-1-3 1.10.16-1 ii libglib2.0-0 2.50.3-1 ii libgnutls30 3.5.8-3 ii libreadline7 7.0-2 ii libxtables12 1.6.0+snapshot20161117-5 ii lsb-base 9.20161125+rpi1 Versions of packages connman recommends: ii bluez 5.43-2 pn ofono <none> ii wpasupplicant 2:2.4-1 Versions of packages connman suggests: pn connman-vpn <none> -- no debconf information
>From d40d5cd7ad474f60c74ccbef67e54be445654044 Mon Sep 17 00:00:00 2001 From: David Lechner <da...@lechnology.com> Date: Sun, 26 Mar 2017 17:06:38 -0500 Subject: [PATCH] Install connmanctl in /usr/bin/ connmanctl does not require root privlidges, therefore is should be installed in /usr/bin/ instead of /usr/sbin/ --- debian/connman.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/connman.install b/debian/connman.install index 0385537..98670fa 100644 --- a/debian/connman.install +++ b/debian/connman.install @@ -4,7 +4,7 @@ lib/systemd/system/connman-wait-online.service usr/share/man usr/share/polkit-1/actions/net.connman.policy -usr/bin/connmanctl /usr/sbin +usr/bin/connmanctl usr/lib/tmpfiles.d/connman_resolvconf.conf usr/sbin/connmand usr/sbin/connmand-wait-online -- 2.7.4