Bug#933948: Config value incorrectly parsed in init.d script

2020-12-27 Thread Norbert Harrer
Hi Markus. I replaced my init scripts with the versions from your merge. And tried with various combinations of spaces and quotes. Works very well. Great regex/escape-fu. Best Regads, Norbert. On 27.12.2020 14:32, Markus Wanner wrote: Control: -1 severity grave Control: -1 tags +pending Hi

Bug#933948: Config value incorrectly parsed in init.d script

2020-12-27 Thread Markus Wanner
Control: -1 severity grave Control: -1 tags +pending Hi, On 11/21/20 3:46 PM, Norbert Harrer wrote: > But in /etc/init.d/courier-mta-ssl it is parsed with sed: > > DO_START=$(sed -ne 's/^ESMTPDSSLSTART=\([^[:space:]]*\)/\1/p' > /etc/courier/esmtpd-ssl | tr "A-Z" "a-z") thanks a lot for this fin

Bug#933948: Config value incorrectly parsed in init.d script

2020-11-21 Thread Norbert Harrer
I don't think it's systemd's fault. There is a sub-optimal sed regex in most courier init.d scripts. Here is a scenario with courier-mta-ssl as an example (though, it also happens to other parts like courier-imap-ssl): Usually, the config file /etc/courier/esmtpd-ssl contains: ESMTPDSSLSTART=YES