[Bug 662711] Re: NFS user/group mapping not working in 10.10

2011-08-17 Thread exa
This bug persists in Ubuntu 11.04 on amd64. The nfsv4 is absolutely not
working, can anybody tell me why this terrible code is the default?
Please remove this non-functional kernel server thing from the
distribution, it doesn't work as it ought to. If nfsv4 isn't working,
then what's the point of this package?

I'll check again about NEED_IDMAPD, it's probably set on my system. I
don't think it solves anything as Radu claims.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662711

Title:
  NFS user/group mapping not working in 10.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/662711/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2011-08-17 Thread exa
BTW, this is likely a 64-bit problem, as that number is -2, right? Maybe
it's an exceptionally bad programming error. I guess I won't see this
problem on i386.

So, maybe there is a serious 64-bit bug, in this case, why is the nfs-
user-server package removed from the distribution, why are the choices
being limited despite the fact that this bug has not been solved for
over a year? Or are you not testing these things on 64-bit machines?

BTW, the claims that this can be fixed simply by changing the
configuration seems to be wrong. The default config in 11.04 already
turns on that non-working idmapd.

This bug can be observed on a single machine running ubuntu 11.04 on
amd64 currently. I'll write more info as I have it.

** Changed in: nfs-utils (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662711

Title:
  NFS user/group mapping not working in 10.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/662711/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2011-08-17 Thread Steve Langasek
On Wed, Aug 17, 2011 at 06:51:31AM -, exa wrote:
 This bug persists in Ubuntu 11.04 on amd64. The nfsv4 is absolutely not
 working, can anybody tell me why this terrible code is the default?

It's not terrible code.  NFSv4 works perfectly well if configured.

 Please remove this non-functional kernel server thing from the
 distribution,

That's not a reasonable request by any measure.  It's perfectly functional
for many people - myself included.

 I'll check again about NEED_IDMAPD, it's probably set on my system.

I don't know why you think it's probably set on your system.  It wouldn't
be set by default.  If it *is* set on your system and you're experiencing
problems, then you're seeing a different issue than this one.

 BTW, this is likely a 64-bit problem, as that number is -2, right? Maybe
 it's an exceptionally bad programming error. I guess I won't see this
 problem on i386.

Incorrect.

 in this case, why is the nfs-user-server package removed from the
 distribution,

Because that's a dead project with a variety of other deficiencies, and the
Debian package maintainer requested its removal.

 why are the choices being limited despite the fact that this bug has not
 been solved for over a year?

nfs-user-server was removed well before this bug became an issue.

 Or are you not testing these things on 64-bit machines?

This has nothing to do with 32- vs 64-bit systems.  (NFSv4 works fine here
on 64-bit installs.)

 BTW, the claims that this can be fixed simply by changing the
 configuration seems to be wrong. The default config in 11.04 already
 turns on that non-working idmapd.

idmapd is turned on by default only on servers, and on clients which specify
nfs4 as a filesystem type in /etc/fstab.  Because mount.nfs now negotiates
NFSv4 first if available, this is no longer the correct default behavior; we
should instead start idmapd unconditionally.

So this is definitely a bug - but it's also one for which there is a trivial
workaround.  Either edit /etc/default/nfs-common to start idmapd, or if your
server advertises NFSv4 but is not configured to do id mapping correctly,
use nfsvers=3 in your mount options.


-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


** Changed in: nfs-utils (Ubuntu)
   Importance: Undecided = Medium

** Changed in: nfs-utils (Ubuntu)
   Status: Confirmed = Triaged

** Summary changed:

- NFS user/group mapping not working in 10.10
+ idmap should be started by default because mount.nfs now negotiates NFSv4 
before NFSv3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662711

Title:
  idmap should be started by default because mount.nfs now negotiates
  NFSv4 before NFSv3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/662711/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 662711] Re: NFS user/group mapping not working in 10.10

2011-08-17 Thread exa
Hi Steve,

On Wed, Aug 17, 2011 at 12:28 PM, Steve Langasek 
steve.langa...@canonical.com wrote:

   BTW, this is likely a 64-bit problem, as that number is -2, right? Maybe
  it's an exceptionally bad programming error. I guess I won't see this
  problem on i386.

 Incorrect.


Have you tested it on amd64?

I'll take a look at the config if it can indeed be solved by trivial
configuration. IIRC, on the machine I tested, I did check the proposed flags
and they were correct. I didn't even touch them.

Cheers,

-- 
Eray Ozkural, PhD candidate.  Comp. Sci. Dept., Bilkent University, Ankara
http://groups.yahoo.com/group/ai-philosophy
http://myspace.com/arizanesil http://myspace.com/malfunct

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662711

Title:
  idmap should be started by default because mount.nfs now negotiates
  NFSv4 before NFSv3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/662711/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2011-04-09 Thread Radu Cristescu
I only accidentally found this bug using Ubuntu 11.04 pre-installed
daily build 20110409 for ARM on a Pandaboard. All my 10.10 i386 machines
work fine, but now that I checked, they're actually not fine, so it was
just luck that it didn't cause me any trouble. Setting NEED_IDMAPD=yes
fixes the problem on the Pandaboard and on my i386 machines. Without
that option, start idmapd will give me a PID, but when I check with ps
there's no rpc.idmapd around.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662711

Title:
  NFS user/group mapping not working in 10.10

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2011-02-28 Thread idistech
im getting the same issue
previously server was 10.04, and clients 10.10.
after upgrade of server to 10.10, both had uid/gid problems.

I have fixed it on one client machine 10.10 by setting the client mount options 
to include ...nfsvers=3
but on another client 10.10 machine, both patched yesterday, the nfsvers option 
is not recognised and fails...mounting nfs4 works, but with broken uid/gids...
mount.nfs4 is the same on both machines...
the working/successful client is 10.10 desktop...and the failing version is a 
10.10 server..

very strange

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662711

Title:
  NFS user/group mapping not working in 10.10

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2011-01-09 Thread Karsten Suehring
We are also affected.

I have worked around the automounter problem by using auto.net and
editing the opt variable to contain -vers=3

-- Karsten

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662711

Title:
  NFS user/group mapping not working in 10.10

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-12-17 Thread Klaus Reichl
Hi out there,

As there is no activity here, I leave my (working) hack in place.  Just
posting to help others with the same problem.

Picked up /sbin/mount.nfs from Ubuntu 10.04 installation.  This defaults
to nfs3 with works around the (I suppose) server side bug with nfs4.

Have fun,
Klaus

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662711

Title:
  NFS user/group mapping not working in 10.10

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-11-30 Thread Klaus Reichl
We have the problem, that the nfs-server is externally hosted and NFS
entries are published via automounter maps.

Running now 10.10 on an NFS client we have the situation:

* mount uses NFS4 per default
* autmounter maps don't give something like vers=3
= nfs stuff is mounted nobody/nogroup

The only solution I tested successfully so far is to
manually mount the things with:
   mount ... vers=3 ...

Another solution, I'm thinking about is to replace
/sbin/mount.nfs which is now /sbin/mount.nfs4 really
with an version mount version 3 per default.
But that's ugly!

Is there something I miss here?  Can I configure a default for mount?

Thanx for info
Klaus

-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-11-22 Thread Adriaan van Nijendaal
This morning, I had a working NFS set-up on an 10.04 server with 10.10
clients. After upgrading the server to 10.10, I had this problem as
well. Setting NEED_STATD=no and NEED_IDMAPD=yes on BOTH ends fixes it,
indeed. Thanks a lot for the info!

And... yes! I would have appreciated a default configuration that would
have worked 'out of the box' (or at least some warning that things have
changed and what to do - which would have saved me a few hours).

I'd like to support the request for a change in the configuration as
well.

-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-10-28 Thread Tiemen Ruiten
I believe this is documented already here:
https://help.ubuntu.com/community/NFSv4Howto

-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-10-28 Thread Pedro Lopes
@Perry:

Thanks, from your suggestion I made the changes to /etc/default/nfs-
common and started idmapd, and the problem was resolved.

@Tiemen:

Thanks for the link, but even the wiki authors seem confused about this
issue...


So, now it seems clear that it is a default configuration problem rather than a 
bug. I suggest this bug report should stand as a request to change the default 
configuration. As it currently stands it breaks NFS setups that were working in 
previous versions of Ubuntu.

-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-10-25 Thread Perry Nguyen
Not a bug it seems, but needs documentation or something somewhere.

10.10 enables NFSv4 and I was able to fix it by enabling nfs idmap on
both server and client.

On my solaris server, I edited /etc/default/nfs and set NFSMAPID_DOMAIN
to my server's name (domain name, whatever), then did svcadm restart
nfs/mapid

On ubuntu, I edited /etc/idmapd.conf and changed Domain to be the same
value as what I set for NFSMAPID_DOMAIN, edit /etc/default/nfs-common
and set NEED_STATD=no and NEED_IDMAPD=yes, then service rpc_pipefs
restart and service idmapd restart, remount your nfs shares (in my case,
service autofs restart); and all the uid/gid mapping should now be
correct.

-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-10-22 Thread John
same problem here, client 10.10 and server 10.10 gives me UID and GID
4294967294. UID and GID are correct on the server but not on the client.

It works however if i connect an ubuntu 10.04 client to the 10.10
server. So it seems to be a client issue. The solution im using is
autofs for all my users, witch cause alot of problem for me so i did a
rollback on my servers =(.

-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-10-21 Thread flux
For what it's worth, I resolved the same (?) problem involving a Solaris
ZFS server and Ubuntu 10.10 nfs client by using nfs mount option vers=3.

-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-10-21 Thread Nick Schef
Solaris servers, ubuntu 10.10 clients. This used to work fine.

Exact same problem as the one above:
However now the client is always displaying 4294967294 for the UID and GID but 
- and here is the strange bit - if I create a file on the client it shows up on 
the server with the correct user and group (but on the client still with 
4294967294).

This creates other problems with the desktop such as a strange behavior
of pulse audio, gdm, thunderbird that thinks my home directory is not
owned by me.

-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-10-20 Thread Martin Felder
I can confirm this bug for our mixed environment (Solaris servers using
zfs, and Ubuntu clients). It does seriously affect us, since the
behaviour of file creation is quite erratic (as far as I can see).
Additional observations:

1. No problems with older Solaris servers running NFS3 and NFS2 - seems
to be specific to NFS4.

2. Creating dir on NFS4 share from Ubuntu 10.10:

ubuntu1010 md test; ls -l
drwxrwx--- 2 4294967294 4294967294  3 2010-10-20 09:00 test
This shows up correctly on Solaris boxes and Ubuntu 10.04 mounting the same 
share:
drwxrwx--- 2 martin staff  2 2010-10-20 09:00 test

3. If I change ownership on Ubuntu 10.10, strange things occur:
ubuntu1010 chown martin:staff test; ls -l
drwxrwx--- 2 martin staff   3 2010-10-20 09:00 test
ubuntu1010 cd test
bash: cd: test: Permission denied
-- This is really annoying!

Meanwhile, on the other machines:
ubuntu1004 ls -l
drwxrwx--- 2 4294967294 4294967294  3 2010-10-20 09:00 test
solaris  ls -l
drwxrwx--- 2 nobody nobody  3 2010-10-20 09:00 test

So, apparently my user info does not get transmitted to the server
either, which makes changing permissions extremely hazardous.

I thus recommend rating this bug as serious.

-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 662711] Re: NFS user/group mapping not working in 10.10

2010-10-18 Thread Pedro Lopes


-- 
NFS user/group mapping not working in 10.10
https://bugs.launchpad.net/bugs/662711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs