Package: kannel Version: 1.4.4-4 Severity: important Dear Maintainer,
Upon installing and configuring, Kannel fails to deliver SMS messages over SMSC's using GSM modems. The bearerbox.log indicates difficulties of routing the messages. However, digging smsc.log reveals SMSC is unable to open the modem (ERRNO=13). This is due to user "kannel" not having enough privileges to open the modem by default. Adding the user "kannel" to group "dialout" resolves this issue. I humbly suggest that the installer will have to handle this, which shall resolve the issue. -- System Information: Debian Release: 9.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages kannel depends on: ii adduser 3.115 ii libc6 2.24-11+deb9u3 ii libct4 0.91-6.1+b4 ii libhiredis0.13 0.13.3-2 ii libmariadbclient18 10.1.26-0+deb9u1 ii libpam0g 1.1.8-3.6 ii libpcre3 2:8.39-3 ii libpq5 9.6.7-0+deb9u1 ii libsqlite0 2.8.17-14 ii libsqlite3-0 3.16.2-5+deb9u1 ii libssl1.0.2 1.0.2l-2+deb9u2 ii libxml2 2.9.4+dfsg1-2.2+deb9u2 ii psmisc 22.21-2.1+b2 ii zlib1g 1:1.2.8.dfsg-5 kannel recommends no packages. kannel suggests no packages. -- Configuration Files: /etc/default/kannel changed: START_SMSBOX=1 /etc/kannel/kannel.conf changed: group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" log-file = "/var/log/kannel/bearerbox.log" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" access-log = "/var/log/kannel/access.log" store-location = "/var/log/kannel/kannel.store" group = smsbox-route smsbox-id = "VH-00_smsB-00" smsc-id = "Wavecom-Q2303-00" group = smsc smsc = at smsc-id = "Wavecom-Q2303-00" modemtype = wavecom_a2303_00 device = /dev/ttyUSB0 sms-center = +9477000003 my-number = +94767676000 connect-allow-ip = "127.0.0.1;192.168.77.3;192.168.77.200" sim-buffering = true keepalive = 5 log-file = "/var/log/kannel/smsc.log" log-level = 5 group = modems id = wavecom_a2303_00 name = "Wavecom Q2303" detect-string = "wavecom" init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" message-storage = "SM" need-sleep = true speed = 115200 group = smsbox smsbox-id = "VH-00_smsB-00" bearerbox-host = 127.0.0.1 bearerbox-port = 13001 sendsms-port = 13013 global-sender = +94767676000 sendsms-chars = "0123456789 +-" log-file = "/var/log/kannel/smsbox.log" log-level = 1 access-log = "/var/log/kannel/access.log" group = sendsms-user username = tester password = foobar user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" group = sendsms-user username = nsim_user password = IwM510FaQ653 user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1;192.168.77.252;192.168.77.254" max-messages = 4 concatenation = true group = sms-service keyword = SMSG-Status allowed-prefix = "+94778811999" text = "FLI-s004-SMSG: [%t] SMSG is running (%i)." group = sms-service keyword = default text = "FLI-s004-SMSG: No service specified" max-messages = 0 -- no debconf information -- Log segments of bearerbox.log 2018-03-20 09:18:14 [5796] [7] DEBUG: sms_router: handling message (0x55732206f9c0 vs 0x55732206f9c0) 2018-03-20 09:18:14 [5796] [7] DEBUG: Routing failed, re-queued. -- Log segments of smsc.log 2018-03-20 09:18:04 [5796] [6] INFO: AT2[Wavecom-Q2303-00]: opening device 2018-03-20 09:18:04 [5796] [6] ERROR: AT2[Wavecom-Q2303-00]: open failed! ERRNO=13 2018-03-20 09:18:04 [5796] [6] ERROR: System error 13: Permission denied