Package: openafs-client
Version: 1.3.81-4
Severity: normal
Tags: patch


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.29-f3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages openafs-client depends on:
ii  debconf                1.4.48            Debian configuration management sy
ii  libc6                  2.3.2.ds1-21      GNU C Library: Shared libraries an
ii  libncurses5            5.4-4             Shared libraries for terminal hand
ii  openafs-modules-2.4.26 1.2.11-1.1+rorw+1 The AFS distributed filesystem- Ke
ii  openafs-modules-2.4.27 1.2.13-1.1+rorw+3 The AFS distributed filesystem- Ke
ii  openafs-modules-2.4.28 1.2.13-1.1+rorw+1 The AFS distributed filesystem- Ke
ii  openafs-modules-2.4.29 1.2.13-1.1+rorw+1 The AFS distributed filesystem- Ke
ii  openafs-modules-source 1.3.81-4          The AFS distributed filesystem- Mo

/etc/init.d/openafs-client doesn't work whenever there are multiple files
matching

 /lib/modules/`uname -r`/fs/openafs.*o

Solution: Using ls instead of 'test -f':

<diff>
--- openafs-client.unpatched    2005-04-24 22:33:25.000000000 +0200
+++ openafs-client      2005-05-02 11:36:18.000000000 +0200
@@ -120,7 +120,7 @@
                choose_client
        fi

-       if [ ! -f $MODLOADDIR/$LIBAFS ] ; then
+       if ! /bin/ls $MODLOADDIR/$LIBAFS >/dev/null 2>&1 ; then
                echo AFS module $MODLOADDIR/$LIBAFS does not exist. Not 
starting AFS.
                echo Please consider building kernel modules using instructions 
in
  echo /usr/share/doc/openafs-client/README.modules
</diff>

Regards,

Frank


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to