Closed anp135 closed 3 years ago
Don't you need to add the -U
option to the command
to enable unattended installation?
Don't you need to add the
-U
option to thecommand
to enable unattended installation?
Much better -).
The next one error is (ipa-server-configure-first.log):
...
Configuring ipa-custodia
[1/5]: Making sure custodia container exists
[2/5]: Generating ipa-custodia config file
[3/5]: Generating ipa-custodia keys
[4/5]: starting ipa-custodia
[5/5]: configuring ipa-custodia to start on boot
Done configuring ipa-custodia.
Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
[1/30]: configuring certificate server instance
[error] IOError: [Errno 13] Permission denied: '/tmp/tmpaNH8NW'
+ ret=123
+ echo 'FreeIPA server configuration failed.'
FreeIPA server configuration failed.
+ exit 123
+ mark_exit_code
+ exit_code=123
+ echo 123
+ exit 123
File /tmp/tmpaNH8NW
created with:
-rw------- 1 pkiuser pkiuser 0 Aug 16 14:19 tmpaNH8NW
That's with freeipa/freeipa-server:centos-7
, right? Any specific reason why not use freeipa/freeipa-server:centos-8
?
Specifically, I believe you are hitting https://bugzilla.redhat.com/show_bug.cgi?id=1677027 which can be workarounded by
# sysctl fs.protected_regular=0
on the host which is what we also do for the centos-7 container in the CI with https://github.com/freeipa/freeipa-container/blob/master/.github/workflows/build-test.yaml#L80-L82 ... but you'd have to configure it to persist across reboots, and if this is a new deployment, using CentOS 8 based image should be more sustainable long term anyway.
It's doesn't matter: centos 7 or 8... I tired early 8 and has another errors.
Right now, with pretty -U
i got docker logs:
Local IP address and netmask pairs:
100.127.254.14/255.255.255.128
fe80::42:64ff:fe7f:fe0e/ffff:ffff:ffff:ffff::
Sudoers I/O plugin version 1.8.29
This program will set up IPA client.
Version 4.9.2
+ ret=123
+ echo 'FreeIPA server configuration failed.'
FreeIPA server configuration failed.
+ exit 123
+ mark_exit_code
+ exit_code=123
+ echo 123
+ exit 123
with ipaclient-install.log & ipaserver-install.log: ipaserver-install.log ipaclient-install.log
That's a different issue then, so it does matter.
Please remove that
privileged: true
for a start. By the way, where did you find a advice to use privileged: true
? We see people using that and it causes problems and is a bad practice from security point of view overall.
Hi. I tried run centos-7 and centos-8 tags from hub docker but errors the same.
My docker-compose is:
I have no enabled selinux. OS on the docker host is Ubuntu-20.4 the docker logs of the container:
The ipaserver-install.log is: