Hi to all.
***1st bug (hylafax-server-4.0pl2.rjc11-2mdk)
- ERROR
---------------------------------------------------
errors occured while rotating /var/spool/fax/etc/xferlog
stat of /var/spool/fax/etc/xferlog failed: No such file or directory
---------------------------------------------------
- PROBLEM: /etc/logrotate.d/hylafax
---------------------------------------
/var/spool/fax/etc/xferlog {
rotate 3
monthly
compress
}
---------------------------------------
- SOLUTION
---------------------------------------
/var/spool/fax/etc/xferfaxlog {
rotate 3
monthly
compress
}
---------------------------------------
***2nd bug (hylafax-server-4.0pl2.rjc11-2mdk)
- BUG: hylafax server is not correctly initialized and stopped,
and also the script doesn't support chkconfig !!
original /etc/rc.d/init.d/hylafax
---------------------------------------------------
....
case "$1" in
start)
# Start daemons.
echo -n "Starting hylafax daemon faxq: "
/usr/sbin/faxq ********************* ...missing protocol
parametres !!!! ...and
echo
touch /var/lock/subsys/hylafax
init q
;;
stop)
# Stop daemons.
echo -n "Shutting down hylafax daemon faxq: "
killproc faxq ********************* DANGER !!!! ...if your faxserver
is sending a fax ???
********************* I think that "faxquit" isn't an optional
package !!
echo
rm -f /var/lock/subsys/hylafax
init q
;;
*)
echo "Usage: faxq {start|stop}"
exit 1
esac
exit 0
---------------------------------------------------
Watch on attachment for an alternative script and patches !!!
...I'm also testing other patches to solve minor BUGs and to automate
faxgetty.
--
Yours Sincerly,
Christian Zoffoli __ _
/ / (_)__ __ ____ __
http://www.littlepenguin.org / /__/ / _ \/ // /\ \/ /
[EMAIL PROTECTED] /____/_/_//_/_,_/ /_/_\
* * * LittlePenguin H 1 L.U.G. * * *
BZh91AY&SYQ;U? �? 0@ ^ +��j HS~�z~?�OQ�h� )����Z�?�!?
d?X�9(*�*�~�z��d�`�~.�Sp� �v�
hylafax_startup.tar.bz2