Version of Suse 7.0 doesn't include the latest Amanda patches, 
especially those regarding Samba. To add them you must

- download amanda-2.4.1p1.tar.gz
- unload and untar it
- download samba2-20000418.diff
- extract all four patches from samba2-20000418.diff
- run these patches against the directory amanda-2.4.1p1 you just created

So far, so good. Now you must use some switches to replace the Amanda 
exectables correctly in the non-standard installation of Suse (hell 
knows why they cannot stick with the standard; they do not seem to 
know themselves, at least they didn't answer my e-mail question):

So in amanda-2.4.1p1 run:

$ ./configure --bindir="/usr/bin" --sbindir="/usr/sbin" 
--libexecdir="/usr/lib/amanda" --mandir="/usr/share/man" 
--with-configdir="/etc/amanda" --with-smbclient="/usr/bin/smbclient" 
--with-gnutar="/bin/tar" 
--with-gnutar-listdir="/var/lib/amanda/gnutar-lists" 
--with-config="weekly" --with-tape-device="/dev/nst0" 
--with-buffered-dump --with-amandahosts --with-user=amanda 
--with-group=disk

Replace "/dev/nst0" with the device you are using and "weekly" with 
your configuration file; you may want to change the location of 
configdir, too.

Now make sure YAST doesn't reset all suid settings by adding the 
following lines to /etc/permissions*

# Amanda needs runtar & Co. to be suid root.
#
/usr/lib/amanda/calcsize               root.disk         4754
/usr/lib/amanda/dumper                 root.disk         4754
/usr/lib/amanda/planner                root.disk         4754
/usr/lib/amanda/runtar                 root.disk         4754
/usr/bin/amcheck                       root.disk         4754

and run

$ chkstat -set permissions

Cheers

Thomas Gutzmann
-- 

Gutzmann EDV
Gartenstr. 6
D-23669 Timmendorfer Strand

mailto:  [EMAIL PROTECTED]
phoneto: +49-4503-3523.0
faxto:   +49-4503-3523.13
cometo:  http://www.gutzmann.com

Reply via email to