All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS mount problem since 017
@ 2012-03-18  9:25 Wim Muskee
       [not found] ` <CAKzfqkd3hGyqhVvfdSFg7=R595cEjy0gNpnwmBcHQnUXOxbkOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Wim Muskee @ 2012-03-18  9:25 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

I have a chroot that get's mounted via NFS at boot time, after the
root mount, some scripts kick in (after Dracut) and mount some tmpfs
directories on the NFS mount.

The command I'm using is: dracut --force -m "nfs network base"
(hostonly is turned off)

This worked fine using dracut-014, however when using an image
generated by dracut-017, I get the following error when trying a mount
a dir on the NFS mounted chroot:

mount: only root can do that (effective UID is 4294967294)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: NFS mount problem since 017
       [not found] ` <CAKzfqkd3hGyqhVvfdSFg7=R595cEjy0gNpnwmBcHQnUXOxbkOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-03-19  8:23   ` Karel Zak
       [not found]     ` <20120319082324.GA29521-s5vVilr7EKH/9pzu0YdTqQ@public.gmane.org>
  2012-03-27 18:13   ` Wim Muskee
  1 sibling, 1 reply; 7+ messages in thread
From: Karel Zak @ 2012-03-19  8:23 UTC (permalink / raw)
  To: Wim Muskee; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

On Sun, Mar 18, 2012 at 10:25:44AM +0100, Wim Muskee wrote:
> I have a chroot that get's mounted via NFS at boot time, after the
> root mount, some scripts kick in (after Dracut) and mount some tmpfs
> directories on the NFS mount.
> 
> The command I'm using is: dracut --force -m "nfs network base"
> (hostonly is turned off)
> 
> This worked fine using dracut-014, however when using an image
> generated by dracut-017, I get the following error when trying a mount
> a dir on the NFS mounted chroot:
> 
> mount: only root can do that (effective UID is 4294967294)

 is it the new mount from  util-linux 2.21? Please, cut & past mount
 -V, it would be also nice to have the mount command line with all
 arguments.

    Karel

-- 
 Karel Zak  <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: NFS mount problem since 017
       [not found]     ` <20120319082324.GA29521-s5vVilr7EKH/9pzu0YdTqQ@public.gmane.org>
@ 2012-03-27 17:43       ` Wim Muskee
  0 siblings, 0 replies; 7+ messages in thread
From: Wim Muskee @ 2012-03-27 17:43 UTC (permalink / raw)
  To: Karel Zak; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

>  is it the new mount from  util-linux 2.21? Please, cut & past mount
>  -V, it would be also nice to have the mount command line with all
>  arguments.
>
Nope, using util-linux-2.20.1-r2 on Gentoo
$ mount -V
mount from util-linux 2.20.1 (with libblkid support)

The full mount command is:
mount -t nfs -oro,nolock 192.168.0.1:/opt/ltsp-dev/i686 /sysroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: NFS mount problem since 017
       [not found] ` <CAKzfqkd3hGyqhVvfdSFg7=R595cEjy0gNpnwmBcHQnUXOxbkOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2012-03-19  8:23   ` Karel Zak
@ 2012-03-27 18:13   ` Wim Muskee
       [not found]     ` <CAKzfqkcWuySSQRSOdk=Z-UbVieHUEb4aHVs9qro3uw7Q6s-7jg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Wim Muskee @ 2012-03-27 18:13 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

Harald also asked me on irc to check if rpc.idmapd was running.

I added a ps fax | grep idmap at the end of 95nfs/nfsroot-cleanup.sh
and saw no rpc.idmapd process.

Is that the correct way to check? I figured at the end of the cleanup,
it should be there.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: NFS mount problem since 017
       [not found]     ` <CAKzfqkcWuySSQRSOdk=Z-UbVieHUEb4aHVs9qro3uw7Q6s-7jg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-03-29 10:39       ` Harald Hoyer
       [not found]         ` <4F743BF8.9000608-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Hoyer @ 2012-03-29 10:39 UTC (permalink / raw)
  To: Wim Muskee; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

Am 27.03.2012 20:13, schrieb Wim Muskee:
> Harald also asked me on irc to check if rpc.idmapd was running.
> 
> I added a ps fax | grep idmap at the end of 95nfs/nfsroot-cleanup.sh
> and saw no rpc.idmapd process.
> 
> Is that the correct way to check? I figured at the end of the cleanup,
> it should be there.
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Ah, we now kill rpc.idmapd. So before you do any action, you have to restart
rpc.idmapd in the real root.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: NFS mount problem since 017
       [not found]         ` <4F743BF8.9000608-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2012-03-29 18:53           ` Wim Muskee
       [not found]             ` <CAKzfqkeDMpAKarVENVFHddERc0ySn1acnQR=K1wKCDC=N5dGTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Wim Muskee @ 2012-03-29 18:53 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

On Thu, Mar 29, 2012 at 12:39 PM, Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> Am 27.03.2012 20:13, schrieb Wim Muskee:
>
> Ah, we now kill rpc.idmapd. So before you do any action, you have to restart
> rpc.idmapd in the real root.

Any reason the rpc.idmapd is killed now?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: NFS mount problem since 017
       [not found]             ` <CAKzfqkeDMpAKarVENVFHddERc0ySn1acnQR=K1wKCDC=N5dGTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-03-30  9:01               ` Harald Hoyer
  0 siblings, 0 replies; 7+ messages in thread
From: Harald Hoyer @ 2012-03-30  9:01 UTC (permalink / raw)
  To: Wim Muskee; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

Am 29.03.2012 20:53, schrieb Wim Muskee:
> On Thu, Mar 29, 2012 at 12:39 PM, Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>> Am 27.03.2012 20:13, schrieb Wim Muskee:
>>
>> Ah, we now kill rpc.idmapd. So before you do any action, you have to restart
>> rpc.idmapd in the real root.
> 
> Any reason the rpc.idmapd is killed now?
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

ok, just investigated: we kill rcp.idmapd since dracut 0.3.

must be another problem

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-30  9:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-18  9:25 NFS mount problem since 017 Wim Muskee
     [not found] ` <CAKzfqkd3hGyqhVvfdSFg7=R595cEjy0gNpnwmBcHQnUXOxbkOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-19  8:23   ` Karel Zak
     [not found]     ` <20120319082324.GA29521-s5vVilr7EKH/9pzu0YdTqQ@public.gmane.org>
2012-03-27 17:43       ` Wim Muskee
2012-03-27 18:13   ` Wim Muskee
     [not found]     ` <CAKzfqkcWuySSQRSOdk=Z-UbVieHUEb4aHVs9qro3uw7Q6s-7jg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-29 10:39       ` Harald Hoyer
     [not found]         ` <4F743BF8.9000608-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-03-29 18:53           ` Wim Muskee
     [not found]             ` <CAKzfqkeDMpAKarVENVFHddERc0ySn1acnQR=K1wKCDC=N5dGTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-30  9:01               ` Harald Hoyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.