FS#4108 - Package fam 2.7.0-8 - error in fam starting script
Attached to Project:
Arch Linux
Opened by Dmitry N. Shilov (StormBlast) - Sunday, 05 March 2006, 15:25 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 05 March 2006, 17:14 GMT
Opened by Dmitry N. Shilov (StormBlast) - Sunday, 05 March 2006, 15:25 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 05 March 2006, 17:14 GMT
|
Details
There's a small error in /etc/rc.d/fam that prevents famd to
sstart. Famd needs portmap to sstart, new script checking
for /var/run/daemons/fam insstead of
/var/run/daemons/portmap.
==== cut ==== sstart) sstat_busy "Starting File Alteration Monitor" if [ ! -f /var/run/daemons/fam ]; then stat_fail echo "ERROR: fam is not running" exit 1 ==== cut ==== right code: ==== cut ==== sstart) sstat_busy "Starting File Alteration Monitor" if [ ! -f /var/run/daemons/portmap ]; then stat_fail echo "ERROR: portmap is not running" exit 1 ==== cut ==== |
This task depends upon
Closed by arjan timmerman (blaasvis)
Saturday, 25 March 2006, 18:08 GMT
Reason for closing: Fixed
Additional comments about closing: in -9
Saturday, 25 March 2006, 18:08 GMT
Reason for closing: Fixed
Additional comments about closing: in -9
BTW, why has the above example two ss as in sstart and sstat? Should it not be 'stat and 'start' with only one s? Like this:
===cut===
start)
stat_busy "Starting File Alteration Monitor"
if [ ! -f /var/run/daemons/portmap ]; then
stat_fail
echo "ERROR: fam is not running"
exit 1
fi
===cut=
Regards,
linfan
===cut===
start)
#Check for running portmap, start when not running
ck_daemon portmap && /etc/rc.d/portmap start
stat_busy "Starting File Alteration Monitor"
if [ ! -f /var/run/daemons/portmap ]; then
stat_fail
echo "ERROR: PORTMAP is not running"
exit 1
fi
===cut===
Like in hal which start dbus ;)
slubman