module list not updated when openafs-module-<kvers>-<abi> is installed

Bug #52792 reported by Achim Bohnet
4
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
New
Undecided
Unassigned
Dapper
New
Undecided
Unassigned

Bug Description

Installation of AFS client in dapper, makes the client fails when done like:

  aptitude install openafs-module-<kvers>-<abi> openafs-client

while this works fine:

  aptitude install openafs-module-<kvers>-<abi>
  depmod <kvers>-<abi>
  aptitude install openafs-client

Postrm script has a

# Automatically added by dh_installmodules
if [ "$1" = "configure" ] && [ -x "`which update-modules 2>/dev/null`" ]; then
        update-modules >/dev/null || [ "$?" = 3 ]
fi

but there is no <kvers>-<abi> info. So something
is wrong.

I assume everyone (like me) tries to install updated openafs-modules-<kvers>-abi together with an updated
kernel, so after a reboot everything works again as before.

openafs-client init.d script does also strange things. First it
goes to great detail to figure out the full path for the right kernel-module, then it simple uses

  modprobe openafs${MP}

which fails due to missing/failed depmod run. While
  insmod <fullpath>
would work (hack hack ;)

Achim

Revision history for this message
Andrew Bassett (awbassett) wrote :

Could this be a dupe of
https://launchpad.net/distros/ubuntu/+source/debhelper/+bug/41821?

I can state that the problem _is_ fixed on edgy.

Revision history for this message
Andrew Bassett (awbassett) wrote :

Have you tried upgrading to Edgy to see if this is fixed?

Revision history for this message
Achim Bohnet (allee) wrote :

Yes, looks like it a dupe of #41821 (sorry, missed it).

No, I've not tried AFS on edgy yet. I'll try next week,
when I have a good internet connection again.

If it's really a dephelper problem, I wonder how we
can get it fixed in dapper (after all it a LTS release ;)
Adding the missing postinst code by hand? Better
would be if debhelper (main) get's updated.

Achim

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.