Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rc-scripts : syntax error near unexpected token `('
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
lastman
n00b
n00b


Joined: 12 Jan 2005
Posts: 3
Location: France

PostPosted: Sun Dec 11, 2005 2:39 pm    Post subject: rc-scripts : syntax error near unexpected token `(' Reply with quote

After a system freeze, I had no other solution but to push my reset button.

When the system rebooted, I got a bunch of errors like
Code:
syntax error near unexpected token `('
during the system startup, with services which therefore refused to start, even manually after the boot process (the same error had shown up). I tried to reemerge baselayout, bash, portage with no success. Since I work with ~amd64, I tried to emerge the latest stable baselayout from amd64 but my problem was still there.

My FS is reiserfs, and emerge was compiling something at the time of the freeze. etc-update tells me it has nothing to do.

I'm pretty much stuck here, and don't really have time for an emerge -e system or an emerge -e world for now.

Any ideas that could help me to solve my problem?

Thank you very much in advance.
Back to top
View user's profile Send private message
DaNIsH
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 197
Location: Melbourne, Australia.

PostPosted: Sun Dec 11, 2005 3:15 pm    Post subject: Reply with quote

Same problem, although different situation (no hard reboot). I've randomly got a syntax error in the net.lo init file.
Code:
/etc/init.d/net.eth0: line 182: syntax error near unexpected token `('
/etc/init.d/net.eth0: line 182: `        eval umods=( \"\$\{modules_${iface}\[@\]\}\" )''
Hand typed looking at laptop screen, so might not be 100% accurate.
_________________
Adopt an unanswered post today
Back to top
View user's profile Send private message
lastman
n00b
n00b


Joined: 12 Jan 2005
Posts: 3
Location: France

PostPosted: Sun Dec 11, 2005 3:20 pm    Post subject: Reply with quote

You got exactly the same message I have with the latest stable baselayout...

:roll:
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Dec 11, 2005 3:26 pm    Post subject: Reply with quote

I am thinking this is caused by the new bash 3.1?
Back to top
View user's profile Send private message
lastman
n00b
n00b


Joined: 12 Jan 2005
Posts: 3
Location: France

PostPosted: Sun Dec 11, 2005 3:45 pm    Post subject: Reply with quote

Thank you, downgrading bash resolved the issue.

I hope the next bash ebuilds won't lead to this issue anymore. I don't have time right now to post on bugs.gentoo.org, if someone can, please do.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Dec 11, 2005 4:17 pm    Post subject: Reply with quote

It has already been submitted.. This is basically a duplicate thread.. (Well the topic is already started in another)
Back to top
View user's profile Send private message
wolfden
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2004
Posts: 102
Location: Midwest

PostPosted: Mon Dec 12, 2005 1:11 pm    Post subject: Reply with quote

how can I down grade bash? I can't get my internet working cause of this same error


NM

emerge =bash-3.0-r14

should do it
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Dec 12, 2005 3:02 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Duplicate Threads in favour of bash-3.1 - Don't go in the water!
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum