Bug 147998 - amanda does not understand "include" syntax in disklist
amanda does not understand "include" syntax in disklist
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: amanda (Show other bugs)
i586 Linux
medium Severity high
: ---
: ---
Assigned To: Jay Fenlason
Jay Turner
Depends On:
  Show dependency treegraph
Reported: 2005-02-14 11:52 EST by Gintautas Grigelionis
Modified: 2015-01-07 19:09 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-14 14:45:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gintautas Grigelionis 2005-02-14 11:52:17 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2)

Description of problem:
Syntax like this

fatboy  /bigmama_BIGDIR  /bigmama {     # a big subdirectory
include "./bigdir"

causes complaints from parser about missing ends of lines

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add the definition provided in summary to disklist
2. Run amcheck

Actual Results:  I get a bunck of complaints about bad syntax.

Expected Results:  Amanda should understand the syntax.

Additional info:
Comment 1 Jay Fenlason 2005-02-14 14:45:16 EST
You missed one line in the "man amanda" output: 
       A line break must follow the left curly bracket. 
You can't have a comment at the end of that line.  If I write 
fenlason-desk /local_including /local { 
    include "./tmp" 
} 1 eth0 
in my disklist, it works fine. 

Note You need to log in before you can comment on or make changes to this bug.