[OpenAFS] Can't seem to find asetkey -- where's it supposed to come from?

Phillip Moore w.phillip.moore@gmail.com
Tue, 28 Sep 2010 15:30:43 -0400


--0016367d5c8e82f42e049156e1f3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thanks -- that resolved that mystery.

Is the quick start guide just out of date?  How are we, as a community,
maintaining it?   The RHEL section also tells you to download
"openafs-kernel-*", but the actual rpms are named "kmod-openafs-*".
Nowhere does it tell you to download and install "openafs-krb5".

If someone points me at the source for the documentation, I'd be happy to
submit patches.  I think there are some other subtle inaccuracies as well,
like requiring the -cell argument to the bos command, when using -noauth.
Unless I'm just wrong on that last point :-P

On Tue, Sep 28, 2010 at 3:08 PM, Rick Cochran <rcc2@cornell.edu> wrote:

> In RHEL5:
>
> arctura> which asetkey
> /usr/sbin/asetkey
> arctura> rpm -q -f `which asetkey`
> openafs-krb5-1.4.12-el5.1.1
>
>
>
> On 09/28/2010 03:05 PM, Phillip Moore wrote:
>
>> For the first time in over 10 years, I'm finally getting around to playi=
ng
>> with
>> OpenAFS again. =EF=BF=BDI'm trying to setup a test cell on a CentOS 5.4 =
x86_64 VM.
>> =EF=BF=BDI'm
>> working off of the UNIX Quick Start Guide at:
>>
>> http://docs.openafs.org/QuickStartUnix/.....
>>
>> I've had no problems until I'm supposed to set the AFS server encryption
>> key,
>> but the instructions say:
>>
>>   1.
>>
>>          #*asetkey add*  </|kvno|/>   */etc/afs.keytab afs/*</|cell name=
|/
>>
>>
>> and there's no asetkey to be found. =EF=BF=BDI've installed the followin=
g RPMs
>> downloaded from openefs.org <http://openefs.org>:
>>
>>
>> openafs-1.4.12-el5.1.1.x86_64.rpm
>> openafs-client-1.4.12-el5.1.1.x86_64.rpm
>> openafs-server-1.4.12-el5.1.1.x86_64.rpm
>> kmod-openafs-1.4.12-1.1.2.6.18_164.15.1.el5.x86_64.rpm
>>
>> Googling for solutions, it looks like asetkey has been around for a long
>> time,
>> but it was not installed with these rpms. =EF=BF=BDWas there another pac=
kage I
>> missed?
>> =EF=BF=BDI've followed the docs pretty much to the letter so far.
>>
>> I'm guessing I can use "bos addkey" to do this, but asetkey was supposed
>> to
>> replace that, right?
>>
>> Is this a case of the Quick Start Guide documenting the procedures for
>> 1.5, when
>> I've chosen to download 1.4.12? =EF=BF=BD I can easily switch to the lat=
est and
>> greatest
>> release, but I would prefer to start with 1.4.12, since I want to be sur=
e
>> the
>> code I am developing works for the releases "in the field". =EF=BF=BD Th=
e last
>> thing I
>> need right now is for my code to only work with the bleeding edge.
>>
>>
>>
>>

--0016367d5c8e82f42e049156e1f3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div><br></div>Thanks -- that resolved that mystery.<div><br></div><div>Is =
the quick start guide just out of date? =C2=A0How are we, as a community, m=
aintaining it? =C2=A0 The RHEL section also tells you to download &quot;ope=
nafs-kernel-*&quot;, but the actual rpms are named &quot;kmod-openafs-*&quo=
t;. =C2=A0 Nowhere does it tell you to download and install &quot;openafs-k=
rb5&quot;.</div>
<div><br></div><div>If someone points me at the source for the documentatio=
n, I&#39;d be happy to submit patches. =C2=A0I think there are some other s=
ubtle inaccuracies as well, like requiring the -cell argument to the bos co=
mmand, when using -noauth. =C2=A0 Unless I&#39;m just wrong on that last po=
int :-P<br>
<br><div class=3D"gmail_quote">On Tue, Sep 28, 2010 at 3:08 PM, Rick Cochra=
n <span dir=3D"ltr">&lt;<a href=3D"mailto:rcc2@cornell.edu">rcc2@cornell.ed=
u</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In RHEL5:<br>
<br>
arctura&gt; which asetkey<br>
/usr/sbin/asetkey<br>
arctura&gt; rpm -q -f `which asetkey`<br>
openafs-krb5-1.4.12-el5.1.1<div class=3D"im"><br>
<br>
<br>
On 09/28/2010 03:05 PM, Phillip Moore wrote:<br>
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div class=3D"im">
For the first time in over 10 years, I&#39;m finally getting around to play=
ing with<br>
OpenAFS again. =EF=BF=BDI&#39;m trying to setup a test cell on a CentOS 5.4=
 x86_64 VM. =EF=BF=BDI&#39;m<br>
working off of the UNIX Quick Start Guide at:<br>
<br>
<a href=3D"http://docs.openafs.org/QuickStartUnix/..." target=3D"_blank">ht=
tp://docs.openafs.org/QuickStartUnix/...</a>..<br>
<br>
I&#39;ve had no problems until I&#39;m supposed to set the AFS server encry=
ption key,<br>
but the instructions say:<br>
<br></div>
 =C2=A0 1.<br>
<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#*asetkey add* =C2=A0&lt;/|kvno|/&gt; =
=C2=A0 */etc/afs.keytab afs/*&lt;/|cell name|/<div class=3D"im"><br>
<br>
and there&#39;s no asetkey to be found. =EF=BF=BDI&#39;ve installed the fol=
lowing RPMs<br></div>
downloaded from <a href=3D"http://openefs.org" target=3D"_blank">openefs.or=
g</a> &lt;<a href=3D"http://openefs.org" target=3D"_blank">http://openefs.o=
rg</a>&gt;:<div class=3D"im"><br>
<br>
openafs-1.4.12-el5.1.1.x86_64.rpm<br>
openafs-client-1.4.12-el5.1.1.x86_64.rpm<br>
openafs-server-1.4.12-el5.1.1.x86_64.rpm<br>
kmod-openafs-1.4.12-1.1.2.6.18_164.15.1.el5.x86_64.rpm<br>
<br>
Googling for solutions, it looks like asetkey has been around for a long ti=
me,<br>
but it was not installed with these rpms. =EF=BF=BDWas there another packag=
e I missed?<br>
=EF=BF=BDI&#39;ve followed the docs pretty much to the letter so far.<br>
<br>
I&#39;m guessing I can use &quot;bos addkey&quot; to do this, but asetkey w=
as supposed to<br>
replace that, right?<br>
<br>
Is this a case of the Quick Start Guide documenting the procedures for 1.5,=
 when<br>
I&#39;ve chosen to download 1.4.12? =EF=BF=BD I can easily switch to the la=
test and greatest<br>
release, but I would prefer to start with 1.4.12, since I want to be sure t=
he<br>
code I am developing works for the releases &quot;in the field&quot;. =EF=
=BF=BD The last thing I<br>
need right now is for my code to only work with the bleeding edge.<br>
<br>
<br>
<br>
</div></blockquote>
</blockquote></div><br></div>

--0016367d5c8e82f42e049156e1f3--