[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 658] New: ACM scripts broken under Bash 3.1



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=658

           Summary: ACM scripts broken under Bash 3.1
           Product: Xen
           Version: 3.0.2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: mdlemay@xxxxxxxxxxxxxx


The ACM labelfuncs.sh script does not work when interpreted by Bash v.3.1.  It
produces the following error:

Command line: /etc/xen/acm-security/scripts/setlabel.sh fedora.fc5.xen.cfg
dom_HomeBanking chwall_ste 

Error:
/etc/xen/acm-security/scripts/labelfuncs.sh: line 766: unexpected EOF while
looking for matching ``'
/etc/xen/acm-security/scripts/labelfuncs.sh: line 800: syntax error: unexpected
end of file
/etc/xen/acm-security/scripts/setlabel.sh: line 105: relabel: command not found


I then installed Bash 3.0 and added a new comment line to the beginning of the
file, instructing selabel.sh to use bash 3.0.  It worked perfectly.


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.