Hello community, here is the log from the commit of package nfs-utils checked in at Fri Jun 23 17:10:49 CEST 2006. -------- --- nfs-utils/nfs-utils.changes 2006-06-21 12:13:24.000000000 +0200 +++ nfs-utils/nfs-utils.changes 2006-06-23 15:56:32.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Jun 23 15:20:54 CEST 2006 - ro@suse.de + +- find kerberos ticket files even if /tmp on reiser (#187775) + +------------------------------------------------------------------- New: ---- nfs-utils-1.0.7-gssd-select-ccache.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nfs-utils.spec ++++++ --- /var/tmp/diff_new_pack.Ugbei9/_old 2006-06-23 17:10:22.000000000 +0200 +++ /var/tmp/diff_new_pack.Ugbei9/_new 2006-06-23 17:10:22.000000000 +0200 @@ -15,7 +15,7 @@ URL: http://nfs.sourceforge.net Summary: Support Utilities for Kernel nfsd Version: 1.0.7 -Release: 38 +Release: 39 Group: Productivity/Networking/NFS Obsoletes: knfsd linuxnfs nfsutils Provides: knfsd linuxnfs nfsutils @@ -51,6 +51,7 @@ Patch16: nfs-utils-1.0.7-strip.patch Patch17: nfs-utils-64bigendian.patch Patch18: nfs-utils-1.0.7-mount_type3.patch +Patch19: nfs-utils-1.0.7-gssd-select-ccache.patch %description This package contains the NFS utilities. You can tune the number of @@ -84,6 +85,7 @@ %patch16 %patch17 -p1 %patch18 +%patch19 -p1 %build %{?suse_update_config:%{suse_update_config -f }} @@ -211,6 +213,8 @@ %{_mandir}/man8/rpc.svcgssd.8.gz %changelog -n nfs-utils +* Fri Jun 23 2006 - ro@suse.de +- find kerberos ticket files even if /tmp on reiser (#187775) * Wed Jun 21 2006 - ro@suse.de - fix /etc/gssapi_mech.conf for lib64 platforms (#186954) * Mon Jun 12 2006 - ro@suse.de ++++++ nfs-utils-1.0.7-gssd-select-ccache.patch ++++++ utils/gssd/krb5_util.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletion(-) Index: nfs-utils-1.0.7/utils/gssd/krb5_util.c =================================================================== --- nfs-utils-1.0.7.orig/utils/gssd/krb5_util.c +++ nfs-utils-1.0.7/utils/gssd/krb5_util.c @@ -146,9 +146,11 @@ static int gssd_process_krb5_keytab(krb5 static int select_krb5_ccache(const struct dirent *d) { +#if 0 /* reiser always returns DT_OTHER */ /* Don't consider anything but regular files. (No symlinks, etc.) */ if (d->d_type != DT_REG) return 0; +#endif if (strstr(d->d_name, GSSD_DEFAULT_CRED_PREFIX)) return 1; @@ -193,12 +195,15 @@ gssd_find_existing_krb5_ccache(uid_t uid snprintf(statname, sizeof(statname), "%s/%s", GSSD_DEFAULT_CRED_DIR, namelist[i]->d_name); - if (stat(statname, &tmp_stat)) { + if (lstat(statname, &tmp_stat)) { printerr(0, "Error doing stat " "on file '%s'\n", statname); continue; } + /* This is still racy */ + if (!S_ISREG(tmp_stat.st_mode)) + continue; printerr(3, "CC file '%s' matches " "name check and has " "mtime of %u\n", ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org
participants (1)
-
root@suse.de