]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
task/daemon-helper: Add nostdin option
authorSam Lang <sam.lang@inktank.com>
Thu, 2 May 2013 15:49:50 +0000 (10:49 -0500)
committerSage Weil <sage@inktank.com>
Tue, 7 May 2013 00:37:25 +0000 (17:37 -0700)
commitc0f1ef73737dd68774e90f356532ead2b0487784
tree715784689fc1ac56e4ee3bb1f7dcf4ac517b1270
parent980973dc55bf845960915ec3c7016bfc1fdc70dd
task/daemon-helper: Add nostdin option

Some daemons (smbd) will try to read from stdin and check if its a
socket, using that for sending/receiving messages.  If /dev/null is
used for stdin, the daemon aborts.  This patch adds a 'nostdin' option
to the daemon-helper so that the daemon can be started without /dev/null
as stdin.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
teuthology/task/daemon-helper