Instalando cabeçalhos relevantes para o kernel atual:
user@box ~ $ sudo apt-get install linux-headers-4.4.0-97-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
linux-headers-4.4.0-97-generic
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 817 kB of archives.
After this operation, 7,427 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-97-generic amd64 4.4.0-97.120 [817 kB]
Fetched 817 kB in 0s (1,626 kB/s)
Selecting previously unselected package linux-headers-4.4.0-97-generic.
(Reading database ... 301414 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.4.0-97-generic_4.4.0-97.120_amd64.deb ...
Unpacking linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
Setting up linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-97-generic /boot/vmlinuz-4.4.0-97-generic
Acionando o dkms build do módulo do kernel afs:
user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms
-------- Uninstall Beginning --------
Module: openafs
Version: 1.6.21
Kernel: 4.4.0-97-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
openafs.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-97-generic/updates/dkms//
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
DKMS: uninstall completed.
------------------------------
Deleting module version: 1.6.21
completely from the DKMS tree.
------------------------------
Done.
Loading new openafs-1.6.21 DKMS files...
Building only for 4.4.0-97-generic
Building initial module for 4.4.0-97-generic
Done.
openafs:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.0-97-generic/updates/dkms//
depmod....
DKMS: install completed.
Reinicie o cliente afs, para inserir o módulo do kernel:
user@box ~ $ sudo service openafs-client restart
Resolvido:
user@box ~ $ kinit
[email protected]'s Password:
user@box ~ $ aklog
user@box ~ $ klist
Credentials cache: FILE:/tmp/krb5cc_1000
Principal: [email protected]
Issued Expires Principal
Nov 13 13:02:45 2017 Nov 13 23:02:42 2017 krbtgt/[email protected]
Nov 13 13:02:46 2017 Nov 13 23:02:42 2017 afs/[email protected]