Bug#779292: dahdi init script hides dahdi_cfg stderr and don't check dahdi_cfg exit status

2015-02-26 Thread bertrand
Package: dahdi Version: 1:2.5.0.1-2 Severity: normal Dear Maintainer, * What led up to the situation? Fresh install of dahdi/asterisk, which ends up with a mistake in /etc/dahdi/system.conf (in my case due to improper line lc_country ca from genconf_parameter propagated to system.conf by

Bug#779292: dahdi init script hides dahdi_cfg stderr and don't check dahdi_cfg exit status

2015-02-26 Thread Tzafrir Cohen
Hi, Thanks for your report, On Thu, Feb 26, 2015 at 04:43:50PM +, bertrand wrote: Since /etc/dahdi/system.conf contains an error, dahdi_cfg will fail. However, dahdi init script redirect dahdi_cfg stderr to /dev/null and don't check dahdi_cfg exit code: if [ $system = debian ];