Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RC-UPDATE caused unwanted changes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fuhreal
n00b
n00b


Joined: 29 Apr 2004
Posts: 66
Location: Toronto

PostPosted: Tue Jun 29, 2004 10:49 pm    Post subject: RC-UPDATE caused unwanted changes Reply with quote

Hello,


I recenlty ran my emerge -u world and after went to update my config files, instead of running etc-update, i accidentally ran rc-update as the true nib nub i am.

Now on every boot i get an error saying
Code:
/sbin/rc error on line 357: start: command not found


and then the next line my localmount fails. I'm not sure what went wrong as I didn't add any startup scripts before i ran rc-update. Everything seems to work fine still however this error is annoying and it seems as if localmount is an important script that should be executing. I do not know where to start to fix this. I'm thinking i'll be asked for the line 357 from my /sbin/rc.......


When shutting down after using my computer i get

Code:
localmount has sytax errors and will not be run


any ideas ?
Back to top
View user's profile Send private message
grimm26
Guru
Guru


Joined: 23 May 2004
Posts: 313
Location: Chicagoland, IL

PostPosted: Tue Jun 29, 2004 11:43 pm    Post subject: Reply with quote

running rc-update with no args only shows you the help messages. You didn't break anything by doing that. Run etc-update and go through that. After that, reboot and see how things look.
_________________
"Blessed is he who finds happiness in his own foolishness, for he will always be happy".
Back to top
View user's profile Send private message
fuhreal
n00b
n00b


Joined: 29 Apr 2004
Posts: 66
Location: Toronto

PostPosted: Wed Jun 30, 2004 4:09 am    Post subject: Reply with quote

well I ran etc-update again and it didn't change anything still getting the error when booting. This is the section of the /sbin/rc that has the error...

Code:
  start_critical_service() {
                (
                        local retval=

                        source "/etc/init.d/${x}" || eerror "Failed to source /etc/init.d/${x}"
                        retval=$?
                        [ "${retval}" -ne 0 ] && return "${retval}"

                        start || eerror "Failed to start /etc/init.d/${x}"
                        retval=$?

                        return "${retval}"
                )
        }


The line with start || eeror is the line that error message tells me on boot. Then my /etc/init.d/localmount says

Code:
 #!/sbin/runscript


for some reason on boot localmount will not start and then gives syntax errors on shutdown... i tried removing one of the (e)'s in line 357 from above but that totally halted boot so i put it back..... i'm lost...
Back to top
View user's profile Send private message
grimm26
Guru
Guru


Joined: 23 May 2004
Posts: 313
Location: Chicagoland, IL

PostPosted: Wed Jun 30, 2004 4:53 pm    Post subject: Reply with quote

If that is truly all that is in your /etc/init.d/localmount, then that is your problem. My localmount file is 47 lines long, so I'll PM it to you.
_________________
"Blessed is he who finds happiness in his own foolishness, for he will always be happy".
Back to top
View user's profile Send private message
fuhreal
n00b
n00b


Joined: 29 Apr 2004
Posts: 66
Location: Toronto

PostPosted: Thu Jul 01, 2004 2:53 am    Post subject: Reply with quote

thanx for the localmount however its not compatible with my setup... <sigh> ....
Back to top
View user's profile Send private message
grimm26
Guru
Guru


Joined: 23 May 2004
Posts: 313
Location: Chicagoland, IL

PostPosted: Thu Jul 01, 2004 6:02 am    Post subject: Reply with quote

well, /etc/init.d/localmount is part of the baselayout package, so try emerging that again.
Code:

mark@bodhi 102 $ equery belongs /etc/init.d/localmount
Searching for file '/etc/init.d/localmount' in *...
sys-apps/baselayout-1.9.4-r2 (/etc/init.d/localmount)
mark@bodhi 103 $

_________________
"Blessed is he who finds happiness in his own foolishness, for he will always be happy".
Back to top
View user's profile Send private message
fuhreal
n00b
n00b


Joined: 29 Apr 2004
Posts: 66
Location: Toronto

PostPosted: Thu Jul 01, 2004 11:02 pm    Post subject: Reply with quote

Well I tried re emerging the baselayout and that did not work either, however i tried another sbin/rc script and a localmount from an IRC gentoo user name OPELLO...

ALL PRAISE OPELLO THE FIXER OF BROKEN SCHTUFF 8O

and it works now :)

thanx for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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