CVS server opens a pipe and forks a child to go and do the actual work. When that pipe is closed, the cvs server process knows that the child is finished. If you add a 'mail' command to your loginfo file, the cvs server's child will fail to set the FD_CLOEXEC flag on the pipe before forking to run the mail command. This has the effect that all the children of mail, sendmail, etc. have this pipe open, and the cvs server program (and hence the initial commit) hang until every child of the mail program has finished. This is particularly annoying when you've set up loginfo to send mail to a large mailing list :) The fix is for the CVS child process to set FD_CLOEXEC before forking and running the log notification process.
is this still the case if so can you bump the bug to 8.0 version
I'm occasionally seeing an error that may be from the same root cause. When checking in a change, after syncmail is run there is a broken pipe signal. The commit is applied correctly, but the email that goes out has a broken diff. I'll attach a log of the transaction.
Created attachment 124388 [details] errors after running syncmail
(In reply to comment #2) > I'm occasionally seeing an error that may be from the same root cause. When > checking in a change, after syncmail is run there is a broken pipe signal. The > commit is applied correctly, but the email that goes out has a broken diff. > I'll attach a log of the transaction. Which version of syncmail do you use? It looks like syncmail sends message and ends before getting all data from cvs, it may be a bug in syncmail... Could you please attach log file? (like from this message - "cvs commit: saving log message in /tmp/cvsViXjjA")
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Red Hat apologizes that these issues have not been resolved yet. We do want to make sure that no important bugs slip through the cracks. Please check if this issue is still present in a current Fedora Core release. If so, please change the product and version to match, and check the box indicating that the requested information has been provided. Note that any bug still open against Red Hat Linux on will be closed as 'CANTFIX' on September 30, 2006. Thanks again for your help.
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Closing as CANTFIX.