Possible cache corruption in Debian 10 with openafs 1.8.6
Jose M Calhariz <[email protected]>
| Newsgroups | gmane.comp.file-systems.openafs.general |
|---|---|
| Message-ID | <[email protected]> |
Hi
I seeking for help on how to collect more information for a bug report
on openafs client 1.8.6.
I manage several openafs clients on 1.6.x and 1.8.x and servers on
1.6.x. One of this clients, this morning, stop serving one very
important file by apache, the apache error was:
message=AH01630: client denied by server configuration: /afs/
ist.utl.pt/users/Y/Z/istXXXYZ/web
istXXXYZ is a username of a user that I need to protect the privacy.
By login into my openafs client reference machine everything was OK.
But login into the apache server machine I found some strange things:
www-data@apache-server:~$ ls -alF /afs/ist.utl.pt/users/Y/X/istXXXYZ/web
ls: cannot access '/afs/ist.utl.pt/users/Y/Z/istXXXYZ/web': No such file or directory
www-data@apache-server:~$ ls -alF /afs/ist.utl.pt/users/Y/Z/istXXXYZ/
ls: cannot access '/afs/ist.utl.pt/users/Y/Z/istXXXYZ/.mysql_history': Permission denied
ls: cannot access '/afs/ist.utl.pt/users/Y/Z/istXXXYZ/web': No such file or directory
ls: cannot access '/afs/ist.utl.pt/users/Y/Z/istXXXYZ/.bash_history': Permission denied
For some files, OK for others files.
The www-data user had a good openafs token, no reported problems in the last
"kinit -k -t keytab www-data ; aklog"
By looking into dmesg output I see no errors from openafs.
So as root I have done "systemctl restart openafs-client.service" and
as www-data I have done "kinit -k -t keytab www-data ; aklog" and
everything was OK again.
Some more notes:
The file in error is requested very frequently by an HAProxy to check
if the server is alive.
The openafs-client in error runs Debian 10.5, the openafs-client is
1.8.6 is a private backport of the latest openafs in future Debian 11
made by myself.
The Debian changelog of the package is:
openafs (1.8.6-2~dsi10+2) buster; urgency=medium
* According to bugreport #969376 "Openafs cache erros on the logs",
applied to patchs from gerrit.openafs.org:
* Linux: use override_creds when available
* LINUX: Properly revert creds in osi_UFSTruncate
-- Jose M Calhariz <[email protected]> Fri, 04 Sep 2020 13:42:52 +0100
openafs (1.8.6-2~dsi10+1) buster; urgency=medium
* Rebuild for buster.
-- Jose M Calhariz <[email protected]> Fri, 04 Sep 2020 11:34:14 +0100
openafs (1.8.6-2) unstable; urgency=medium
* Pull in upstream patches for -fcommon support (Closes: #966881)
-- Benjamin Kaduk <[email protected]> Sun, 30 Aug 2020 19:39:18 -0700
Some info about openafs client:
OpenAFS client
@(#)OpenAFS 1.8.6-2~dsi10+2-debian 2020-09-04
@(#)OpenAFS 1.8.6-2~dsi10+2-debian 2020-09-04
OpenAFS modules
Trying 127.0.0.1 (port 7001):
AFS version: OpenAFS 1.8.6-2~dsi10+2-debian 2020-09-04 root@apache-server
OpenAFS cache settings
Chunk files: 245760
Stat caches: 15000
Data caches: 10000
Volume caches: 200
Chunk size: 1048576
Cache size: 7864320 kB
Set time: no
Cache type: disk
When this bug happens again, what more information I should collect to
do a proper bug report.
Kind regards
Jose M Calhariz
--
--
Os miseraveis não tem outro remedio a não ser a esperanca
-- William Shakespeare
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEERkvHzUOf7l6LQJigNIp3jWiF748FAl+YaDkACgkQNIp3jWiF 749khg//eZMMHj7YBQoFN0+BwMkdKUBIxVfCaywGrhHY8AnupArYV4tThyaDIQRk BQCeLLBHbPWaXTwixwyB4Y6rKElswHL2Bv4CPCycEpY5eVGqYs/PQjmnquRIYMWz 2Vsvf5uhvLdoTZZfc689L7MmRYTkhKqdDvM1obgnVGoY9veVu7ZTKapjoiPNtsCZ a/Pakr/HK2zOjC8H5WcbyNoH5zcxHGSHFILBsQXpQJID7WWBgQcc1In65DfFCeF2 rZu2E0wMzMpgPTJkLp9samwgn0pWE2cylhnmdE1B5dOvCqCrg5/w1u5WQxcwVgTx zn/1D7crTzXhKTOGZd+BqstV7BmxAvjLBdZSOyXnEJSCL9z5nROFG2EVwXT9efeZ aPdP00z/0U+inNXc3TTWr/j5laigiVd8XNPoPJ2JXlJYQ0ttI3MCHupWjIk3CHkL +cP8ROAjYWoYEaR739cynXYzs4ALNo8/bJR+TLdlFcyDAXqjybdbSgjV/2kxuepg 7lCJXtqoUh8cT0+A9U+NtfGaTC537A+No7wCJyK1Xy4TECiedZN5N6d73TFHIn+B +vBelB8TXYzNTSX8g8MzPtaMxlwar7KgpHz3BLzoD7nBCaRTXj/NbEARfJ47nvx/ Ro2abwawHdWEKeZVZVMv9ceXGxrHa8xzPn8asVUKCBiiCjmWLDM= =Qiki -----END PGP SIGNATURE-----