Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544166 - net-fs/openafs-1.6.11: QA Notice: This ebuild installs into paths that should be created at runtime.
Summary: net-fs/openafs-1.6.11: QA Notice: This ebuild installs into paths that should...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-22 22:15 UTC by Andrew Savchenko
Modified: 2016-01-01 23:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.