Jean-Francois,
bsdtcp is always using the "amanda" service, this is a bug.
With the attached patch, it will use the '--with-testing' setting, the
'amanda-conf10' service will be used.
Jean-Louis
Jean-Francois Malouin wrote:
Hello,
Thanks to some Jean-Louis who provided a patch to make amanda
parse properly the config file when running irix-6.5.x
Now next problem: amcheck complains that selfcheck failed due to
connection refused. I wonder which port numbers are used when
amanda was compiled with the following flags:
--with-bsdtcp-security \
--with-amandahosts \
--with-testing=conf10 \
-with-tcpportrange=20482,20993 \
--with-udpportrange=955,978 \
Under the bsdtcp auth scheme which amanda ports
should I define in /etc/services? Right now I have
the following:
amanda-conf10 10116/tcp
amanda-conf10 10116/udp
kamanda-conf10 10117/udp
amandaidx-conf10 10118/tcp
amidxtape-conf10 10119/tcp
and inetd.conf looks like:
amanda-conf10 stream tcp nowait amanda <amanda_root>/libexec/amandad \
amandad -auth=bsdtcp amdump amindexd amidxtaped
and ~amanda/.amandahosts:
<server_name> amanda amdump amindexd amidxtaped
regards,
jf
diff -u -r --show-c-function --exclude-from=amanda.diff
amanda-2.5.1.orig/common-src/bsdtcp-security.c
amanda-2.5.1.service/common-src/bsdtcp-security.c
--- amanda-2.5.1.orig/common-src/bsdtcp-security.c 2006-07-13
07:35:19.000000000 -0400
+++ amanda-2.5.1.service/common-src/bsdtcp-security.c 2006-09-12
07:35:39.000000000 -0400
@@ -227,7 +227,7 @@ runbsdtcp(
uid_t euid;
struct tcp_conn * rc = rh->rc;
- if ((sp = getservbyname("amanda", "tcp")) == NULL) {
+ if ((sp = getservbyname(AMANDA_SERVICE_NAME, "tcp")) == NULL) {
error("%s/tcp unknown protocol", "amanda");
}
Only in amanda-2.5.1.service/config: .config.h.swp
|