View previous topic :: View next topic |
Author |
Message |
fuhreal n00b
Joined: 29 Apr 2004 Posts: 66 Location: Toronto
|
Posted: Tue Jun 29, 2004 10:49 pm Post subject: RC-UPDATE caused unwanted changes |
|
|
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 |
|
|
grimm26 Guru
Joined: 23 May 2004 Posts: 313 Location: Chicagoland, IL
|
Posted: Tue Jun 29, 2004 11:43 pm Post subject: |
|
|
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 |
|
|
fuhreal n00b
Joined: 29 Apr 2004 Posts: 66 Location: Toronto
|
Posted: Wed Jun 30, 2004 4:09 am Post subject: |
|
|
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
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 |
|
|
grimm26 Guru
Joined: 23 May 2004 Posts: 313 Location: Chicagoland, IL
|
Posted: Wed Jun 30, 2004 4:53 pm Post subject: |
|
|
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 |
|
|
fuhreal n00b
Joined: 29 Apr 2004 Posts: 66 Location: Toronto
|
Posted: Thu Jul 01, 2004 2:53 am Post subject: |
|
|
thanx for the localmount however its not compatible with my setup... <sigh> .... |
|
Back to top |
|
|
grimm26 Guru
Joined: 23 May 2004 Posts: 313 Location: Chicagoland, IL
|
Posted: Thu Jul 01, 2004 6:02 am Post subject: |
|
|
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 |
|
|
fuhreal n00b
Joined: 29 Apr 2004 Posts: 66 Location: Toronto
|
Posted: Thu Jul 01, 2004 11:02 pm Post subject: |
|
|
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
and it works now
thanx for your help |
|
Back to top |
|
|
|