On Wed, Jan 30, 2002 at 03:37:58PM -0700, Jeremy Wadsack wrote: > > KEVIN ZEMBOWER ([EMAIL PROTECTED]): > > > One of the things which was disquieting to me while trying to > > troubleshoot my problems with TCP and UDP ports was the inability to > > check what options I had compiled with using "amadmin <conf> version". > > I've pasted in the results of my system at the end of this message. It > > seemed like many other compile time definitions were listed in the > > "defs" section. I initially doubted whether I had compiled it right, > > because "--with-udpportrange=932,948" and > > "--with-tcpportrange=10080,10100" didn't appear. I believe that this > > section is output in some of the routine logging files, also. > > > Just my suggestion. Wasn't sure if I could or should submit this to the > > amanda-dev list, since I don't subscribe to it. > > > -Kevin Zembower > > > amanda@admin:~ > amadmin DailySet1 version > > build: VERSION="Amanda-2.4.3b1" > > BUILT_DATE="Fri Jan 4 11:18:53 EST 2002" > > BUILT_MACH="Linux admin 2.4.4-64GB-SMP #1 SMP Fri May 18 > > 14:54:08 GMT 2001 i686 unknown" > > CC="gcc" > > paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin" > > libexecdir="/usr/local/libexec" mandir="/usr/local/man" > > AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda" > > CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/" > > RDEV_PREFIX="/dev/" DUMP="/sbin/dump" > > RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient" > > GNUTAR="/bin/tar" COMPRESS_PATH="/usr/bin/gzip" > > UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail" > > listed_incr_dir="/usr/local/var/amanda/gnutar-lists" > > defs: DEFAULT_SERVER="admin" DEFAULT_CONFIG="DailySet1" > > DEFAULT_TAPE_SERVER="admin" > > DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM > > LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE > > AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS > > CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP > > COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast" > > COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" > > How about an amadmin command like 'configure-options' that allows you > to do something like this when upgrading: > > ./configure `amadmin configure-options` >
What about config.status? This can be used to rebuild the configuration. Can it be re-used on a newer version of the package? -- Steve Feehan
