On Mon, Aug 07, 2000 at 01:59:35PM -0700, Ellen Spertus wrote:
! The problem is with running /etc/rc.d/init.d/qmail. Whether the guts of
! the start case are any of the following, the script never terminates.
!
! daemon csh -cf '/var/qmail/rc &'
! daemon csh -cf '/var/qmail/rc'
! daemon /var/qmail/rc
!
! Specifically it gets stuck in the call to "nice" made in the "daemon"
! routine defined in /etc/rc.d/init.d/functions:
!
! nice -n $nicelevel initlog $INITLOG_ARGS -c "$*" && success "$base
! startup" || failure "$base startup"
I haven't played with Redhat myself, so can't be authoritative here.
>From the "$*" above, it seems to suggest that the first form won't
work[1]. Two forms might, however (though I can't test):
daemon "/var/qmail/rc &"
daemon "csh -cf '/var/qmail/rc &'"
Failing that, perhaps make a script that executes and backgrounds
/var/qmail/rc and specify that script as an argument to daemon.
[1] The arguments ``csh'', ``-cf'', and ``/var/qmail/rc &'' will get
joined into ``csh -cf /var/qmail/rc &'' and if split again (by
initlog presumably) turn into 4 arguments.
Hope it's something...
---Chris K.
--
Chris, the Young One |_ but what's a dropped message between friends?
Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H.
http://cloud9.hedgee.com/ |_ Robinson, IV
PGP: 0xCCC6114E/0x706A6AAD |_