Bug#406059: start_daemon regression: spaces in args broken

2007-01-08 Thread Max Kellermann
Package: lsb-base Version: 3.1-22 Severity: important I believe bug #388836 is invalid and the workaround introduced in 3.1-18 is not only wrong, but introduces a real bug. PARAMS=--this --that --start-command 'hibernate -F hibernate.conf' [remark: I had to add double quotes around the value,

Bug#406059: start_daemon regression: spaces in args broken

2007-01-08 Thread Max Kellermann
On 2007/01/08 15:01, Luigi Bai [EMAIL PROTECTED] wrote: The problem arose in the use of the start_daemon function in /etc/init.d/sleepd (from the sleepd package). The sleepd daemon has a -F parameter which can take spaces. This is not unlike other applications (such as bash!) which can take

Bug#406059: start_daemon regression: spaces in args broken

2007-01-08 Thread Luigi Bai
Okay, I think I'm convinced that the sleepd problem can be solved with an 'eval' in the sleepd script, not the init-functions start_daemon function. This fixes the problem for the application that needs it, without breaking other applications. A better solution would perhaps have a separate