[OpenAFS] Any preference for RHEL file servers

Kieffer, Catherine Catherine.Kieffer@spirent.com
Mon, 6 Apr 2015 14:36:50 +0000


Well I didn't try with the source rpm, I tried with the tar file and the co=
nfigure and make commands.   I just downloaded and installed the openafs-1.=
6.11-1.src.rpm source RPM.  It didn't put it into /usr/src but into /root/r=
pmbuild.  I tried running the openafs-buildall.sh and received this.

[root@spcfrksasol01 SOURCES]# ./openafs-buildall.sh
I don't know how to build for kernel 3.10.0-123.8.1.el7.x86_64

The configure with openafs 6.10 which I had downloaded some months ago woul=
d work with one summary at the end I wasn't sure of, and the make would get=
 a lot of warnings and errors about flock.
Not sure at what point I got to those errors as I tried installing flex, bi=
son, byacc, etc to resolve various errors without much luck.  At this point=
 bison and flex are still installed.

config.status: executing default commands

**************************************
configure summary

LIB_curses :                -lncurses

**************************************

A couple of the make warning and error messages.

/home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10.0-123.8.1.el7.x86_64-=
MP/afs_vnop_flock.c:137:43: warning: =E2struct flock64=E2 declared inside p=
arameter list [enabled by default]
 lockIdSet(struct AFS_FLOCK *flock, struct SimpleLocks *slp, int clid)
                                           ^
/home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10.0-123.8.1.el7.x86_64-=
MP/afs_vnop_flock.c:137:1: error: conflicting types for =E2lockIdSet=E2
 lockIdSet(struct AFS_FLOCK *flock, struct SimpleLocks *slp, int clid)
 ^
In file included from /home/ckieffer/openafs-1.6.10/src/afs/afsincludes.h:5=
7:0,
                 from /home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10=
.0-123.8.1.el7.x86_64-MP/afs_vnop_flock.c:20:
/home/ckieffer/openafs-1.6.10/src/afs/afs_prototypes.h:1176:13: note: previ=
ous declaration of =E2lockIdSet=E2 was here
 extern void lockIdSet(struct AFS_FLOCK *flock, struct SimpleLocks *slp,
             ^
/home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10.0-123.8.1.el7.x86_64-=
MP/afs_vnop_flock.c: In function =E2lockIdSet=E2:
/home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10.0-123.8.1.el7.x86_64-=
MP/afs_vnop_flock.c:142:7: error: dereferencing pointer to incomplete type
  flock->l_pid =3D getpid();
       ^



ck


[root@spcfrksasol01 ~]# yum list *afs*
Loaded plugins: langpacks, product-id, subscription-manager
Available Packages
pam_afs_session.x86_64                                                   2.=
5-6.el7                                                      epel
trafshow.x86_64                                                          5.=
2.3-10.el7                                                   epel


-----Original Message-----
From: Rich Sudlow [mailto:rich@nd.edu]
Sent: Saturday, April 04, 2015 9:48 AM
To: Jon Stanley
Cc: Kieffer, Catherine; Garance A Drosehn; openafs-info@openafs.org
Subject: Re: [OpenAFS] Any preference for RHEL file servers

I also haven't had problems building for RHEL7 from 1.6.11 SRPM - RHELS7 pr=
eferred due to xfs support which we use ( for xfs support on RHELS6 there i=
s An additional charge)

Rich

Sent from my iPad

> On Apr 3, 2015, at 8:33 PM, Jon Stanley <jonstanley@gmail.com> wrote:
>
> On Fri, Apr 3, 2015 at 3:33 PM, Kieffer, Catherine
> <Catherine.Kieffer@spirent.com> wrote:
>> I haven't found any released client installs that I have been able to in=
stall on my RHEL 7 AFS clients and I have been unsuccessful in my build att=
empts, though my skills in that area are a bit lacking.
>
> For me, just rebuilding the shipped SRPM (1.6.9) works fine on RHEL7
> (and uses native systemd services!). I'm wondering what your
> difficulties are?
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
Spirent Communications e-mail confidentiality.
------------------------------------------------------------------------
This e-mail contains confidential and / or privileged information belonging=
 to Spirent Communications plc, its affiliates and / or subsidiaries. If yo=
u are not the intended recipient, you are hereby notified that any disclosu=
re, copying, distribution and / or the taking of any action based upon reli=
ance on the contents of this transmission is strictly forbidden. If you hav=
e received this message in error please notify the sender by return e-mail =
and delete it from your system.

Spirent Communications plc
Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdo=
m.
Tel No. +44 (0) 1293 767676
Fax No. +44 (0) 1293 767677

Registered in England Number 470893
Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN,=
 United Kingdom.

Or if within the US,

Spirent Communications,
27349 Agoura Road, Calabasas, CA, 91301, USA.
Tel No. 1-818-676- 2300