Bug#749024: Bad command line in init script

James Cloos cloos at jhcloos.com
Fri May 23 04:45:59 UTC 2014


Package: asterisk
Version: 1:11.9.0~dfsg-1
Severity: important

Today’s update breaks /etc/init.d/asterisk.

It passes $ETCDIR (/etc/asterisk) as the value for the -C option when
starting asterisk.

The -C option specifies a file, not a directory.

The easy, short-term workaround is to add:

ETCDIR=/etc/asterisk/asterisk.conf

to /etc/default/asterisk.

If the init script wants to use -C and ETCDIR, it should pass

	-C ${ETCDIR}/asterisk.conf


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages asterisk depends on:
ii  adduser                                       3.113+nmu3
ii  asterisk-config                               1:11.9.0~dfsg-1
ii  asterisk-core-sounds-en [asterisk-prompt-en]  1.4.22-1
ii  asterisk-core-sounds-en-gsm                   1.4.22-1
ii  asterisk-modules                              1:11.9.0~dfsg-1
ii  libc6                                         2.18-7
ii  libcap2                                       1:2.22-1.2
ii  libedit2                                      3.1-20140213-1
ii  libgcc1                                       1:4.9.0-4
ii  libpopt0                                      1.16-8
ii  libsqlite3-0                                  3.8.4.3-3
ii  libssl1.0.0                                   1.0.1g-4
ii  libstdc++6                                    4.9.0-4
ii  libtinfo5                                     5.9+20140118-1
ii  libxml2                                       2.9.1+dfsg1-3

Versions of packages asterisk recommends:
ii  asterisk-moh-opsound-gsm                         2.03-1
ii  asterisk-voicemail [asterisk-voicemail-storage]  1:11.9.0~dfsg-1
ii  sox                                              14.4.1-4

Versions of packages asterisk suggests:
pn  asterisk-dahdi   <none>
ii  asterisk-dev     1:11.9.0~dfsg-1
pn  asterisk-doc     <none>
pn  asterisk-ooh323  <none>
pn  asterisk-vpb     <none>

-- Configuration Files:
/etc/default/asterisk changed [not included]

-- no debconf information



More information about the Pkg-voip-maintainers mailing list