Added some more new variables to the "new section":
 * sys.logdir
 * sys.piddir
pass the exact lenght of release_id in to xstrndup to avoid memory corruption on aix
Merge pull request #1724 from McAtte/loading-aix-xstrndup

pass the exact length of release_id to xstrndup
Redmine #5864: Users promises: Work around group setting bug on SUSE.

If you set the same group as a secondary group, which is already the
primary group of the user, the group will not be set. This might be
expected behavior, but the problem is that it also happens if you
change the primary group at the same time.

Work around the issue by setting the primary group first, together
with an empty secondary group list, and then setting the secondary
group list afterwards.
Merge pull request #1725 from kacfengine/suse_group_setting_bug

Redmine #5864: Users promises: Work around group setting bug on SUSE.