LSB function start_daemon() does not handle spaces in executable path
Bug #497033 reported by
Anthony Dawson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lsb-base
Ubuntu Release: Ubuntu 8.04.3 LTS
Package Version: 4.0-0ubuntu0.8.04.1
Calling:
start_daemon "/tmp/directory with spaces/daemon"
Error:
/sbin/start-
Expected:
daemon "/tmp/directory with spaces/daemon" to start successfully
Fix:
Add quotes "" around uses of $exec in the function start_daemon in file /lib/lsb/
To post a comment you must log in.