Package: lsb-base
Version: 3.1-15
Severity: important

Chris,

I'm using sleepd which uses init-functions/start-daemon. It invokes the
function as
start-daemon -p $PID $DAEMON $PARAMS

I have (for example):
PARAMS=--this --that --start-command 'hibernate -F hibernate.conf'

Thus start-daemon is called with a PARAMS which has a quoted string.
This fails.

The fix I use is to change start-daemon; instead of calling
/sbin/start-stop-daemon, I use 'eval':

eval /sbin/start-stop-daemon ...

This change is on lines 51, 53, 55.

Thanks!


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.30.laptop.01
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages lsb-base depends on:
ii  ncurses-bin                   5.5-3      Terminal-related programs and man 
ii  sed                           4.1.5-1    The GNU sed stream editor

lsb-base recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to