Kathy Hadley
2010-Jun-01 13:12 UTC
[Xen-devel] Issue with changeset 21295 (Add basic bash completion for xl command)?
Greetings, I downloaded xen-unstable last Thursday (May 27) and installed it on my machine. Since then, I have been unable to boot the machine (except into recovery mode). When logging into the machine, I receive the following error message in the ~/.xsession-errors file: /etc/gdm/Xsession: Beginning session setup... /etc/profile.d/xl.sh: 9: Syntax error: "(" unexpected (expecting "}") This appears to be related to the patch made to add basic bash completion for xl command (changesets 21253, 21284 & 21295). Any suggestions to resolving this issue would be appreciated. Thank you, Kathy Hadley DornerWorks, Ltd. Embedded Systems Engineering 3445 Lake Eastbrook Blvd SE Grand Rapids, MI 49546 Direct: 616.389.6127 Tel: 616.245.8369 Fax: 616.245.8372 Kathy.Hadley@DornerWorks.com <mailto:Kathy.Hadley@DornerWorks.com> www.DornerWorks.com <http://www.dornerworks.com/> Honored as one of the 2010 "Michigan 50 Companies to Watch" _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Jun-02 16:03 UTC
Re: [Xen-devel] Issue with changeset 21295 (Add basic bash completion for xl command)?
Kathy Hadley writes ("[Xen-devel] Issue with changeset 21295 (Add basic bash completion for xl command)?"):> /etc/gdm/Xsession: Beginning session setup... > /etc/profile.d/xl.sh: 9: Syntax error: "(" unexpected (expecting "}")If you delete that file (/etc/profile.d/xl.sh) you should at least be able to log in again. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kathy Hadley
2010-Jun-02 16:07 UTC
RE: [Xen-devel] Issue with changeset 21295 (Add basic bash completion for xl command)?
Yes, thank you, I did that and was able to log in again. I am wondering if the error is due to the fact that the "xl.sh" script uses bash-specific syntax or commands, but Xsession is running dash instead? Should "xl.sh" check to see if the interpreting shell is bash before executing them? Thank you, Kathy Hadley> -----Original Message----- > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Sent: Wednesday, June 02, 2010 12:04 PM > To: Kathy Hadley > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] Issue with changeset 21295 (Add basic bash > completionfor xl command)? > > Kathy Hadley writes ("[Xen-devel] Issue with changeset 21295 (Addbasic> bash completion for xl command)?"): > > /etc/gdm/Xsession: Beginning session setup... > > /etc/profile.d/xl.sh: 9: Syntax error: "(" unexpected (expecting"}")> > If you delete that file (/etc/profile.d/xl.sh) you should at least be > able to log in again. > > Ian._______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Jun-02 16:09 UTC
RE: [Xen-devel] Issue with changeset 21295 (Add basic bash completion for xl command)?
Kathy Hadley writes ("RE: [Xen-devel] Issue with changeset 21295 (Add basic bash completion for xl command)?"):> Yes, thank you, I did that and was able to log in again. I am wondering > if the error is due to the fact that the "xl.sh" script uses > bash-specific syntax or commands, but Xsession is running dash instead? > Should "xl.sh" check to see if the interpreting shell is bash before > executing them?Certainly it shouldn''t be installed in /etc/profile.d unless it does do such a check. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2010-Jun-02 16:19 UTC
RE: [Xen-devel] Issue with changeset 21295 (Add basic bash completion for xl command)?
On Wed, 2010-06-02 at 17:09 +0100, Ian Jackson wrote:> Kathy Hadley writes ("RE: [Xen-devel] Issue with changeset 21295 (Add basic bash completion for xl command)?"): > > Yes, thank you, I did that and was able to log in again. I am wondering > > if the error is due to the fact that the "xl.sh" script uses > > bash-specific syntax or commands, but Xsession is running dash instead? > > Should "xl.sh" check to see if the interpreting shell is bash before > > executing them? > > Certainly it shouldn''t be installed in /etc/profile.d unless it does > do such a check.Looking at the content of xl.sh I''d say it ought to be installing itself to /etc/bash_completion.d/ anyway. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel