- --with-tcpportrange removed again (people getting AVC denies, #462681)

#448071 re-solved with amanda.conf patch
This commit is contained in:
Daniel Novotny 2008-10-15 13:40:12 +00:00
commit 01a29c5dc0
2 changed files with 21 additions and 2 deletions

View file

@ -0,0 +1,13 @@
diff -up amanda-2.5.2p1/example/amanda.conf.in.orig example/amanda.conf.in
--- amanda-2.5.2p1/example/amanda.conf.in.orig 2007-05-04 13:38:58.000000000 +0200
+++ amanda-2.5.2p1/example/amanda.conf.in 2008-09-19 15:22:17.000000000 +0200
@@ -70,6 +70,9 @@ tapebufs 20 # A positive int
# edition 2.5
usetimestamps yes
+#resolves "resource temporarily unavailable" bug
+unreserved-tcp-port 1025,65535
+
# Specify tape device and/or tape changer. If you don't have a tape
# changer, and you don't want to use more than one tape per run of

View file

@ -11,7 +11,7 @@
Summary: A network-capable tape backup solution
Name: amanda
Version: 2.5.2p1
Release: 12%{?dist}
Release: 13%{?dist}
Source: http://download.sourceforge.net/amanda/amanda-%{version}.tar.gz
Source1: amanda.crontab
Source4: disklist
@ -24,6 +24,7 @@ Patch4: amanda-2.5.2p1-undefSymbols.patch
Patch5: amanda-2.5.2p1-xattrs.patch
Patch6: amanda-2.5.2p1-typo_chg_multi.patch
Patch7: amanda-2.5.2p1-configure.patch
Patch8: amanda-2.5.2p1-tcpport.patch
License: BSD
Group: Applications/System
URL: http://www.amanda.org
@ -92,6 +93,7 @@ be used to develop amanda applications.
%patch5 -p1 -b .xattrs
%patch6 -p1 -b .typo_chg_multi
%patch7 -p1 -b .configure
%patch8 -p1 -b .tcpport
./autogen
%build
@ -117,7 +119,7 @@ export SED=sed
--with-bsdtcp-security \
--with-bsdudp-security \
--with-krb5-security \
--with-tcpportrange=1025,65535
# --with-tcpportrange=1025,65535
make %{?_smp_mflags}
@ -365,6 +367,10 @@ grep -l -E '^dumpuser[[:blank:]]*"amanda"' /etc/amanda/*/amanda.conf |
%{_libdir}/libamandad.so
%changelog
* Wed Oct 15 2008 Daniel Novotny <dnovotny@redhat.com> 2.5.2.p1-13
- --with-tcpportrange removed again (people getting AVC denies, #462681)
#448071 re-solved with amanda.conf patch
* Wed Aug 27 2008 Daniel Novotny <dnovotny@redhat.com> 2.5.2.p1-11
- new Autoconf 2.62 requires changes in Autoconf macros
(resolves #449479)