From 4fdb86bd08c1bbfdcc162e54e093d73fa4721f2c Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Sat, 24 Apr 2004 02:27:29 +0000 Subject: [PATCH] Elaborate upon recent updates. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1287 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/platforms/freebsd/pthreads-fix.txt | 31 ++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/bacula/platforms/freebsd/pthreads-fix.txt b/bacula/platforms/freebsd/pthreads-fix.txt index 5664198089..b7f14d852f 100644 --- a/bacula/platforms/freebsd/pthreads-fix.txt +++ b/bacula/platforms/freebsd/pthreads-fix.txt @@ -11,8 +11,8 @@ PROBLEM DESCRIPTION: The FreeBSD pthreads library does not properly handle End Of Tape. This problem will be fixed in FreeBSD 4.9. (note, the problem -was apparently not fixed in 4.9, and version prior to 4.10-RELEASE -and 5.2.1-RELEASE need to be patched. The bug results in more +was apparently not fixed in 4.9, and versions prior to 4.10-RELEASE +and 5.2.1-RELEASE need to be patched). The bug results in more data being written to the tape than could be read. Any backup which involved more than one tape would be incomplete. @@ -109,6 +109,8 @@ choices to ensure proper backups. These instructions assume you are familiar with patching FreeBSD and already have the FreeBSD source code installed on your machine. +For FreeBSD 4.x: + Do one of the following: - cvsup and build your system to FreeBSD 4.x-STABLE after the @@ -127,7 +129,30 @@ Do one of the following: cd .. make all install -You should then recompile Bacula to get the new library +For FreeBSD 5.x: + +Do one of the following: + +- cvsup and build your >= 5.2 system to FreeBSD 5.x after the + date Wed Dec 17 16:44:03 2003 UTC + +- Apply this patch. + + http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c.diff?r1=1.22&r2=1.23 + + Wed Dec 17 16:44:03 2003 UTC + + To apply the patch, follow these instructions as root. + + fetch -o pthread.diff 'http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c.diff?r1=1.22&r2=1.23' + + cd /usr/src/lib/libc_r/uthread/ + patch < /path/to/pthread.diff + cd .. + make all install + +After patching your system as shown above, +you should then recompile Bacula to get the new library code included by doing: cd -- 2.39.5