Re: [gentoo-user] Bug in /etc/init.d/netmount?

2007-10-07 Thread Matthias Fechner
Hi Dan,

Dan Farrell wrote:
 AFAIK you are correct, this is a bug in a few of the initscripts that
 don't behave sensibly if the root fs is network mounted.  

thx for your answer a raised a bug report with the number: 194967.


Bye
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Bug in /etc/init.d/netmount?

2007-10-05 Thread Matthias Fechner
Hi,

I have here a gentoo diskless system which boots over pxeboot and
mount everything over NFS from my big Gentoo server.

But at shutdown I get the error message:
Failed to simply unmount filesystems
  Unmounting network filesystems (retry #1) ...
INIT: no more processes left in this runlevel

After some investigation I found a work-around.
I deleted the line
[[ -z $(umount -art ${rcfilesystems} 21) ]]
in /etc/init.d/netmount (function stop() )

I think the problem here is that netmount unmounts all partitions
(including /) and so the shutdown process cannot be continued.

Should not netmount skip unmounting / ?

Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Bug in /etc/init.d/netmount?

2007-10-05 Thread Dan Farrell
On Fri, 5 Oct 2007 14:33:02 +0200
Matthias Fechner [EMAIL PROTECTED] wrote:

 Hi,
 
 I have here a gentoo diskless system which boots over pxeboot and
 mount everything over NFS from my big Gentoo server.
 
 But at shutdown I get the error message:
 Failed to simply unmount filesystems
   Unmounting network filesystems (retry #1) ...
 INIT: no more processes left in this runlevel
 
 After some investigation I found a work-around.
 I deleted the line
 [[ -z $(umount -art ${rcfilesystems} 21) ]]
 in /etc/init.d/netmount (function stop() )
 
 I think the problem here is that netmount unmounts all partitions
 (including /) and so the shutdown process cannot be continued.
 
 Should not netmount skip unmounting / ?
 
 Best regards,
 Matthias
 

AFAIK you are correct, this is a bug in a few of the initscripts that
don't behave sensibly if the root fs is network mounted.  

Another one that gets messed up is IPTAbles.  I didn't think much of it
because I figured I was the only person in the world crazy enough to
have a diskless router/firewall.  

Interestingly, some of my diskless hosts do all right with this, others
fail to shut down.  

-- 
[EMAIL PROTECTED] mailing list