SCIENTIFIC-LINUX-DEVEL Archives

January 2015

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Chad William Seys <[log in to unmask]>
Reply To:
Chad William Seys <[log in to unmask]>
Date:
Wed, 14 Jan 2015 11:52:20 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
Hi Stephan,

> Hi,
> 
> > On 13 Jan 2015, at 23:56, Chad William Seys <[log in to unmask]>
> > wrote:
> > 
> > Hi,
> > The package openafs-1.6-sl-client 1.6.10-0.152.pre1.el7 creates the
> > directory /var/cache/afs ,
> > but its configuration files /etc/sysconfig/afs and /usr/vice/etc/cacheinfo
> > the cache directory is called /cache .
> 
> % rpm2cpio openafs-1.6-sl-1.6.10-0.152.pre1.el7.x86_64.rpm | cpio -id
> 21904 blocks
> % grep CACHEDIR ./etc/sysconfig/afs
> CACHEDIR=/var/cache/afs
> 
> and this is what gets propagated into cacheinfo. Seems consistent to me.
> What am I missing?


Strange.  When I installed it CACHEDIR=/cache .  I'll have to test again.


> > I do not have a separate partition mounted at /cache, so perhaps this is
> > the oddity which exposes this mismatch in where the cache is thought to
> > be. Perhaps the openafs-client package should create /cache if it does
> > not exist? (Possibly instead of /var/cache/afs.)
> 
> If you change the sysconfig file, why not also create the directory?
> 
> I'm not sure the init script should create the cache directory. NB with
> SELinux, there's quite a bit more to do than just "mkdir".

I was not suggesting init script create. Rather package.

I'll install fresh to verify previous results.

Chad.

ATOM RSS1 RSS2