[OpenAFS] Development status of mod_waklog and filedrawers

Jeffrey Altman jaltman@your-file-system.com
Tue, 12 Feb 2013 09:48:01 -0500


This is a cryptographically signed message in MIME format.

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

rx_connDeadTime is a global variable defined in src/rx/rx_globals.h.  It
is referenced by a call to the rx_SetRxDeadTime() macro which is also
present in rx_globals.h.

What versions of OpenAFS were used to build mod_waklog and which version
is installed on the machine you are attempting to load it on?

On 2/12/2013 9:39 AM, Joseph Timothy Foley wrote:
> I followed these directions on my Ubuntu 12.04.1 32-bit machine and I s=
till get an odd error when I try to load the freshly built waklog module:=

>=20
> apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax =
error on line 1 of /etc/apache2/mods-enabled/waklog.load: Cannot load /us=
r/lib/apache2/modules/mod_waklog.so into server: /usr/lib/libafsauthent.s=
o.1: undefined symbol: rx_connDeadTime
>=20
> Action 'configtest' failed.
> The Apache error log may have more information.
>    ...fail!
>=20
> Searching through the include files in /usr/include/afs did not turn up=
 what this symbol might referring to.  What is more puzzling is that I ca=
n't find a reference to this symbol in the waklog sourcecode in the first=
 place.
> Ideas?
>=20
> I've collected the various emails/weblinks on this subject so far and p=
ut up a wiki page for them:
> https://samvinna.ru.is/projects/projects/devnet-documentation/wiki/Mod_=
waklog
>=20
> Joe
>=20
> -----Original Message-----
> From: Staffan H=C3=A4m=C3=A4l=C3=A4 [mailto:sh@ltu.se]=20
> Sent: 4. febr=C3=BAar 2013 14:41
> To: Joseph Timothy Foley
> Cc: openafs-info@openafs.org
> Subject: Re: [OpenAFS] Development status of mod_waklog and filedrawers=

>=20
> I got mod_waklog to work on apache 2.2 at least.
>=20
> I've found a lot of info in this posting:
> https://lists.openafs.org/pipermail/openafs-info/2009-May/031480.html
>=20
> Stephen Quinney's patches are available here:
> http://old.nabble.com/mod_waklog-tt33632100.html
>=20
> Aaron Knister's patches here:
> http://userpages.umbc.edu/~aaronk/waklog/patches_for_git
>=20
> I downloaded mod_waklog from git, and applied the patches in this order=
:
> patch -p1 < ../patches_aaron_knister/fix_build_scripts.patch
> patch -p1 < ../patches_aaron_knister/have_stropts_h.patch
> patch -p1 < ../patches_aaron_knister/gnu_source.patch
>=20
> patch -p1 < ../patches_stephen_quinney/modwaklog-weakcrypto.patch
> patch -p1 < ../patches_stephen_quinney/modwaklog-libs.patch
>=20
>=20
> As I said, mod_waklog seems to work perfectly. However, I haven't got f=
iledrawers to work yet. It does not seem to work with PHP 5.4.11 and Smar=
ty 3.1.13.
>=20
> I've read that it should work with PHP 5.x, but apparently not with 5.4=
, though I think I managed to fix that. (by loading some module staticall=
y instead of using "dl" - dynamically loaded modules, which is deprecated=
 in 5.4).
>=20
> Smarty 3.1.13 seems to be more difficult, I just get strange error mess=
ages.
>=20
> I've found a note somewhere that it does not work with Smarty 2.x, and =
that version 1.x works. Maybe version 3.x has the same problem, and we ne=
ed to downgrade to version 1.x.
>=20
>=20
> --S
>=20
>=20
> On 2013-02-04 14:01, Joseph Timothy Foley wrote:
>> I would like to know more about this as well.  I tried to get mod_wakl=
og working on an Ubuntu 12.04 32-bit system but was unsuccessful.  It com=
piled but did not get loaded correctly into the Apache 2 I was using.  I =
asked a friend to was trying to use it at MIT, but they gave up and used =
IP-based ACLS.
>>
>> Where did you find a guide indicating which patches?
>>
>> Thanks,
>> Joe
>>
>> -----Original Message-----
>> From: openafs-info-admin@openafs.org=20
>> [mailto:openafs-info-admin@openafs.org] On Behalf Of Staffan H=C3=A4m=C3=
=A4l=C3=A4
>> Sent: 30. jan=C3=BAar 2013 20:35
>> To: openafs-info@openafs.org
>> Subject: [OpenAFS] Development status of mod_waklog and filedrawers
>>
>> What is the current status of the mod_waklog and filedrawers projects?=
 I saw a thread about mod_waklog a few months ago, but what about filedra=
wers?
>>
>> I've managed to compile mod_waklog on Redhat RHEL6 64-bit after applyi=
ng five patches (by Aaron Knister and Stephen Quinney). It now works on A=
pache 2.2 (haven't tried 2.4 yet).
>>
>> Filedrawers seems to need some tweaking as well. I've found a few thin=
gs that needs to be changed for it to work with PHP 5.4. It also seems to=
 have problems with the current version of Smarty (version 3.1.13). I'm w=
orking through the things that need to be changed at the moment.
>>
>> It seems both mod_waklog and filedrawers haven't been updated for seve=
ral years. Does anyone maintain them?
>>
>> /Staffan
>>
>> --
>> Staffan H=C3=A4m=C3=A4l=C3=A4
>> Lule=C3=A5 University of Technology
>> Sweden
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
>>
>=20
>=20
>=20
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>=20


--------------ms020407010306030809050800
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINITCC
BkIwggUqoAMCAQICEDirAC//rpa3Vv85Wvtd5xswDQYJKoZIhvcNAQEFBQAwgcoxCzAJBgNV
BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1
c3QgTmV0d29yazE6MDgGA1UECxMxKGMpIDE5OTkgVmVyaVNpZ24sIEluYy4gLSBGb3IgYXV0
aG9yaXplZCB1c2Ugb25seTFFMEMGA1UEAxM8VmVyaVNpZ24gQ2xhc3MgMSBQdWJsaWMgUHJp
bWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEczMB4XDTExMDkwMTAwMDAwMFoXDTIx
MDgzMTIzNTk1OVowgaYxCzAJBgNVBAYTAlVTMR0wGwYDVQQKExRTeW1hbnRlYyBDb3Jwb3Jh
dGlvbjEfMB0GA1UECxMWU3ltYW50ZWMgVHJ1c3QgTmV0d29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