HPCC-8624 - Ensure activities that read a logical keep lock

Not all of the file reader activities were holding onto to the
IDistributed file (and hence the Dali lock). Consequently, it
would be possible for someone to delete a logical file that a
Thor query was actively using.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-10113 - Lookup join incorrectly handling KEEP(1)

KEEP(1) in conjunction with MANY and ATMOST could cause
spurious records.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-10096 Use correct queryset name to get Activated status

When no queryet name is specified, WsWorkunits/WUListQueries returns query
information (including Activated status) for all queries by looping through
every querysets. Incorrect activated status is returned because the existing
code uses incorrect queryset name for the querysets. The problem is sloved
by this fix.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
HPCC-9773 Change group variable from $user to $group in chown.

Since user primary group name is saved in variable $group (See install-init.in for
the gropu variable assignment) chown command should use $group instead $user as
group name.
HPCC-9403 fix non-default user home directory related issues

Previously "home" variable in environment.conf is set to system default
user directory base (useradd -D), i.e. /home on most Linux. In order
to fix it for non-default user directory, in source file
initfiles/bash/etc/init.d/install-init.in user home directory is retrieved
from /etc/passwd after user created/detected and assigned to "home" variable
in environment.conf
Merge pull request #4900 from wangkx/h10096

HPCC-10096 Use correct queryset name to get Activated status

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4902 from xwang2713/Ming_HPCC_9403

HPCC-9403 fix non-default user home directory related issues

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4901 from xwang2713/Ming_HPCC_9773

HPCC-9773 Change group variable from $user to $group in chown.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4873 from jakesmith/hpcc-8624

HPCC-8624 - Ensure activities that read a logical keep lock

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #4896 from jakesmith/hpcc-10113

HPCC-10113 - Lookup join incorrectly handling KEEP(1)

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-9956 Fix build break in windows introduced by previous commit.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4904 from ghalliday/issue9956b

HPCC-9956 Fix build break in windows introduced by previous commit.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10118 Backupnode creating unknown dir in hpcc-mirror, copy of thor

This change will at least reduce the chances of the bug happening. Not sure
it's a complete fix though.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>