View previous topic :: View next topic |
Author |
Message |
reasonant n00b
Joined: 06 Jan 2004 Posts: 41 Location: Irvine CA
|
Posted: Sat Aug 21, 2004 4:47 pm Post subject: strange /var/lib/init.d error |
|
|
Hi my gentoo box was running nicely and then for no apparent reason it developed an error at boot time.
It says that it cannot create /var/lib/init.d
I had a look in /var/lib and init.d is there but not really. I can see it with ls but if I try ls -l it says it cannot lstat init.d and I cannot delete the file either it says permission denied - I was the root user - and I could mv/cp/delete the other file in the same directory.
I am using a jfs filesystem and I have tried running fsck.jfs but it does not find any errors.
Any help would be appreciated as I am currently stuck in my windows box.
Cheers
PS This also creates a bunch of errors when I try and shutdown and I have to manually poweroff. |
|
Back to top |
|
|
friez n00b
Joined: 17 Aug 2004 Posts: 11 Location: usa
|
Posted: Sat Aug 21, 2004 5:36 pm Post subject: |
|
|
i experience this same problem. to fix the problem i edited /etc/rc.conf
and changed it
Code: |
# Should we mount $svcdir as a tmpfs or ramfs for some speed
# increase for slower machines, or for the more extreme setups ?
svcmount="yes"
|
make sure they are uncommented
Code: |
# FS type that should be used for $svcdir. Note that you need
# $svcmount above set to "yes" for this to work ... Currently
# "tmpfs" and "ramfs" are supported, with "tmpfs" the default.
svcfstype="tmpfs"
|
hope this helps |
|
Back to top |
|
|
reasonant n00b
Joined: 06 Jan 2004 Posts: 41 Location: Irvine CA
|
Posted: Sat Aug 21, 2004 8:18 pm Post subject: |
|
|
Thanks for the help.
Unfortunately I had a look in my /etc/rc.conf file and there are no lines resembling the ones you recommended changing. I tried adding them but it made no difference. This has made me wonder if I have landed up with an old/wrong version of /etc/rc.conf (maybe through careles use of etc-update) - is this a possibility? And if it is where can I get the right version of rc.conf from?
Cheers. |
|
Back to top |
|
|
reasonant n00b
Joined: 06 Jan 2004 Posts: 41 Location: Irvine CA
|
Posted: Sat Aug 21, 2004 8:37 pm Post subject: |
|
|
ADDITIONS:
I think that the file you suggested changing is not actually rc.conf - I did a 'cat /etc/* | grep svc' and saw that in a file somewhere (I don't know how to ger grep to tell me where it found things - is that even possible?) in /etc are the lines
svcmount=yes
svcfstype=tmpfs
So unfortunately for me it appears this not the the problem. I think that I do not like the jfs filesystem and I will probably rebuild the root partition with a reiserfs system (moral: don't try new things).
Cheers |
|
Back to top |
|
|
friez n00b
Joined: 17 Aug 2004 Posts: 11 Location: usa
|
Posted: Sun Aug 22, 2004 11:36 pm Post subject: |
|
|
oops yes you are right that is not the right file, it should be
sorry for the mistake |
|
Back to top |
|
|
|