Results 1 to 4 of 4

Thread: Bug: break missing in amstar.c

  1. #1

    Default Bug: break missing in amstar.c

    Without 'break' adding:

    Code:
    property "COMMAND-OPTIONS".....
    to amanda.conf while using 'amstar' application-tool yields errors:

    Code:
    backup ~ # sudo -u amanda amcheck systemuser
    Amanda Tape Server Host Check
    -----------------------------
    slot 2: volume 'systemuser-2'
    Will write to volume 'systemuser-2' in slot 2.
    NOTE: skipping tape-writable test
    NOTE: info dir /backup/systemuser/curinfo/matrix/_samba_itnml does not exist
    NOTE: it will be created on the next run.
    NOTE: index dir /backup/systemuser/index/matrix/_samba_itnml does not exist
    NOTE: it will be created on the next run.
    Server check took 1.096 seconds
    
    Amanda Backup Client Hosts Check
    --------------------------------
    ERROR: matrix: [amstar: bad ACL property value (-find)]
    ERROR: matrix: [amstar: bad ACL property value (. -newer /tmp/some.file)]
    Client check: 1 host checked in 5.080 seconds.  2 problems found.
    Sample application-tool config:
    Code:
    define application-tool "STAR" {
        comment "star files not older than year"
        plugin "amstar"
        property "STAR-PATH" "/bin/star"
        property "STAR-TARDUMP" "/var/lib/amanda/star-lists/incrlist"
        property "STAR-DLE-TARDUMP" "YES"
        property "COMMAND-OPTIONS" "-find" ". -newer /tmp/some.file"
    }
    Patch file attached.
    Attached Files Attached Files
    Last edited by p_michalczyk; June 29th, 2011 at 07:31 AM.

  2. #2
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,019

    Default

    Which amanda versionare you using?
    Where is the patch?

  3. #3

    Default

    On the client experiencing this issue Amanda 3.2.3, compiled from source.

    On the server Amanda 3.2.2 installed from Gentoo ebuild.

    I added patch few minutes later after editing original post.

  4. #4
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,019

    Default

    Thanks

    I committed the patch.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •