Package: openafs-client
Version: 1.4.7.dfsg1-2
Severity: normal

The OpenAFS Client is only started if the Linux openafs module exists.
This check is not strong enough (see below). Besides checking for existence
of the kernel module on file system level, the init.d script should check
whether the module is registered.

What happens if someone has built the openafs-modules-source, has put the
resulting binary package in a local repository and tries to install the package
together with openafs-client, is that the installation will fail (apt
fails actually). The trouble is that registration of the openafs module happens
after starting the OpenAFS Client. See below for an example:

# apt-get install openafs-modules2 openafs-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting openafs-modules-2.6.24-1-686 instead of openafs-modules2
Suggested packages:
  openafs-doc
Recommended packages:
  openafs-modules-source openafs-modules2 lsof
The following NEW packages will be installed:
  openafs-client openafs-modules-2.6.24-1-686
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3164kB of archives.
After this operation, 6988kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package openafs-client.
(Reading database ... 12583 files and directories currently installed.)
Unpacking openafs-client (from
.../openafs-client_1.4.7.dfsg1-2_i386.deb) ...
Selecting previously deselected package openafs-modules-2.6.24-1-686.
Unpacking openafs-modules-2.6.24-1-686 (from
.../openafs-modules-2.6.24-1-686_1.4.7.dfsg1-2+2.6.24-7_i386.deb) ...
Processing triggers for man-db ...
Setting up openafs-client (1.4.7.dfsg1-2) ...
Starting AFS services:FATAL: Module openafs not found.

Failed to load AFS kernel module, not starting AFS
invoke-rc.d: initscript openafs-client, action "start" failed.
dpkg: error processing openafs-client (--configure):
 subprocess post-installation script returned error exit status 1
Setting up openafs-modules-2.6.24-1-686 (1.4.7.dfsg1-2+2.6.24-7) ...
Errors were encountered while processing:
 openafs-client
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openafs-client depends on:
ii  debconf [debconf-2.0]     1.5.22         Debian configuration management sy
ii  libc6                     2.7-10         GNU C Library: Shared libraries
ii  libncurses5               5.6+20080308-1 Shared libraries for terminal hand

Versions of packages openafs-client recommends:
pn  lsof              <none>                 (no description available)
ii  openafs-modules-2 1.4.7.dfsg1-2+2.6.24-7 AFS distributed filesystem kernel 

-- debconf information excluded



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

Reply via email to