dcap: Fix regression in published protocol family

Prior to 2.7, gsidcap was published as gsidcap and the SRM used this
as the protocol name when negotiating the transfer protocol. 2.7
always publishes 'dcap', which is a regression compared to 2.6.

This patch resolves the problem.

Target: trunk
Request: 2.11
Request: 2.10
Request: 2.9
Request: 2.8
Request: 2.7
Require-notes: yes
Require-book: no
Reported-by: Yvan Calas <yvan.calas@cc.in2p3.fr>
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7587/
shell: fix shell oracle for configuration keys with a space

The shell oracle is built to speed up POSIX shell querying of
configuration properties.  If the property key contains a
space then the resulting oracle is broken and prevents
any 'dcache' command from working.

Target: master
Patch: https://rb.dcache.org/r/7592/
Acked-by: Gerd Behrmann
Requires-book: no
Requires-notes: yes
Request: 2.11
Request: 2.10
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Merge branch 'master' of https://github.com/dCache/dcache
pool: Fix typo that breaks pool.mover.ftp.allow-incoming-connections

Target: trunk
Require-notes: yes
Require-book: no
Request: 2.11
Request: 2.10
Request: 2.9
Request: 2.8
Request: 2.7
Acked-by: Paul Millar <paul.millar@desy.de>
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7596/
ftp: Clean up address handling

Both the variable naming and how we compose various addresses is most
confusing. This patch tries to clean this up to make the logic easier to
follow.

There is also one behavioural change in how we determine the pool facing
interface for proxied data channels: If not set explicitly in the
configuration, before we defaulted to the control channel interface. Whether a
control channel is established on one or the other interface has absolutely no
relationship to which interface faces the pools, nor does establishing the
control channel on a different interface suddently make the pools available on
another interface. Hence this patch changes this to default to the default
interface of the host (as determined by resolving the host name).

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7594/
pool: Partially fix interface selection for FTP mover

The FTP mover tries to select an interface with the correct
protocol family and falls back to proxy mode if not possible.
Unfortunately the NetworkUtils utility class fails to return
null in case no suitable interface could be found.

On the other hand, the original protocol family less version
of the NetworkUtils method fails to handle null values.

This patch fixes the former to return null if the protocol
family could not be match, and fixes the latter by falling
back to ignoring the protocol family. The latter is likely
wrong, but it restore the previous functionality and resolves
the problem that existing callers of that method do not
handle a null return value.

There are plenty of issues with this piece of code. This
patch only sets out to fix the one.

Target: trunk
Require-notes: yes
Require-book: no
Request: 2.11
Request: 2.10
Request: 2.9
Acked-by: Paul Millar <paul.millar@desy.de>
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7597/
chimera: do not shutdown jdbc dataSource on close

Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: no