MemberManual/TransferringFiles/OpenAFS/Fedora162019-01-14 19:38:53StephenMichelPhrasing tweaks152019-01-14 19:37:53StephenMichelFedora openafs page formatting142019-01-14 18:50:27StephenMichelRemove vestigal plural132019-01-14 18:49:18StephenMichelUpdate fedora openafs package names / repos122016-01-11 10:27:29StephenMichelBrought page up to date, remove CategoryOutdated112013-01-14 09:04:02ClintonEbadineeds work102009-09-09 20:08:31ClintonEbadiRevert to revision 8.92009-09-09 18:20:3393.174.94.59-7682008-07-07 04:27:53localhostconverted to 1.6 markup72007-12-30 07:56:35JustinLeitgebupdated directions with easier method of maintaining yum on fedora machines62007-11-30 13:51:36JustinLeitgebfix typo and change hard-coded target to uname -m52007-11-30 13:49:22JustinLeitgebChange rpmbuild command to be more platform independent.42007-11-12 18:14:01MichaelOlsonFix troubleshooting kerb link32007-11-12 04:30:01MichaelOlsonShorten22007-11-06 05:51:20RyanMikulovskymore clean-ups12007-11-06 05:46:40RyanMikulovskytransfer from AfsFedoraClientConfiguration, clean up.This is the chapter of the MemberManual that describes how to install the OpenAFS client on Fedora. The bulk of this page reflects Fedora 23. It also contains some potentially helpful, but unverified information, from an earlier version of this page, prefaced with "OLD:" IntroductionThere are different sets of RPMS available for OpenAFS. The easiest to install and maintain across system updates is probably a copr repo. Enable it with: dnf copr enable jsbillings/openafs
Install OpenAFS RPMSNext, install the appropriate openafs kernel module. Check your currently-running kernel with uname -a
, then substitute your version into this command: dnf install kmod-openafs-[PACKAGE.VERSION]-[KERNEL.VERSION]
Dnf may default to the wrong kernel module. Check closely that the version exactly matches your running kernel. If not, manually type the entire package and kernel version numbers. Then, install the rest of the openafs rpm files: dnf install openafs openafs-kmdl openafs-authlibs openafs-docs openafs-client krb5-workstation openafs-kmod-docs
ConfigurationChange the home cell in /etc/openafs/ThisCell
to hcoop.net. Start the openafs client once with systemctl start openafs-client.service
Enable the openafs client to run on boot with systemctl enable openafs-client.service
Run kinit and type your password Make sure that the openafs client is running with systemctl status openafs-client.service
Run "klist" just to make sure that you have a valid token. Run aklog - if this works you should be able to see /afs/hcoop.net. And that's it! OLD: Your machine should automatically pick up new versions of the openafs kernel module when you do updates. OLD: TroubleshootingIf you get an error like "aklog: unable to obtain tokens for cell hcoop.net (status: 11862790)" it may mean that your router is blocking SRV requests. If you're running djbdns
locally (used by lots of operating systems for embedded devices, such as OpenWrt), make sure that the line filterwin2k
is commented out in /etc/dnsmasq.conf, or whatever the configuration file is on your machine. If you get messages saying things like "libafs can't be found" when you try to start the client, you probably installed a version of openafs-kmdl that doesn't match your running kernel. Use yum to remove the openafs RPM packages and try again. Read MemberManual/ShellAccess/TroubleshootingKerberos for more. CategoryMemberManual