auto-import changelog data from nfs-utils-1.0.6-29.src.rpm
Wed Jun 16 2004 <SteveD@RedHat.com> - nfslock stop is now done on package removals - Eliminate 4 syslog messages that are logged for successful events.
This commit is contained in:
parent
8fe6bc061b
commit
1ae9d4b65d
@ -27,5 +27,68 @@
|
|||||||
+ }
|
+ }
|
||||||
+ return 1;
|
+ return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Eliminate 4 syslog message that are logged for
|
||||||
|
# successful events.
|
||||||
|
#
|
||||||
|
--- src/utils/mountd/mountd.c.org 2003-09-12 18:14:16.000000000 -0400
|
||||||
|
+++ src/utils/mountd/mountd.c 2004-06-16 09:31:06.000000000 -0400
|
||||||
|
@@ -90,10 +90,11 @@ mount_dump_1_svc(struct svc_req *rqstp,
|
||||||
|
{
|
||||||
|
struct sockaddr_in *addr =
|
||||||
|
(struct sockaddr_in *) svc_getcaller(rqstp->rq_xprt);
|
||||||
|
- xlog(L_NOTICE, "dump request from %s",
|
||||||
|
- inet_ntoa(addr->sin_addr));
|
||||||
|
|
||||||
|
- *res = mountlist_list();
|
||||||
|
+ if ((*res = mountlist_list()) == NULL)
|
||||||
|
+ xlog(L_WARNING, "dump request from %s failed.",
|
||||||
|
+ inet_ntoa(addr->sin_addr));
|
||||||
|
+
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -143,9 +144,11 @@ mount_export_1_svc(struct svc_req *rqstp
|
||||||
|
{
|
||||||
|
struct sockaddr_in *addr =
|
||||||
|
(struct sockaddr_in *) svc_getcaller(rqstp->rq_xprt);
|
||||||
|
- xlog(L_NOTICE, "export request from %s",
|
||||||
|
- inet_ntoa(addr->sin_addr));
|
||||||
|
- *resp = get_exportlist();
|
||||||
|
+
|
||||||
|
+ if ((*resp = get_exportlist()) == NULL)
|
||||||
|
+ xlog(L_WARNING, "export request from %s failed.",
|
||||||
|
+ inet_ntoa(addr->sin_addr));
|
||||||
|
+
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -154,9 +157,10 @@ mount_exportall_1_svc(struct svc_req *rq
|
||||||
|
{
|
||||||
|
struct sockaddr_in *addr =
|
||||||
|
(struct sockaddr_in *) svc_getcaller(rqstp->rq_xprt);
|
||||||
|
- xlog(L_NOTICE, "exportall request from %s",
|
||||||
|
- inet_ntoa(addr->sin_addr));
|
||||||
|
- *resp = get_exportlist();
|
||||||
|
+
|
||||||
|
+ if ((*resp = get_exportlist()) == NULL)
|
||||||
|
+ xlog(L_WARNING, "exportall request from %s failed.",
|
||||||
|
+ inet_ntoa(addr->sin_addr));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
--- src/utils/mountd/auth.c.org 2004-06-16 08:54:32.000000000 -0400
|
||||||
|
+++ src/utils/mountd/auth.c 2004-06-16 08:55:15.000000000 -0400
|
||||||
|
@@ -194,9 +194,8 @@ auth_authenticate(char *what, struct soc
|
||||||
|
break;
|
||||||
|
|
||||||
|
case success:
|
||||||
|
- xlog(L_NOTICE, "authenticated %s request from %s:%d for %s (%s)",
|
||||||
|
- what, hp->h_name, ntohs(caller->sin_port), path, epath);
|
||||||
|
break;
|
||||||
|
+
|
||||||
|
default:
|
||||||
|
xlog(L_NOTICE, "%s request from %s:%d for %s (%s) gave %d",
|
||||||
|
what, hp->h_name, ntohs(caller->sin_port), path, epath, error);
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
Summary: NFS utlilities and supporting daemons for the kernel NFS server.
|
Summary: NFS utlilities and supporting daemons for the kernel NFS server.
|
||||||
Name: nfs-utils
|
Name: nfs-utils
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
%define release 27
|
%define release 29
|
||||||
|
|
||||||
%define Release %{release}
|
%define Release %{release}
|
||||||
%if %{rhel3build}
|
%if %{rhel3build}
|
||||||
@ -39,6 +39,7 @@ Patch4: nfs-utils-1.0.3-aclexport.patch
|
|||||||
Patch5: nfs-utils-1.0.6-zerostats.patch
|
Patch5: nfs-utils-1.0.6-zerostats.patch
|
||||||
Patch6: nfs-utils-1.0.6-mountd.patch
|
Patch6: nfs-utils-1.0.6-mountd.patch
|
||||||
Patch7: nfs-utils-1.0.6-expwarn.patch
|
Patch7: nfs-utils-1.0.6-expwarn.patch
|
||||||
|
|
||||||
%if %{nfsv4_support}
|
%if %{nfsv4_support}
|
||||||
Patch20: nfs-utils-nfsv4-pseudoflavor-clients.patch
|
Patch20: nfs-utils-nfsv4-pseudoflavor-clients.patch
|
||||||
Patch21: nfs-utils-nfsv4-mountd_flavors.patch
|
Patch21: nfs-utils-nfsv4-mountd_flavors.patch
|
||||||
@ -194,6 +195,7 @@ fi
|
|||||||
%preun
|
%preun
|
||||||
if [ "$1" = "0" ]; then
|
if [ "$1" = "0" ]; then
|
||||||
/etc/rc.d/init.d/nfs stop
|
/etc/rc.d/init.d/nfs stop
|
||||||
|
/etc/rc.d/init.d/nfslock stop
|
||||||
/sbin/chkconfig --del nfs
|
/sbin/chkconfig --del nfs
|
||||||
/sbin/chkconfig --del nfslock
|
/sbin/chkconfig --del nfslock
|
||||||
/usr/sbin/userdel rpcuser 2>/dev/null || :
|
/usr/sbin/userdel rpcuser 2>/dev/null || :
|
||||||
@ -256,6 +258,11 @@ fi
|
|||||||
%config /etc/rc.d/init.d/nfslock
|
%config /etc/rc.d/init.d/nfslock
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 16 2004 <SteveD@RedHat.com>
|
||||||
|
- nfslock stop is now done on package removals
|
||||||
|
- Eliminate 4 syslog messages that are logged for
|
||||||
|
successful events.
|
||||||
|
|
||||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user