svn commit: r250176 - head/usr.sbin/gssd

2013-05-02 Thread Rick Macklem
Author: rmacklem Date: Thu May 2 12:43:56 2013 New Revision: 250176 URL: http://svnweb.freebsd.org/changeset/base/250176 Log: Fix the getpwuid_r() call in the gssd daemon so that it handles the ERANGE error return case. Without this fix, authentication of users for certain system setups

svn commit: r250177 - head/kerberos5/lib/libgssapi_krb5

2013-05-02 Thread Rick Macklem
Author: rmacklem Date: Thu May 2 12:52:49 2013 New Revision: 250177 URL: http://svnweb.freebsd.org/changeset/base/250177 Log: Fix the getpwnam_r() call in the pname_to_uid() kerberos library function so that it handles the ERANGE error return case. Without this fix, authentication of users

svn commit: r250178 - stable/9/sys/kern

2013-05-02 Thread Rick Macklem
Author: rmacklem Date: Thu May 2 13:34:40 2013 New Revision: 250178 URL: http://svnweb.freebsd.org/changeset/base/250178 Log: MFC: r249548 Allow the vnode to be unlocked for the weird case of LK_EXCLOTHER. LK_EXCLOTHER is only used to acquire a usecount on a vnode during NFSv4 recovery

svn commit: r250157 - head/sys/kgssapi/krb5

2013-05-01 Thread Rick Macklem
Author: rmacklem Date: Wed May 1 22:07:55 2013 New Revision: 250157 URL: http://svnweb.freebsd.org/changeset/base/250157 Log: Isilon reported that sec=krb5p NFS mounts had a problem when m_len == 0 for the last mbuf of the list with an encrypted message. This patch replaces the KASSERT()

svn commit: r250158 - head/usr.bin/nfsstat

2013-05-01 Thread Rick Macklem
Author: rmacklem Date: Wed May 1 22:16:29 2013 New Revision: 250158 URL: http://svnweb.freebsd.org/changeset/base/250158 Log: Document that the NFSv4 server statistics are operation counts and not RPC counts. This is a content change. MFC after:2 weeks Modified:

svn commit: r250162 - head/usr.sbin/nfsd

2013-05-01 Thread Rick Macklem
Author: rmacklem Date: Wed May 1 22:50:45 2013 New Revision: 250162 URL: http://svnweb.freebsd.org/changeset/base/250162 Log: Document the fact that an NFSv4 mount against a volume on the same host can result in a hung NFS server and is not recommended. This is a content change. MFC

svn commit: r249623 - in head/sys: fs/nfsclient nfsclient

2013-04-18 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 18 13:09:04 2013 New Revision: 249623 URL: http://svnweb.freebsd.org/changeset/base/249623 Log: Both NFS clients can deadlock when using the rdirplus mount option. This can occur when an nfsiod thread that already holds a buffer lock attempts to acquire a

svn commit: r249630 - in head/sys: fs/nfsclient nfsclient

2013-04-18 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 18 23:20:16 2013 New Revision: 249630 URL: http://svnweb.freebsd.org/changeset/base/249630 Log: When an NFS unmount occurs, once vflush() writes the last dirty buffer for the last vnode on the mount back to the server, it returns. At that point, the code

svn commit: r249548 - head/sys/kern

2013-04-16 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 16 14:22:16 2013 New Revision: 249548 URL: http://svnweb.freebsd.org/changeset/base/249548 Log: Allow the vnode to be unlocked for the weird case of LK_EXCLOTHER. LK_EXCLOTHER is only used to acquire a usecount on a vnode during NFSv4 recovery from an

Re: svn commit: r249096 - head/sys/rpc/rpcsec_gss

2013-04-04 Thread Rick Macklem
Glebius wrote: George, Rick, On Thu, Apr 04, 2013 at 03:16:54PM +, George V. Neville-Neil wrote: G Modified: head/sys/rpc/rpcsec_gss/rpcsec_gss_prot.c G == G --- head/sys/rpc/rpcsec_gss/rpcsec_gss_prot.c Thu

Re: svn commit: r249096 - head/sys/rpc/rpcsec_gss

2013-04-04 Thread Rick Macklem
Glebius wrote: George, Rick, On Thu, Apr 04, 2013 at 03:16:54PM +, George V. Neville-Neil wrote: G Modified: head/sys/rpc/rpcsec_gss/rpcsec_gss_prot.c G == G --- head/sys/rpc/rpcsec_gss/rpcsec_gss_prot.c Thu

svn commit: r245081 - stable/9/usr.sbin/mountd

2013-01-05 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 6 00:35:10 2013 New Revision: 245081 URL: http://svnweb.freebsd.org/changeset/base/245081 Log: MFC: r244689 Attempt to clarify that for ZFS, all file systems under the NFSv4 root must be exported. This is because ZFS checks exports itself. This is a

svn commit: r245082 - stable/9/usr.sbin/nfsd

2013-01-05 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 6 00:38:25 2013 New Revision: 245082 URL: http://svnweb.freebsd.org/changeset/base/245082 Log: MFC: r244690 Attempt to clarify that for ZFS, all file systems under the NFSv4 root must be exported. This is because ZFS checks exports itself. This is a

svn commit: r245086 - stable/8/sys/kern

2013-01-05 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 6 01:11:45 2013 New Revision: 245086 URL: http://svnweb.freebsd.org/changeset/base/245086 Log: MFC: r244226 The group list for a non-default export entry (a host/subnet one) was being copied from the wrong place. This patch fixes that. This could cause

svn commit: r245088 - stable/8/usr.sbin/gssd

2013-01-05 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 6 01:17:58 2013 New Revision: 245088 URL: http://svnweb.freebsd.org/changeset/base/245088 Log: MFC: r244331 Fix the gssd daemon so that it uses syslog() to report an error instead of calling err() when it is daemonized, so that the error gets logged.

svn commit: r245089 - stable/9/usr.sbin/gssd

2013-01-05 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 6 01:41:14 2013 New Revision: 245089 URL: http://svnweb.freebsd.org/changeset/base/245089 Log: MFC: r244604, r244638, r245014 It was reported via email that some sshds create kerberos credential cache files with names other than /tmp/krb5cc_uid. The gssd

svn commit: r245090 - stable/9/usr.sbin/gssd

2013-01-05 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 6 01:46:01 2013 New Revision: 245090 URL: http://svnweb.freebsd.org/changeset/base/245090 Log: MFC: r244605 Document the new gssd daemon options added by r244604. This is a content change. Modified: stable/9/usr.sbin/gssd/gssd.8 Directory Properties:

svn commit: r245014 - head/usr.sbin/gssd

2013-01-03 Thread Rick Macklem
Author: rmacklem Date: Thu Jan 3 22:24:39 2013 New Revision: 245014 URL: http://svnweb.freebsd.org/changeset/base/245014 Log: Fix r244604 so that it builds when MK_KERBEROS_SUPPORT == no. Reported by: bf Tested by:bf Reviewed by: gcooper MFC after:3 days Modified:

svn commit: r245016 - stable/9/usr.sbin/gssd

2013-01-03 Thread Rick Macklem
Author: rmacklem Date: Thu Jan 3 23:09:16 2013 New Revision: 245016 URL: http://svnweb.freebsd.org/changeset/base/245016 Log: MFC: r244331 Fix the gssd daemon so that it uses syslog() to report an error instead of calling err() when it is daemonized, so that the error gets logged.

svn commit: r245018 - stable/9/sys/kgssapi

2013-01-03 Thread Rick Macklem
Author: rmacklem Date: Thu Jan 3 23:15:36 2013 New Revision: 245018 URL: http://svnweb.freebsd.org/changeset/base/245018 Log: MFC: r244370 Piete.Brooks at cl.cam.ac.uk reported via email a crash which was caused by use of an invalid kgss_gssd_handle during an upcall to the gssd daemon

svn commit: r245019 - stable/9/usr.sbin/nfsd

2013-01-03 Thread Rick Macklem
Author: rmacklem Date: Thu Jan 3 23:21:01 2013 New Revision: 245019 URL: http://svnweb.freebsd.org/changeset/base/245019 Log: MFC: r27 Post r243965 the nfsd daemon will not start up for kernels built without options INET6. This patch fixes the problem. Modified:

svn commit: r244772 - stable/9/sys/kern

2012-12-28 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 28 14:06:49 2012 New Revision: 244772 URL: http://svnweb.freebsd.org/changeset/base/244772 Log: MFC: r244226 The group list for a non-default export entry (a host/subnet one) was being copied from the wrong place. This patch fixes that. This could cause

svn commit: r244689 - head/usr.sbin/mountd

2012-12-25 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 25 22:34:43 2012 New Revision: 244689 URL: http://svnweb.freebsd.org/changeset/base/244689 Log: Attempt to clarify that for ZFS, all file systems under the NFSv4 root must be exported. This is because ZFS checks exports itself. This is a content change.

svn commit: r244690 - head/usr.sbin/nfsd

2012-12-25 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 25 22:47:49 2012 New Revision: 244690 URL: http://svnweb.freebsd.org/changeset/base/244690 Log: Attempt to clarify that for ZFS, all file systems under the NFSv4 root must be exported. This is because ZFS checks exports itself. This is a content change.

Re: svn commit: r244605 - head/usr.sbin/gssd

2012-12-23 Thread Rick Macklem
Benjamin Kaduk wrote: Hi Rick, Thanks for all this -- it's good stuff to have. On Sat, Dec 22, 2012 at 6:34 PM, Rick Macklem rmack...@freebsd.org wrote: Author: rmacklem Date: Sat Dec 22 23:34:28 2012 New Revision: 244605 URL: http://svnweb.freebsd.org/changeset/base/244605

svn commit: r244638 - head/usr.sbin/gssd

2012-12-23 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 23 20:12:57 2012 New Revision: 244638 URL: http://svnweb.freebsd.org/changeset/base/244638 Log: Fix the Makefile so it can build gssd.c after r244604. MFC after:2 weeks Modified: head/usr.sbin/gssd/Makefile Modified: head/usr.sbin/gssd/Makefile

Re: svn commit: r244604 - head/usr.sbin/gssd

2012-12-23 Thread Rick Macklem
Stefan Farfeleder wrote: On Sat, Dec 22, 2012 at 11:21:17PM +, Rick Macklem wrote: Author: rmacklem Date: Sat Dec 22 23:21:17 2012 New Revision: 244604 URL: http://svnweb.freebsd.org/changeset/base/244604 Log: It was reported via email that some sshds create kerberos

svn commit: r244604 - head/usr.sbin/gssd

2012-12-22 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 22 23:21:17 2012 New Revision: 244604 URL: http://svnweb.freebsd.org/changeset/base/244604 Log: It was reported via email that some sshds create kerberos credential cache files with names other than /tmp/krb5cc_uid. The gssd daemon does not know how to find

svn commit: r244605 - head/usr.sbin/gssd

2012-12-22 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 22 23:34:28 2012 New Revision: 244605 URL: http://svnweb.freebsd.org/changeset/base/244605 Log: Document the new gssd daemon options added by r244604. This is a content change. MFC after:2 weeks Modified: head/usr.sbin/gssd/gssd.8 Modified:

svn commit: r244447 - head/usr.sbin/nfsd

2012-12-19 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 19 21:00:22 2012 New Revision: 27 URL: http://svnweb.freebsd.org/changeset/base/27 Log: Post r243965 the nfsd daemon will not start up for kernels built without options INET6. This patch fixes the problem. Reported by: avg Tested by:avg MFC

svn commit: r244370 - head/sys/kgssapi

2012-12-17 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 18 00:25:48 2012 New Revision: 244370 URL: http://svnweb.freebsd.org/changeset/base/244370 Log: Piete.Brooks at cl.cam.ac.uk reported via email a crash which was caused by use of an invalid kgss_gssd_handle during an upcall to the gssd daemon when it has

svn commit: r244289 - in stable/9/sys: fs/nfs fs/nfsclient nfs

2012-12-16 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 16 14:01:56 2012 New Revision: 244289 URL: http://svnweb.freebsd.org/changeset/base/244289 Log: MFC: r243782 Add an nfssvc() option to the kernel for the new NFS client which dumps out the actual options being used by an NFS mount. This will be used to add a

svn commit: r244291 - stable/9/usr.bin/nfsstat

2012-12-16 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 16 14:10:12 2012 New Revision: 244291 URL: http://svnweb.freebsd.org/changeset/base/244291 Log: MFC: r243783 Add a -m option to nfsstat, which dumps out the actual options used by all NFS mounts. Works for the new/default NFS client only. Modified:

svn commit: r244292 - stable/9/usr.bin/nfsstat

2012-12-16 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 16 14:13:10 2012 New Revision: 244292 URL: http://svnweb.freebsd.org/changeset/base/244292 Log: MFC: r243784 Document the -m option added by r243783. This is a content change. Modified: stable/9/usr.bin/nfsstat/nfsstat.1 Directory Properties:

svn commit: r244331 - head/usr.sbin/gssd

2012-12-16 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 17 00:31:55 2012 New Revision: 244331 URL: http://svnweb.freebsd.org/changeset/base/244331 Log: Fix the gssd daemon so that it uses syslog() to report an error instead of calling err() when it is daemonized, so that the error gets logged. Discussed with:

svn commit: r244226 - head/sys/kern

2012-12-14 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 14 21:49:06 2012 New Revision: 244226 URL: http://svnweb.freebsd.org/changeset/base/244226 Log: The group list for a non-default export entry (a host/subnet one) was being copied from the wrong place. This patch fixes that. This could cause access failures for

svn commit: r244055 - head/sbin/mount_nfs

2012-12-09 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 9 21:26:47 2012 New Revision: 244055 URL: http://svnweb.freebsd.org/changeset/base/244055 Log: Document the new NFS mount options added by r244042. This is a content change. Modified: head/sbin/mount_nfs/mount_nfs.8 Modified: head/sbin/mount_nfs/mount_nfs.8

svn commit: r244056 - head/sys/fs/nfsclient

2012-12-09 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 9 22:23:50 2012 New Revision: 244056 URL: http://svnweb.freebsd.org/changeset/base/244056 Log: Add nfsstat -m support for the two new NFS mount options added by r244042. Modified: head/sys/fs/nfsclient/nfs_clvfsops.c Modified:

svn commit: r244042 - in head/sys: fs/nfs fs/nfsclient fs/nfsserver nfsclient

2012-12-08 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 8 22:52:39 2012 New Revision: 244042 URL: http://svnweb.freebsd.org/changeset/base/244042 Log: Move the NFSv4.1 client patches over from projects/nfsv4.1-client to head. I don't think the NFS client behaviour will change unless the new minorversion=1 mount

svn commit: r244008 - head/sys/rpc

2012-12-07 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 8 00:29:16 2012 New Revision: 244008 URL: http://svnweb.freebsd.org/changeset/base/244008 Log: Add support for backchannels to the kernel RPC. Backchannels are used by NFSv4.1 for callbacks. A backchannel is a connection established by the client, but used

svn commit: r243782 - in head/sys: fs/nfs fs/nfsclient nfs

2012-12-01 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 2 01:16:04 2012 New Revision: 243782 URL: http://svnweb.freebsd.org/changeset/base/243782 Log: Add an nfssvc() option to the kernel for the new NFS client which dumps out the actual options being used by an NFS mount. This will be used to implement a -m

svn commit: r243783 - head/usr.bin/nfsstat

2012-12-01 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 2 01:20:43 2012 New Revision: 243783 URL: http://svnweb.freebsd.org/changeset/base/243783 Log: Add a -m option to nfsstat, which dumps out the actual options used by all NFS mounts. Works for the new/default NFS client only. Reviewed by: alfred MFC

svn commit: r243784 - head/usr.bin/nfsstat

2012-12-01 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 2 01:25:19 2012 New Revision: 243784 URL: http://svnweb.freebsd.org/changeset/base/243784 Log: Document the -m option added by r243783. This is a content change. Reviewed by: alfred MFC after:2 weeks Modified: head/usr.bin/nfsstat/nfsstat.1

svn commit: r243738 - in stable/9/sys: fs/nfsserver nfs

2012-11-30 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 1 01:07:51 2012 New Revision: 243738 URL: http://svnweb.freebsd.org/changeset/base/243738 Log: MFC: r241561 Add two new options to the nfssvc(2) syscall that allow processes running as root to suspend/resume execution of the kernel nfsd threads. An earlier

svn commit: r243739 - stable/9/usr.sbin/mountd

2012-11-30 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 1 01:11:59 2012 New Revision: 243739 URL: http://svnweb.freebsd.org/changeset/base/243739 Log: MFC: r241568 Add a new '-S' option to mountd, which tells it to suspend execution of the nfsd threads while it is reloading the exports. This avoids clients from

svn commit: r243740 - stable/9/usr.sbin/mountd

2012-11-30 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 1 01:16:40 2012 New Revision: 243740 URL: http://svnweb.freebsd.org/changeset/base/243740 Log: MFC: r241569 Document the -S option added by r241568. Modified: stable/9/usr.sbin/mountd/mountd.8 Directory Properties: stable/9/usr.sbin/mountd/ (props

Re: svn commit: r243645 - head/usr.sbin/nfsd

2012-11-29 Thread Rick Macklem
Mateusz Guzik wrote: On Wed, Nov 28, 2012 at 07:14:23PM -0500, Rick Macklem wrote: Mateusz Guzik wrote: On Wed, Nov 28, 2012 at 02:47:32AM +, Alfred Perlstein wrote: Author: alfred Date: Wed Nov 28 02:47:31 2012 New Revision: 243645 URL: http://svnweb.freebsd.org

Re: svn commit: r243645 - head/usr.sbin/nfsd

2012-11-28 Thread Rick Macklem
Mateusz Guzik wrote: On Wed, Nov 28, 2012 at 02:47:32AM +, Alfred Perlstein wrote: Author: alfred Date: Wed Nov 28 02:47:31 2012 New Revision: 243645 URL: http://svnweb.freebsd.org/changeset/base/243645 Log: Don't allow minthreads maxthreads. Suggested by: rmacklem

svn commit: r242220 - stable/9/sys/rpc/rpcsec_gss

2012-10-28 Thread Rick Macklem
Author: rmacklem Date: Sun Oct 28 12:23:57 2012 New Revision: 242220 URL: http://svn.freebsd.org/changeset/base/242220 Log: MFC: r242090 Modify the comment to take out the names and URL. Modified: stable/9/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c Directory Properties: stable/9/sys/ (props

svn commit: r242221 - stable/8/sys/rpc/rpcsec_gss

2012-10-28 Thread Rick Macklem
Author: rmacklem Date: Sun Oct 28 12:28:04 2012 New Revision: 242221 URL: http://svn.freebsd.org/changeset/base/242221 Log: MFC: r242090 Modify the comment to take out the names and URL. Modified: stable/8/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c Directory Properties: stable/8/sys/ (props

svn commit: r242090 - head/sys/rpc/rpcsec_gss

2012-10-25 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 25 19:30:58 2012 New Revision: 242090 URL: http://svn.freebsd.org/changeset/base/242090 Log: Modify the comment to take out the names and URL. Requested by: kib MFC after:3 days Modified: head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c Modified:

svn commit: r242017 - stable/9/sys/rpc/rpcsec_gss

2012-10-24 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 25 00:45:51 2012 New Revision: 242017 URL: http://svn.freebsd.org/changeset/base/242017 Log: MFC: r241582 Add a comment describing why r241097 was done. Modified: stable/9/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c Directory Properties: stable/9/sys/ (props

svn commit: r242018 - stable/8/sys/rpc/rpcsec_gss

2012-10-24 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 25 00:50:14 2012 New Revision: 242018 URL: http://svn.freebsd.org/changeset/base/242018 Log: MFC: r241582 Add a comment describing why r241097 was done. Modified: stable/8/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c Directory Properties: stable/8/sys/ (props

Re: svn commit: r241601 - in stable/9: lib/libc/rpc sys/rpc

2012-10-16 Thread Rick Macklem
Pedro F. Giffuni wrote: Author: pfg Date: Tue Oct 16 01:37:17 2012 New Revision: 241601 URL: http://svn.freebsd.org/changeset/base/241601 Log: MFC r241143: rpc: be sure to free cl_netid and cl_tp. When creating a client with clnt_tli_create, it uses strdup to copy strings for these

svn commit: r241582 - head/sys/rpc/rpcsec_gss

2012-10-15 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 15 13:38:25 2012 New Revision: 241582 URL: http://svn.freebsd.org/changeset/base/241582 Log: Add a comment describing why r241097 was done. Suggested by: rwatson MFC after:1 week Modified: head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c Modified:

svn commit: r241561 - in head/sys: fs/nfsserver nfs

2012-10-14 Thread Rick Macklem
Author: rmacklem Date: Sun Oct 14 22:33:17 2012 New Revision: 241561 URL: http://svn.freebsd.org/changeset/base/241561 Log: Add two new options to the nfssvc(2) syscall that allow processes running as root to suspend/resume execution of the kernel nfsd threads. An earlier version of this

svn commit: r241568 - head/usr.sbin/mountd

2012-10-14 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 15 00:17:16 2012 New Revision: 241568 URL: http://svn.freebsd.org/changeset/base/241568 Log: Add a new '-S' option to mountd, which tells it to suspend execution of the nfsd threads while it is reloading the exports. This avoids clients from getting

svn commit: r241569 - head/usr.sbin/mountd

2012-10-14 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 15 00:24:23 2012 New Revision: 241569 URL: http://svn.freebsd.org/changeset/base/241569 Log: Add a description for the '-S' option to the mountd man page. This is a content change. Reviewed by: kib MFC after:2 weeks Modified:

svn commit: r241570 - stable/9/sys/rpc/rpcsec_gss

2012-10-14 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 15 01:09:33 2012 New Revision: 241570 URL: http://svn.freebsd.org/changeset/base/241570 Log: MFC: r241097 Attila Bogar and Herbert Poeckl both reported similar problems w.r.t. a Linux NFS client doing a krb5 NFS mount against the FreeBSD server. We

svn commit: r241571 - stable/8/sys/rpc/rpcsec_gss

2012-10-14 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 15 01:13:36 2012 New Revision: 241571 URL: http://svn.freebsd.org/changeset/base/241571 Log: MFC: r241097 Attila Bogar and Herbert Poeckl both reported similar problems w.r.t. a Linux NFS client doing a krb5 NFS mount against the FreeBSD server. We

svn commit: r241347 - stable/9/usr.sbin/mountd

2012-10-08 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 8 12:59:09 2012 New Revision: 241347 URL: http://svn.freebsd.org/changeset/base/241347 Log: MFC: r240902 Attila Bogar reported a bug in mountd when multiple export entries with different security flavors are in the exports(5) file. For that case, mountd

svn commit: r241348 - stable/8/usr.sbin/mountd

2012-10-08 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 8 13:14:00 2012 New Revision: 241348 URL: http://svn.freebsd.org/changeset/base/241348 Log: MFC: r240902 Attila Bogar reported a bug in mountd when multiple export entries with different security flavors are in the exports(5) file. For that case, mountd

svn commit: r241306 - in stable/8/sys/fs: nfs nfsclient nfsserver

2012-10-06 Thread Rick Macklem
Author: rmacklem Date: Sat Oct 6 22:14:19 2012 New Revision: 241306 URL: http://svn.freebsd.org/changeset/base/241306 Log: MFC: r240720 Modify the NFSv4 client so that it can handle owner and owner_group strings that consist entirely of digits, interpreting them as the uid/gid number.

svn commit: r241194 - in stable/9/sys/fs: nfs nfsclient nfsserver

2012-10-04 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 4 12:43:45 2012 New Revision: 241194 URL: http://svn.freebsd.org/changeset/base/241194 Log: MFC: r240720 Modify the NFSv4 client so that it can handle owner and owner_group strings that consist entirely of digits, interpreting them as the uid/gid number.

svn commit: r241201 - in stable/8/sys/fs: nfs nfsclient

2012-10-04 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 4 21:55:37 2012 New Revision: 241201 URL: http://svn.freebsd.org/changeset/base/241201 Log: MFC: r240289 Add a simple printf() based debug facility to the new nfs client. Use it for a printf() that can be harmlessly generated for mmap()'d files. It will be

Re: svn commit: r241152 - head/lib/libc/rpc

2012-10-03 Thread Rick Macklem
Bruce Evans wrote: On Wed, 3 Oct 2012, Pedro F. Giffuni wrote: Log: rpc: convert all uid and gid variables of the type uid_t and gid_t. As part of the previous commit, uses of xdr_int() were replaced with xdr_u_int(). This has undesired effects as the second argument doesn't

svn commit: r241097 - head/sys/rpc/rpcsec_gss

2012-10-01 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 1 12:28:58 2012 New Revision: 241097 URL: http://svn.freebsd.org/changeset/base/241097 Log: Attila Bogar and Herbert Poeckl both reported similar problems w.r.t. a Linux NFS client doing a krb5 NFS mount against the FreeBSD server. We determined this was a

svn commit: r240977 - in stable/9/sys/fs: nfs nfsclient

2012-09-26 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 26 23:07:00 2012 New Revision: 240977 URL: http://svn.freebsd.org/changeset/base/240977 Log: MFC: r240289 Add a simple printf() based debug facility to the new nfs client. Use it for a printf() that can be harmlessly generated for mmap()'d files. It will be

svn commit: r240902 - head/usr.sbin/mountd

2012-09-24 Thread Rick Macklem
Author: rmacklem Date: Mon Sep 24 23:57:16 2012 New Revision: 240902 URL: http://svn.freebsd.org/changeset/base/240902 Log: Attila Bogar reported a bug in mountd when multiple export entries with different security flavors are in the exports(5) file. For that case, mountd replies with the

svn commit: r240720 - in head/sys/fs: nfs nfsclient nfsserver

2012-09-19 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 20 02:49:25 2012 New Revision: 240720 URL: http://svn.freebsd.org/changeset/base/240720 Log: Modify the NFSv4 client so that it can handle owner and owner_group strings that consist entirely of digits, interpreting them as the uid/gid number. This change was

svn commit: r240289 - in head/sys/fs: nfs nfsclient

2012-09-09 Thread Rick Macklem
Author: rmacklem Date: Sun Sep 9 21:00:45 2012 New Revision: 240289 URL: http://svn.freebsd.org/changeset/base/240289 Log: Add a simple printf() based debug facility to the new nfs client. Use it for a printf() that can be harmlessly generated for mmap()'d files. It will be used

svn commit: r240213 - stable/8/sys/fs/nfsclient

2012-09-07 Thread Rick Macklem
Author: rmacklem Date: Fri Sep 7 20:57:36 2012 New Revision: 240213 URL: http://svn.freebsd.org/changeset/base/240213 Log: MFC: r237244 Fix the NFSv4 client for the case where mmap'd files are written, but not msync'd by a process. A VOP_PUTPAGES() called when VOP_RECLAIM() happens will

svn commit: r237534 - stable/9/sys/fs/nfsclient

2012-06-24 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 24 13:39:41 2012 New Revision: 237534 URL: http://svn.freebsd.org/changeset/base/237534 Log: MFC: r237200 Move the nfsrpc_close() call in ncl_reclaim() for the NFSv4 client to below the vnode_destroy_vobject() call, since that is where writes are flushed.

svn commit: r237543 - stable/9/sys/fs/nfsclient

2012-06-24 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 25 01:48:18 2012 New Revision: 237543 URL: http://svn.freebsd.org/changeset/base/237543 Log: MFC: r237244 Fix the NFSv4 client for the case where mmap'd files are written, but not msync'd by a process. A VOP_PUTPAGES() called when VOP_RECLAIM() happens will

svn commit: r237244 - head/sys/fs/nfsclient

2012-06-18 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 18 22:17:28 2012 New Revision: 237244 URL: http://svn.freebsd.org/changeset/base/237244 Log: Fix the NFSv4 client for the case where mmap'd files are written, but not msync'd by a process. A VOP_PUTPAGES() called when VOP_RECLAIM() happens will usually fail,

svn commit: r237200 - head/sys/fs/nfsclient

2012-06-17 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 17 18:34:04 2012 New Revision: 237200 URL: http://svn.freebsd.org/changeset/base/237200 Log: Move the nfsrpc_close() call in ncl_reclaim() for the NFSv4 client to below the vnode_destroy_vobject() call, since that is where writes are flushed. Suggested

svn commit: r236887 - stable/9/sys/fs/nfsserver

2012-06-11 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 11 12:34:14 2012 New Revision: 236887 URL: http://svn.freebsd.org/changeset/base/236887 Log: MFC: r235381 Fix two cases in the new NFS server where a tsleep() is used, when the code should actually protect the tested variable with a mutex. Since the

svn commit: r236888 - stable/8/sys/fs/nfsserver

2012-06-11 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 11 13:17:45 2012 New Revision: 236888 URL: http://svn.freebsd.org/changeset/base/236888 Log: MFC: r235381 Fix two cases in the new NFS server where a tsleep() is used, when the code should actually protect the tested variable with a mutex. Since the

svn commit: r236147 - stable/8/sys/fs/nfsserver

2012-05-27 Thread Rick Macklem
Author: rmacklem Date: Sun May 27 12:47:35 2012 New Revision: 236147 URL: http://svn.freebsd.org/changeset/base/236147 Log: MFC: r234740 Fix a leak of namei lookup path buffers that occurs when a ZFS volume is exported via the new NFS server. The leak occurred because the new NFS server

svn commit: r236150 - in stable/8/sys: fs/nfsclient nfsclient

2012-05-27 Thread Rick Macklem
Author: rmacklem Date: Sun May 27 14:20:46 2012 New Revision: 236150 URL: http://svn.freebsd.org/changeset/base/236150 Log: MFC: r235332 PR# 165923 reported intermittent write failures for dirty memory mapped pages being written back on an NFS mount. Since any thread can call

svn commit: r236096 - in stable/9/sys: fs/nfsclient nfsclient

2012-05-26 Thread Rick Macklem
Author: rmacklem Date: Sat May 26 13:12:14 2012 New Revision: 236096 URL: http://svn.freebsd.org/changeset/base/236096 Log: MFC: r235332 PR# 165923 reported intermittent write failures for dirty memory mapped pages being written back on an NFS mount. Since any thread can call

svn commit: r236134 - stable/9/sys/fs/nfsserver

2012-05-26 Thread Rick Macklem
Author: rmacklem Date: Sun May 27 01:24:08 2012 New Revision: 236134 URL: http://svn.freebsd.org/changeset/base/236134 Log: MFC: r234740 Fix a leak of namei lookup path buffers that occurs when a ZFS volume is exported via the new NFS server. The leak occurred because the new NFS server

svn commit: r235906 - stable/9/sys/fs/nfs

2012-05-24 Thread Rick Macklem
Author: rmacklem Date: Thu May 24 12:28:11 2012 New Revision: 235906 URL: http://svn.freebsd.org/changeset/base/235906 Log: MFC: r235568 A problem with the NFSv4 server was reported by Andrew Leonard to freebsd-fs@, where the setfacl of an NFSv4 acl would fail. This was caused by the

svn commit: r235910 - stable/8/sys/fs/nfs

2012-05-24 Thread Rick Macklem
Author: rmacklem Date: Thu May 24 13:15:15 2012 New Revision: 235910 URL: http://svn.freebsd.org/changeset/base/235910 Log: MFC: r235568 A problem with the NFSv4 server was reported by Andrew Leonard to freebsd-fs@, where the setfacl of an NFSv4 acl would fail. This was caused by the

svn commit: r235568 - head/sys/fs/nfs

2012-05-17 Thread Rick Macklem
Author: rmacklem Date: Thu May 17 21:52:17 2012 New Revision: 235568 URL: http://svn.freebsd.org/changeset/base/235568 Log: A problem with the NFSv4 server was reported by Andrew Leonard to freebsd-fs@, where the setfacl of an NFSv4 acl would fail. This was caused by the VOP_ACLCHECK() call

svn commit: r235397 - in stable/9/sys: fs/nfsclient i386/conf kern

2012-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 13 13:35:50 2012 New Revision: 235397 URL: http://svn.freebsd.org/changeset/base/235397 Log: MFC: r234742 It was reported via email that some non-FreeBSD NFS servers do not include file attributes in the reply to an NFS create RPC under certain

svn commit: r235417 - in stable/8/sys: fs/nfsclient i386/conf

2012-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 13 20:28:43 2012 New Revision: 235417 URL: http://svn.freebsd.org/changeset/base/235417 Log: MFC: r234742 It was reported via email that some non-FreeBSD NFS servers do not include file attributes in the reply to an NFS create RPC under certain

svn commit: r235332 - in head/sys: fs/nfsclient nfsclient

2012-05-12 Thread Rick Macklem
Author: rmacklem Date: Sat May 12 12:02:51 2012 New Revision: 235332 URL: http://svn.freebsd.org/changeset/base/235332 Log: PR# 165923 reported intermittent write failures for dirty memory mapped pages being written back on an NFS mount. Since any thread can call VOP_PUTPAGES() to write

svn commit: r235381 - head/sys/fs/nfsserver

2012-05-12 Thread Rick Macklem
Author: rmacklem Date: Sat May 12 22:20:55 2012 New Revision: 235381 URL: http://svn.freebsd.org/changeset/base/235381 Log: Fix two cases in the new NFS server where a tsleep() is used, when the code should actually protect the tested variable with a mutex. Since the tsleep()s had a 10sec

svn commit: r234740 - head/sys/fs/nfsserver

2012-04-27 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 27 20:23:24 2012 New Revision: 234740 URL: http://svn.freebsd.org/changeset/base/234740 Log: Fix a leak of namei lookup path buffers that occurs when a ZFS volume is exported via the new NFS server. The leak occurred because the new NFS server code didn't

svn commit: r234742 - head/sys/fs/nfsclient

2012-04-27 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 27 22:23:06 2012 New Revision: 234742 URL: http://svn.freebsd.org/changeset/base/234742 Log: It was reported via email that some non-FreeBSD NFS servers do not include file attributes in the reply to an NFS create RPC under certain circumstances. This

svn commit: r234621 - svnadmin/conf

2012-04-23 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 23 22:06:57 2012 New Revision: 234621 URL: http://svn.freebsd.org/changeset/base/234621 Log: John W. De Boskey's commit bit has been re-enabled with rmacklem@ as mentor, to do some work on the new NFS server. Approved by: core Modified:

svn commit: r234061 - in stable/8/sys: fs/nfsclient i386/conf nfsclient

2012-04-09 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 9 15:34:23 2012 New Revision: 234061 URL: http://svn.freebsd.org/changeset/base/234061 Log: MFC: r232327 Fix the NFS clients so that they use copyin() instead of bcopy(), when doing direct I/O. This direct I/O code is not enabled by default. Modified:

svn commit: r234049 - in stable/8/sys: fs/nfs fs/nfsserver i386/conf

2012-04-08 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 9 03:08:22 2012 New Revision: 234049 URL: http://svn.freebsd.org/changeset/base/234049 Log: MFC: r231805 Delete a couple of out of date comments that are no longer true in the new NFS client. Modified: stable/8/sys/fs/nfs/nfs_commonport.c

svn commit: r234050 - in stable/8/sys: fs/nfsserver i386/conf

2012-04-08 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 9 03:39:50 2012 New Revision: 234050 URL: http://svn.freebsd.org/changeset/base/234050 Log: MFC: r232050 hrs@ reported a panic to freebsd-stable@ under the subject line panic in 8.3-PRERELEASE on Feb. 22, 2012. This panic was caused by use of a mix of

svn commit: r232682 - in stable/9/sys: fs/nfsclient i386/conf nfsclient

2012-03-07 Thread Rick Macklem
Author: rmacklem Date: Thu Mar 8 02:27:29 2012 New Revision: 232682 URL: http://svn.freebsd.org/changeset/base/232682 Log: MFC: r232327 Fix the NFS clients so that they use copyin() instead of bcopy(), when doing direct I/O. This direct I/O code is not enabled by default. Modified:

svn commit: r232683 - in stable/9/sys: fs/nfsserver i386/conf

2012-03-07 Thread Rick Macklem
Author: rmacklem Date: Thu Mar 8 03:02:48 2012 New Revision: 232683 URL: http://svn.freebsd.org/changeset/base/232683 Log: MFC: r2323467 The name caching changes of r230394 exposed an intermittent bug in the new NFS server for NFSv4, where it would report ENOENT when the file actually

svn commit: r232467 - head/sys/fs/nfsserver

2012-03-03 Thread Rick Macklem
Author: rmacklem Date: Sat Mar 3 16:13:20 2012 New Revision: 232467 URL: http://svn.freebsd.org/changeset/base/232467 Log: The name caching changes of r230394 exposed an intermittent bug in the new NFS server for NFSv4, where it would report ENOENT when the file actually existed on the

svn commit: r232420 - in head/sys: fs/nfsclient kern nfsclient sys

2012-03-02 Thread Rick Macklem
Author: rmacklem Date: Sat Mar 3 01:06:54 2012 New Revision: 232420 URL: http://svn.freebsd.org/changeset/base/232420 Log: Post r230394, the Lookup RPC counts for both NFS clients increased significantly. Upon investigation this was caused by name cache misses for lookups of ... For name

Re: svn commit: r226967 - head/sys/ufs/ufs

2012-03-02 Thread Rick Macklem
John Baldwin wrote: On Friday, March 02, 2012 8:29:21 am Peter Holm wrote: On Thu, Mar 01, 2012 at 04:47:41PM -0500, John Baldwin wrote: On Monday, October 31, 2011 11:01:47 am Peter Holm wrote: Author: pho Date: Mon Oct 31 15:01:47 2011 New Revision: 226967 URL:

<    6   7   8   9   10   11   12   13   14   15   >