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

Bug 544166

Summary: net-fs/openafs-1.6.11: QA Notice: This ebuild installs into paths that should be created at runtime.
Product: Gentoo Linux Reporter: Andrew Savchenko <bircoph>
Component: Current packagesAssignee: Adam Feldman <np-hardass>
Status: RESOLVED FIXED    
Severity: QA CC: proxy-maint, steve
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=570410
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Savchenko gentoo-dev 2015-03-22 22:15:51 UTC
QA: other
QA Notice: This ebuild installs into paths that should be created at runtime.
 To fix, simply do not install into these directories.  Instead, your package
 should create dirs on the fly at runtime as needed via init scripts/etc...

  var/cache
  var/cache/openafs
  var/cache/openafs/.keep_net-fs_openafs-0

$ eix -e openafs
[I] net-fs/openafs
     Available versions:  1.6.2-r1 1.6.5-r1 (~)1.6.11{tbz2}[1] {doc kerberos +modules pam}
     Installed versions:  1.6.11{tbz2}[1](11:22:27 PM 03/22/2015)(doc kerberos modules pam)
Comment 1 Volkmar Glauche 2015-04-03 21:07:26 UTC
If I remember correctly, that location is referenced in /etc/openafs/cacheinfo as the location of the OpenAFS client cache. Instead of installing this path it should be sufficient to give instructions how to properly configure the client.
Comment 2 Volkmar Glauche 2015-04-08 07:54:32 UTC
This location is actually hardcoded in openafs-1.6.11.ebuild:
- line 93 has the contents of the cacheinfo file
- line 140 has the keepdir 
For OpenAFS clients, it should make no difference to have the cache partition mounted somewhere else than /var/cache/openafs.
Comment 3 Adam Feldman gentoo-dev 2015-06-26 17:42:15 UTC
Rolling out with the 1.6.12 vbump
Comment 4 Adam Feldman gentoo-dev 2015-07-04 02:07:51 UTC
Fixed in 1.6.12 version bump.