Hello community,
here is the log from the commit of package psmisc
checked in at Mon Oct 6 18:08:43 CEST 2008.
--------
--- psmisc/psmisc.changes 2008-09-23 15:31:18.000000000 +0200
+++ /mounts/work_src_done/STABLE/psmisc/psmisc.changes 2008-10-01 16:39:53.629404000 +0200
@@ -1,0 +2,5 @@
+Wed Oct 1 16:39:27 CEST 2008 - werner@suse.de
+
+- Avoid stat(2) for all network based file systems (bnc#409011)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ psmisc.spec ++++++
--- /var/tmp/diff_new_pack.y10112/_old 2008-10-06 18:08:12.000000000 +0200
+++ /var/tmp/diff_new_pack.y10112/_new 2008-10-06 18:08:12.000000000 +0200
@@ -27,7 +27,7 @@
PreReq: %fillup_prereq %insserv_prereq
AutoReqProv: on
Version: 22.6
-Release: 59
+Release: 60
Provides: ps:/usr/bin/killall
Summary: Utilities for managing processes on your system
Source: http://switch.dl.sourceforge.net/sourceforge/psmisc/psmisc-%{version}.tar.bz2
@@ -103,6 +103,8 @@
%{_mandir}/man1/pstree.1*
%changelog
+* Wed Oct 01 2008 werner@suse.de
+- Avoid stat(2) for all network based file systems (bnc#409011)
* Tue Sep 23 2008 werner@suse.de
- Enhance NFS patch for fuser (bug #409011)
* Mon Sep 01 2008 werner@suse.de
++++++ psmisc-22.6.dif ++++++
--- /var/tmp/diff_new_pack.y10112/_old 2008-10-06 18:08:12.000000000 +0200
+++ /var/tmp/diff_new_pack.y10112/_new 2008-10-06 18:08:12.000000000 +0200
@@ -32,3 +32,25 @@
dnl Checks for library functions.
AC_FUNC_CLOSEDIR_VOID
+--- src/fuser.c
++++ src/fuser.c 2008-10-01 18:02:08.469114183 +0200
+@@ -147,7 +147,6 @@ static void scan_procs(const opt_type op
+ {
+ DIR *topproc_dir;
+ struct dirent *topproc_dent;
+- char *fd_dirpath, *fd_pathname;
+ struct inode_list *ino_tmp;
+ struct device_list *dev_tmp;
+ pid_t pid, my_pid;
+@@ -157,11 +156,6 @@ static void scan_procs(const opt_type op
+ char cwd_real[PATH_MAX+1];
+ char exe_real[PATH_MAX+1];
+
+- if ( (fd_dirpath = malloc(MAX_PATHNAME)) == NULL)
+- return;
+- if ( (fd_pathname = malloc(MAX_PATHNAME)) == NULL)
+- return;
+-
+ if ( (topproc_dir = opendir("/proc")) == NULL) {
+ fprintf(stderr, _("Cannot open /proc directory: %s\n"), strerror(errno));
+ exit(1);
++++++ psmisc-22.6-nfs4fuser.patch ++++++
--- /var/tmp/diff_new_pack.y10112/_old 2008-10-06 18:08:12.000000000 +0200
+++ /var/tmp/diff_new_pack.y10112/_new 2008-10-06 18:08:12.000000000 +0200
@@ -33,7 +33,7 @@
cannot report on any processes that it doesn't have permission to look at
the file descriptor table for. The most common time this problem occurs
--- src/fuser.c
-+++ src/fuser.c 2008-09-23 16:00:18.038188677 +0200
++++ src/fuser.c 2008-10-01 16:37:41.410576528 +0200
@@ -32,9 +32,11 @@
#include