Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 570410

Summary: The ebuild for openafs and openafs-kernel do not create /var/cache/openafs, required for both client and server to run.
Product: Gentoo Linux Reporter: John F. Godfrey <jfgodfrey>
Component: Current packagesAssignee: Adam Feldman <np-hardass>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=544166
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 570540    

Description John F. Godfrey 2015-12-31 15:08:14 UTC
In order to run openafs-client, the machine must have a cache directory.  The current versions of openafs specifiy /var/cache/openafs.  The ebuild doesn't create this, nor does it advise that it should be created.

Reproducible: Always

Steps to Reproduce:
1.emerge -av openafs
2.systemctl enable openafs-client.service
3.systemctl start openafs-client.service
Actual Results:  
1. client won't start due to there being no /var/cache/openafs present.

Expected Results:  
created, while asking for a size for /etc/openafs/cacheinfo, the directory /var/cache/openafs.  Or, somehow advised that this directory needs to be created.
Comment 1 Adam Feldman gentoo-dev 2016-01-01 23:17:40 UTC
I suspect this is a function of the systemd initscript being out of date as this *should* have been resolved for the openrc initscript in #544166.
Comment 2 Adam Feldman gentoo-dev 2016-03-22 22:36:44 UTC
8e33d4b5d5506a291ddcd93e2d060c1b0b450d00 and f7b023652efe0fd358a9d2f75b785ba6a985632e updated systemd units.  Please test.
Comment 3 Adam Feldman gentoo-dev 2016-03-25 04:58:04 UTC
johnfg reports success with new systemd units.  Marking resolved.