-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 joseph conrad wrote: > Hi, > I can't make my cvs server execute a simple validating message script: > > 1) I add this entry to the CVSROOT/verifymsg: > DEFAULT /var/lib/cvsd/bin/validate-cvs-log.sh > > 2) I created the file in the lib with the code: > #!/bin/sh > # > # validate-cvs-log.sh logfile > # test that log message has some characters in it > if [ `cat $1 | wc -c ` -lt 10 ] ; then > echo "log message too short; please enter a description for the > changes" > exit 1 > else > exit 0 > fi > > 3) when committing, I get > cvs commit: cannot exec /var/lib/cvsd/bin/validate-cvs-log.sh: No such > file or directory > cvs [commit aborted]: Message verification failed > > any suggestion? > I run CVS on linux red hat
What connection method do you use? If it's pserver, is your server running in a chroot jail? If I were to debug this, I'd start by placing the script in $CVSROOT/CVSROOT and see if that works. If it does, then I'd add a command to the script: ls /var/lib/cvsd/bin/ and see if that works. If not, I'd see if I could ls the cvsd directory, then the lib directory, and so on, right back to / and see what I get there. - -- Jim Hyslop Dreampossible: Better software. Simply. http://www.dreampossible.ca Consulting * Mentoring * Training in C/C++ * OOD * SW Development & Practices * Version Management -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDqAZqLdDyDwyJw+MRAqNcAJ9V6bZkg7+OJWd+DLWNSUh5OQX+vQCg+psZ G+68NQq+ljDAXUc/1y11gq0= =yXB+ -----END PGP SIGNATURE----- _______________________________________________ Info-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/info-cvs
