* [gentoo-user] Bug in /etc/init.d/netmount?
@ 2007-10-05 12:33 Matthias Fechner
2007-10-05 22:21 ` Dan Farrell
0 siblings, 1 reply; 3+ messages in thread
From: Matthias Fechner @ 2007-10-05 12:33 UTC (permalink / raw
To: gentoo-user
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} 2>&1) ]]
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Bug in /etc/init.d/netmount?
2007-10-05 12:33 [gentoo-user] Bug in /etc/init.d/netmount? Matthias Fechner
@ 2007-10-05 22:21 ` Dan Farrell
2007-10-07 8:46 ` Matthias Fechner
0 siblings, 1 reply; 3+ messages in thread
From: Dan Farrell @ 2007-10-05 22:21 UTC (permalink / raw
To: gentoo-user
On Fri, 5 Oct 2007 14:33:02 +0200
Matthias Fechner <idefix@fechner.net> 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} 2>&1) ]]
> 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.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Bug in /etc/init.d/netmount?
2007-10-05 22:21 ` Dan Farrell
@ 2007-10-07 8:46 ` Matthias Fechner
0 siblings, 0 replies; 3+ messages in thread
From: Matthias Fechner @ 2007-10-07 8:46 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-07 9:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-05 12:33 [gentoo-user] Bug in /etc/init.d/netmount? Matthias Fechner
2007-10-05 22:21 ` Dan Farrell
2007-10-07 8:46 ` Matthias Fechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox