Bug#1065422: kamailio: Please use /bin/bash

Matthias Urlichs smurf at smurf.noris.de
Mon Mar 4 09:15:55 GMT 2024


Package: kamailio
Version: 5.6.3-2
Severity: normal
X-Debbugs-Cc: smurf at smurf.noris.de

# /usr/sbin/kamdbctl
-e \E[37;31mERROR: could not load the script in /usr/lib/x86_64-linux-gnu/kamailio//kamctl/kamdbctl.sqlite for database engine SQLITE
-e \E[37;31mERROR: database engine not loaded - tried 'SQLITE'

This is supposed to be red. Unfortunately /bin/sh links to /bin/dash whose
built-in "echo" doesn't support the "-e" flag, nor threse escape codes.

Please use #!/bin/bash in the Kamailio shell scripts.
Alternately, use /bin/echo instead of the built-in one.


-- System Information:
Debian Release: 12.5
  APT prefers stable
  APT policy: (750, 'stable'), (700, 'testing'), (650, 'oldstable'), (600, 'oldoldstable'), (500, 'stable-security'), (500, 'oldstable-security'), (500, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64, armhf

Kernel: Linux 6.1.0-15-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
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)
LSM: AppArmor: enabled

Versions of packages kamailio depends on:
ii  adduser                    3.134
ii  init-system-helpers        1.65.2
ii  libc6                      2.36-9+deb12u4
ii  libncurses6                6.4-4
ii  libpcre2-8-0               10.42-1
ii  libpcre3                   2:8.39-15
pn  libreadline7               <none>
ii  libreadline8               8.2-1.3
ii  libstdc++6                 14-20240201-3
ii  libtinfo6                  6.4-4
ii  lsb-base                   11.6
pn  python                     <none>
ii  python3                    3.11.2-1+b1
ii  sysvinit-utils [lsb-base]  3.06-4

kamailio recommends no packages.

Versions of packages kamailio suggests:
pn  kamailio-berkeley-modules   <none>
pn  kamailio-cpl-modules        <none>
pn  kamailio-ldap-modules       <none>
pn  kamailio-lua-modules        <none>
pn  kamailio-mono-modules       <none>
pn  kamailio-mysql-modules      <none>
pn  kamailio-perl-modules       <none>
pn  kamailio-postgres-modules   <none>
pn  kamailio-presence-modules   <none>
pn  kamailio-python-modules     <none>
pn  kamailio-python3-modules    <none>
pn  kamailio-radius-modules     <none>
pn  kamailio-redis-modules      <none>
pn  kamailio-snmpstats-modules  <none>
pn  kamailio-tls-modules        <none>
pn  kamailio-unixodbc-modules   <none>
pn  kamailio-xml-modules        <none>
pn  kamailio-xmpp-modules       <none>
pn  stun-server | turn-server   <none>



More information about the Pkg-voip-maintainers mailing list