[freeipa PR#3154][opened] [Backport][ipa-4-7] Limit hostname length to 64 to be in line with MAXHOSTNAMELEN
by rcritten
URL: https://github.com/freeipa/freeipa/pull/3154
Author: rcritten
Title: #3154: [Backport][ipa-4-7] Limit hostname length to 64 to be in line with MAXHOSTNAMELEN
Action: opened
PR body:
"""
Manual backport of PR #3101 to ipa-4-7 branch. Fixes one minor merge issue in ipaserver/install/installutils.py.
On Linux systems the length limit for hostnames is hardcoded
at 64 in MAXHOSTNAMELEN
Solaris, for example, allows 255 characters, and DNS allows the
total length to be up to 255 (with each label < 64).
Add a knob to allow configuring the maximum hostname length (FQDN)
The same validators are used between hosts and DNS to apply
the knob only when dealing with a FQDN as a hostname.
The maxlen option is included so installers can limit the length
of allowed hostnames when the --hostname option is used.
https://pagure.io/freeipa/issue/2018
Signed-off-by: Rob Crittenden <rcritten(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3154/head:pr3154
git checkout pr3154
4 years
[freeipa PR#3144][opened] Fix expected file permissions for ghost files
by flo-renaud
URL: https://github.com/freeipa/freeipa/pull/3144
Author: flo-renaud
Title: #3144: Fix expected file permissions for ghost files
Action: opened
PR body:
"""
File permissions from the rpm freeipa-server-common and freeipa-client-common do not match the runtime permissions. This results in mode failures on rpm -Va.
Fix the expected file permissions on rpm spec file for
/var/lib/ipa/pki-ca/publish
/var/named/dyndb-ldap/ipa
/etc/ipa/pwdfile.txt
/etc/pki/ca-trust/source/ipa.p11-kit
(new format SQLite)
/etc/ipa/nssdb/cert9.db
/etc/ipa/nssdb/key4.db
/etc/ipa/pkcs11.txt
(old format DBM)
/etc/ipa/cert8.db
/etc/ipa/key3.db
/etc/ipa/secmod.db
Fixes: https://pagure.io/freeipa/issue/7934
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3144/head:pr3144
git checkout pr3144
4 years