Networking Forums

Networking Forums > Computer Networking > Linux Networking > [PXE + NFS-Root] No Permissions?!

Reply
Thread Tools Display Modes

[PXE + NFS-Root] No Permissions?!

 
 
alexander.surma@gmx.de
Guest
Posts: n/a

 
      09-25-2006, 01:53 PM
Hi,
I just got a bunch of more or less old laptops with no hardware at all
but display and motherboard.
So I thought, that's the perfect excuse to see how this
network-boot-thing works.
After a few days now, I got a nice Kernel which is successfully loaded
over network, the nfs-root-directory is mounted (which is a
debootstrap-ped Debian Sarge directory) and booting sequence is
starting too.

Problem is: Some daemons or filescripts seem to have no permissions to
write on certain files (or devices for that matter).

== SNIP ==
Cleaning /tmprm: cannot remove `./fileZFvUAC: Operation not permitted
....
/etc/init.d/rcS: lime 97: /var/run/.clean: Permission denied
(imagine some more of that kind _here_)
== SNIP ==

This also makes syslogd, klogd, inetd, etc. pp. not start either.

Thing is, I exported that directory with permissions to write and I
mounted it in the parameter with `root=/dev/nfs rw', so it should be
mounted read/write, too. There's no way I could check that, for I
cannot even get to the login shell, because init says:
== SNIP ==
INIT: Id "1" respawning too fast: disabled for 5 minutes
....
INIT: Id "6" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
== SNIP ==

debootstrap of course made all the default device nodes in /dev of the
nfs-root-directory. I don't know if that was a good idea, but I also
don't know any alternative - and udev won't start either.
I'm really out of ideas here. Begging for help

Regards,
Alexander Surma

 
Reply With Quote
 
 
 
 
alexander.surma@gmx.de
Guest
Posts: n/a

 
      09-25-2006, 03:25 PM
> Hi,
> I just got a bunch of more or less old laptops with no hardware at all
> but display and motherboard.
> So I thought, that's the perfect excuse to see how this
> network-boot-thing works.
> After a few days now, I got a nice Kernel which is successfully loaded
> over network, the nfs-root-directory is mounted (which is a
> debootstrap-ped Debian Sarge directory) and booting sequence is
> starting too.
>
> Problem is: Some daemons or filescripts seem to have no permissions to
> write on certain files (or devices for that matter).
>
> == SNIP ==
> Cleaning /tmprm: cannot remove `./fileZFvUAC: Operation not permitted
> ...
> /etc/init.d/rcS: lime 97: /var/run/.clean: Permission denied
> (imagine some more of that kind _here_)
> == SNIP ==


I can this answer myself by now:
Even though "no_all_squash" is default in exporting with nfs, the
root-user seems to be squashed anyway. So I typed "no_root_squash"
manually, and the permission-errors disappeard.

Now, syslog and udev complain, about not beeing able to create
/dev-devices with the description "Adress family not supported by
protocol"
So, maybe you can help me out here.

Regards,
Alexander Surma

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: only root can do that bbaruah2003@yahoo.com Linux Networking 3 02-08-2006 05:49 AM
root hints totomaster Windows Networking 2 10-27-2005 09:16 AM
WG311T wireless card is showing c.root-server.net and other root-server.net in netstat. Robert Home Networking 1 05-06-2005 08:13 PM
Postfix config - cron messages for root going to root@ISP. Doug Laidlaw Linux Networking 5 02-27-2005 03:21 PM
---Mac address can be set by root ? Bill Zhao Linux Networking 1 09-08-2003 05:38 AM



1 2 3 4 5 6 7 8 9 10 11