[Bug 495802] New: setfacl call on file on NFS filesystem yields: <file>: invalid agument
http://bugzilla.novell.com/show_bug.cgi?id=495802 Summary: setfacl call on file on NFS filesystem yields: <file>: invalid agument Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: krienke@uni-koblenz.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1.1 Firefox/3.0.8 Hello, since the latest 11.1 kernel update (2.6.27.21-0.1-pae) setfacl no longer works if a ACL is set on a file that is on a NFS filesystem. Before the update of the kernel this worked just fine. The server side did not change at all only the client changed by updateing the kernel. Here an example what happens for a file xx that is on a NFS (V3) mounted filesystem: [~] 1006 > ll xx -rw-r--r-- 1 me employee 0 Apr 17 08:08 xx [krienke@bliss:~] 1007 > setfacl -m u:auser:r xx setfacl: xx: Invalid argument After this the ACL has not been set. The very same problem emerged after the update to the latest kernel eg on SLES10 SP2. Setting ACLs on local filesystems is no problem. The NFS filesystem is mounted with the following options (extracted from from mount|grep filesystem): rw,intr,sloppy,nfsvers=3,proto=tcp,mountproto=udp Thanks Rainer Reproducible: Always Steps to Reproduce: 1. mout a filesystem via NFS V3 (other versions not tested. NFS server is a SLES10SP2 machine, did not test other servers. 2. try to set an ACL on a file on this NFS filesystem -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User admin@eregion.de added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c1 Mathias Homann <admin@eregion.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |admin@eregion.de Severity|Major |Critical --- Comment #1 from Mathias Homann <admin@eregion.de> 2009-04-21 04:22:08 MDT --- related problem seems to be that creating files into a nfs folder with a mask acl fails too.: lemmy@nyuu:/eregion/public/pim/notes> getfacl . # file: . # owner: root # group: netusers user::rwx group::rwx other::r-x default:user::rwx default:user:lemmy:rwx #effective:rw- default:user:mia:rwx #effective:rw- default:group::rwx #effective:rw- default:group:netusers:rwx #effective:rw- default:mask::rw- default:other::r-x lemmy@nyuu:/eregion/public/pim/notes> cat ~/.xinitrc.template > foo bash: foo: Das Argument ist ungültig lemmy@nyuu:/eregion/public/pim/notes> l insgesamt 12 drwxrwsr-x+ 2 root netusers 16 21. Apr 12:21 ./ drwxrwsr-x+ 5 root netusers 50 24. Jan 00:41 ../ -rw-r--r--+ 1 lemmy netusers 0 21. Apr 12:21 foo lemmy@nyuu:/eregion/public/pim/notes> cat ~/.xinitrc.template > foo lemmy@nyuu:/eregion/public/pim/notes> l insgesamt 16 drwxrwsr-x+ 2 root netusers 16 21. Apr 12:21 ./ drwxrwsr-x+ 5 root netusers 50 24. Jan 00:41 ../ -rw-r--r--+ 1 lemmy netusers 3055 21. Apr 12:21 foo lemmy@nyuu:/eregion/public/pim/notes> seems that _creating_ fails, overwriting doesnt. i'd say this is critical, not just major. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 Leon Wang <llwang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |llwang@novell.com AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 Mathias Homann <admin@eregion.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 - Urgent |P3 - Medium AssignedTo|kernel-maintainers@forge.pr |sjayaraman@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User sjayaraman@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c2 Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Suresh Jayaraman <sjayaraman@novell.com> 2009-05-06 22:03:51 MDT --- This bug was due to wrong XDR iovec length calculation during encoding of setacl args that was part of the posix acl fix. The fix has already been committed to openSUSE 11.1 branch as part of Bug #465854. The fix should be available as part of the next kernel update. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User sjayaraman@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c3 --- Comment #3 from Suresh Jayaraman <sjayaraman@novell.com> 2009-05-06 22:07:18 MDT --- Created an attachment (id=290555) --> (http://bugzilla.novell.com/attachment.cgi?id=290555) Patch If you want to see whether the patch fixes your problem before the kernel update, you could patch your kernel with the attached patch. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User sjayaraman@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c4 Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE --- Comment #4 from Suresh Jayaraman <sjayaraman@novell.com> 2009-05-06 22:08:41 MDT --- Marking as RESOLVED DUPLICATE. *** This bug has been marked as a duplicate of bug 465854 *** http://bugzilla.novell.com/show_bug.cgi?id=465854 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User admin@eregion.de added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c5 Mathias Homann <admin@eregion.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE | --- Comment #5 from Mathias Homann <admin@eregion.de> 2009-05-07 10:10:57 MDT --- I don't think that a bug in a "public" product can be _closed_ as a duplicate of a bug that is _not_ visible to anyone... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User sjayaraman@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c6 Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |krienke@uni-koblenz.de --- Comment #6 from Suresh Jayaraman <sjayaraman@novell.com> 2009-05-07 22:48:02 MDT --- Right, make sense. Please see whether the patch in Comment #3 fixes the problem for you and report. Thanks! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User admin@eregion.de added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c7 --- Comment #7 from Mathias Homann <admin@eregion.de> 2009-05-08 01:22:06 MDT --- it seems to _partially_ fix it... i built a kernel with that patch and installed it. i created a folder on my fileserver, made it group writable, and set the following ACL: setfacl -R -d -m g:netusers:rwx -m m:rw -m u:lemmy:rwx -m u:mia:rwx acltest i also changed the group on the folder, and chmod g+ws. now, when i create a file FROM A SHELL on a nfs client, inside that folder, it is writable by that group, and the files inherit the right ACL. BUT: i create a file inside that folder BY A KDE4 APP (korganizer) and the group +ws on the folder gets ignored! ..isn't that way down on filesystem level too? ..going to invenstigate more. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User admin@eregion.de added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c8 Mathias Homann <admin@eregion.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|krienke@uni-koblenz.de | Resolution| |FIXED --- Comment #8 from Mathias Homann <admin@eregion.de> 2009-05-08 01:30:28 MDT --- ok here goes: the patch seems to fix the bug. other KDE apps create files in a nfs folder with ACL on it with the expected results. I shall file a KDE bug against korganizer about those wrong permissions. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User sjayaraman@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c9 Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Suresh Jayaraman <sjayaraman@novell.com> 2009-05-09 02:32:23 MDT --- Excellent! Thanks! Closing this. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User sjayaraman@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c10 Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpmg@eng.cam.ac.uk --- Comment #10 from Suresh Jayaraman <sjayaraman@novell.com> 2009-05-16 06:30:58 MDT --- *** Bug 503405 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=503405 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User kamil@zymeworks.com added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c11 Kamil Kisiel <kamil@zymeworks.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kamil@zymeworks.com --- Comment #11 from Kamil Kisiel <kamil@zymeworks.com> 2009-09-15 12:31:54 MDT --- Is this fix available in a currently available update for openSUSE 11.1 or do I have to patch my kernel? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User lchiquitto@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c12 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lchiquitto@novell.com --- Comment #12 from Leonardo Chiquitto <lchiquitto@novell.com> 2009-09-15 12:49:12 MDT --- The fix was already released with one of the latest openSUSE 11.1 kernel updates. I think this is the change log entry: * Fri Apr 17 2009 sjayaraman@suse.de - patches.fixes/nfs-fix-nfs3_xdr_setaclargs: NFS: Fix the XDR iovec calculation in nfs3_xdr_setaclargs (bnc#465854). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495802 User meissner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=495802#c13 --- Comment #13 from Marcus Meissner <meissner@novell.com> 2009-09-15 12:53:45 MDT --- correct, it is fixed in that update. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com