Update third party libs

Noteworthy is the update of Berkeley DB. This database can be used
for meta data on pools. If used, pools are not downgradable without
manual conversion. Once upgraded, to downgrade a pool use the
'dcache pool convert' utility to convert to the file based meta data
backend before downgrading. Once downgraded, the meta data can be
converted back to the Berkeley DB using the same utility.

On upgrade no actions are required.

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7048/
dcache-chimera: query for all checksums in one go

Acked-by: Gerd Behrmann
Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
chimera: remove FileSystemProvider#getInodeChecksum

use FileSystemProvider#getInodeChecksums with filtering in the code

Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: no
chimera-provider: fix regressions introduced by API change

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
http: do not use depricated API

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
srm: Fix lock congestion

To support SRM_FILE_BUSY, both get and ls requests scan for active
put requests. This causes lock congestion as reading the SURL of
the put request acquires a read lock, while abort and put done calls
are processed with a write lock (and these calls trigger callouts
to pnfsmanager).

The read lock to access the surl is however unneeded as surl is a
final field. This patch removes the read-lock for surl access. The
patch also removes the read-lock on several other final fields, as
well as marking several fields that are not modified as final.

Target: trunk
Request: 2.9
Request: 2.8
Request: 2.7
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7054/
pinmanager,srm,spacemanager,xrootd: Fix pool monitor expiration

The pool manager state (aka pool monitor) is cached in a number of
other services. A recent change modified the cache logic to trigger
in-thread asynchronous updates rather than dedicated an entire thread
to the update. The Guava cache class is configured to trigger an update
after 20 seconds, however the update is asynchronous, meaning that the
first access after 20 seconds will still get the old data. There is a
total lifetime of 10 minutes, meaning that once the entry is 10 minutes
old, it is purged and a blocking update is done instead (i.e. you
never get data older than 10 minutes).

Unfortunately the cached pool state in pool monitor is considered
invalid after 5 minutes and the pool is then treated as offline. On
a lightly loaded system this causes some strange effects.

The immediate fix is to reduce the max lifetime to 3 minutes (allowing
some slack up to the 5 minute lifetime of the pool data). An async.
update is still triggered after 20 seconds.

Longer term, the pool information should be channelled directly from
pools to the services that need it.

Target: trunk
Request: 2.9
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7055/
xrootd,nfs: Add support for space management

Xrootd and NFS doors fail to include the space manager in pool manager
requests, thus failing to support space management. Even though the
protocols don't have explicit support for space management, they may
still be used with the WriteToken tag or with implicit reservations.

If space manager is disabled, the message flow is unaffected. Even if
space manager is enabled, read requests or writes to unmanaged space
are simply passed through in space manager (which when space manager
is placed in the same domain as pool manager is fairly cheap).

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7049/
Request: 2.9
Request: 2.8
Request: 2.7
dcache-star: create valid xml even on db connection failure

the dcache-star script creates invalid xml output if the connection to
the database failes.
This patch ensures that valid xml is created under those circumstances,
too.

Ticket: 8251
Acked-by: Tigran
Target: master
Require-book: no
Require-notes: no
http: fix multipart response size

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
config: do not set default values for kdc and realm

if vales are not set, java will read them form /etc/krb5.conf

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
system-test: fix web font corruption

A recent patch added bootstrap support, which includes embedded fonts
for icons.  While other packages handled these additional files correctly,
the system-test deployed "filtered" versions of the font files, resulting
in browsers rejecting the fonts and deplaying the characters with a
regular font.

This patch ensures that the web-fonts, CSS and javascript files are not
affected by dCache filtering.

Target: master
Patch: https://rb.dcache.org/r/7059/
Acked-by: Karsten Schwank
Acked-by: Gerd Behrmann
dcache alarms: add properties and fuller documentation for configuring SMTP appender

The instructions in the current logback-server.xml are
incomplete in terms of how to set up the appender to
talk to a normal SMTP server.

This patch is a revision of http://rb.dcache.org/r/6945
which exposes all of the configuration through the
standard dCache property framework.

This means that the patch is more invasive,
with code slightly modified in a few places.

A separate patch adding the fuller settings to
logback-server.xml without property changes
has already been posted for backport and merged
in (2.6, 2.7, 2.8 and 2.9).

Testing: Used new properties to configure send through gmail SMTP
to two fnal email recipients.

Target: master
Require-book: yes
Require-notes: yes
Acked-by: Karsten

RELEASE NOTES:  Fuller documentation for the configuration
of the alarm server's logback appenders (particularly for
email notification) has been provided.  The logback
settings are now fully configurable through the properties
framework.