-
April 12th, 2008, 12:13 AM
#1
Debian package faults 2.6.0-1
These faults were discovered in the amd64 package of 2.6.0-1
During preinst:
Apr 12 2008 08:55:30: Verifying amandabackup user parameters :
Apr 12 2008 08:55:30: !!! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! !!!
Apr 12 2008 08:55:30: !!! user 'amandabackup' is not part of the disk group,Pl !!!
Apr 12 2008 08:55:30: !!! make sure it is corrected before start using amanda !!!
Apr 12 2008 08:55:30: !!! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! !!!
Apr 12 2008 08:55:30:
Apr 12 2008 08:55:30: Checking ownership of '/var/lib/amanda'... incorrect!
Apr 12 2008 08:55:30: Please ensure that the directory '/var/lib/amanda' is owned by
Apr 12 2008 08:55:30: the user 'amandabackup' and group 'disk '.
workaround:
dpkg -x amanda-backup-server-2.6.0-1-amd64.deb /tmp/amanda-pkg
dpkg -e amanda-backup-server-2.6.0-1-amd64.deb /tmp/amanda-pkg
# Remove the spaces after ${amanda_group} in the preinst file
dpkg -b /tmp/amanda-pkg
During postinst:
Apr 12 2008 09:06:23: Installing '/var/amanda/amandates'.
touch: cannot touch `/var/amanda/amandates': No such file or directory
workaround:
- ln -s /var/lib/amanda /var/amanda
Also:
I notice that this package is not quite the same as the package bundled with Debian. For example:
- if /etc/amanda was already created by the official Debian package, it is owned by user backup and is not writeable by amandabackup
- same for /var/log/amanda, /dumps/amanda and /tmp/amanda - if they already exist, the ownership has to be updated
- the user amandabackup is not automatically added to the group `tape' and therefore can't access the tape drive or changer
- different directory locations
- different user (amandabackup instead of just amanda)
Last edited by daniel_p; April 12th, 2008 at 12:28 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules