Description of problem: hddtemp.i needs to run hddtemp with the "-d" flag. Version-Release number of selected component (if applicable): initng-ifiles-0.0.6-2.fc6 How reproducible: always Steps to Reproduce: 1. ng-update add hddtemp 2. boot 3. nc localhost 7634 Actual results: no results, because hddtemp only ran once. Expected results: |/dev/sda|HDS722525VLSA80|35|C||/dev/sdb|HDS722525VLSA80|33|C||/dev/sdc|HDS722525VLSA80|33|C||/dev/sdd|HDS722525VLSA80|34|C| Additional info: Also note that hddtemp on redhat creates /etc/sysconfig/hddtemp for sysv init's use. mine contains: HDDTEMP_OPTIONS="-l 127.0.0.1 /dev/sda /dev/sdb /dev/sdc /dev/sdd" As hddtemp.i is currently written, all that's needed to get it working is for the following (missing) RUN_DAEMON env to be added: --- hddtemp.i.orig 2006-12-22 06:43:23.000000000 -0500 +++ hddtemp.i 2006-12-22 06:51:18.000000000 -0500 @@ -11,6 +11,7 @@ env PORT=7634; env SEPARATOR=|; env SYSLOG=0; + env RUN_DAEMON=yes; env_file = /etc/conf.d/hddtemp; script daemon = { [ -n "${SYSLOG}" -a "${SYSLOG}" != "0" ] && SYSLOG_ARG="-S ${SYSLOG}"
Hmmm... Since I don't use hddtemp myself I can't really confirm this, but I've commited it into upstreams svn. About the writing of /etc/sysconfig/hddtemp I guess a proper fix would be welcome...