+++ This bug was initially created as a clone of Bug #873673 +++ Created attachment 639378 [details] ipaserver-install.log from another machine where I got the same error Description of problem: Receiving Error while setting up ipa-server Version-Release number of selected component (if applicable): ipa-server-3.0.0-106.20121106T0229zgit881fc3a.el6.x86_64 How reproducible: Always Steps to Reproduce: [root@sideswipe ~]# ipa-server-install --setup-dns --forwarder 1.2.3.4 -p aaaaaaaa -a aaaaaaaa -r TESTRELM.COM -n testrelm.com --ip-address=1.2.3.3 --hostname=sideswipe.testrelm.com -U The log file for this installation can be found in /var/log/ipaserver-install.log ============================================================================== This program will set up the IPA Server. This includes: * Configure a stand-alone CA (dogtag) for certificate management * Configure the Network Time Daemon (ntpd) * Create and configure an instance of Directory Server * Create and configure a Kerberos Key Distribution Center (KDC) * Configure Apache (httpd) * Configure DNS (bind) To accept the default shown in brackets, press the Enter key. Warning: skipping DNS resolution of host sideswipe.testrelm.com Using reverse zone 3.2.1.in-addr.arpa. The IPA Master Server will be configured with: Hostname: sideswipe.testrelm.com IP address: 1.2.3.3 Domain name: testrelm.com Realm name: TESTRELM.COM BIND DNS server will be configured to serve IPA domain with: Forwarders: 1.2.3.4 Reverse zone: 3.2.1.in-addr.arpa. Configuring NTP daemon (ntpd) [1/4]: stopping ntpd Unexpected error - see /var/log/ipaserver-install.log for details: IOError: [Errno 2] No such file or directory: '/var/run/ipa/services.list' [root@sideswipe ~]# ipa-server-install --uninstall -U Shutting down all IPA services Removing IPA client configuration Unconfiguring ntpd Unexpected error - see /var/log/ipaserver-uninstall.log for details: IOError: [Errno 2] No such file or directory: '/var/run/ipa/services.list' [root@sideswipe ~]# ipa-server-install --uninstall -U Shutting down all IPA services Removing IPA client configuration Unexpected error - see /var/log/ipaserver-uninstall.log for details: IOError: [Errno 2] No such file or directory: '/var/run/ipa/services.list' Some comments from original bug were cutted: --- Additional comment from Martin Kosek on 2012-11-06 16:38:35 CET --- Upstream ticket: https://fedorahosted.org/freeipa/ticket/3240 --- Additional comment from Martin Kosek on 2012-11-06 17:03:47 CET --- <snip> As a workaround you can run the following commands after ipa-server package installation: # mkdir /var/run/ipa # chmod 0700 /var/run/ipa The installation should then work as before. --- Additional comment from Rob Crittenden on 2012-11-06 17:13:46 CET --- This is caused by patches for systemd integration in Fedora... <snip> --- Additional comment from Martin Kosek on 2012-11-06 17:29:43 CET --- Right, detaching the upstream ticket, this not an upstream work.
freeipa-3.1.0-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/freeipa-3.1.0-2.fc18
Package freeipa-3.1.0-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing freeipa-3.1.0-2.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-0171/freeipa-3.1.0-2.fc18 then log in and leave karma (feedback).
[root@server ~]# yum list installed freeipa* Loaded plugins: langpacks, presto, refresh-packagekit Installed Packages freeipa-admintools.x86_64 3.1.0-1.fc18 @fedora freeipa-client.x86_64 3.1.0-1.fc18 @fedora freeipa-python.x86_64 3.1.0-1.fc18 @fedora freeipa-server.x86_64 3.1.0-1.fc18 @fedora freeipa-server-selinux.x86_64 3.1.0-1.fc18 @fedora [root@server ~]# yum update --enablerepo=updates-testing freeipa-3.1.0-2.fc18 Loaded plugins: langpacks, presto, refresh-packagekit No Match for argument: freeipa-3.1.0-2.fc18 No package freeipa-3.1.0-2.fc18 available. No Packages marked for Update [root@server ~]#
It may not have made it out to your mirror yet. It is available in the one I tested (fedora.mirror.constant.com) and the folks in #fedora-admin confirmed it has been pushed. You may need to clean your yum cache. The package is not freeipa, it is freeipa-<subpackage> (usually server or client).
So are the instructions in comment 2 incorrect?
The workaround: # mkdir /var/run/ipa # chmod 0700 /var/run/ipa is no longer required with a new installation as follows: [root@server ~]# yum install --enablerepo=updates-testing freeipa-server-3.1.0-2.fc18 ... [root@server ~]# yum list installed freeipa* Loaded plugins: langpacks, presto, refresh-packagekit Installed Packages freeipa-admintools.x86_64 3.1.0-2.fc18 @updates-testing freeipa-client.x86_64 3.1.0-2.fc18 @updates-testing freeipa-python.x86_64 3.1.0-2.fc18 @updates-testing freeipa-server.x86_64 3.1.0-2.fc18 @updates-testing freeipa-server-selinux.x86_64 3.1.0-2.fc18 @updates-testing [root@server ~]# [root@server ~]# yum install --enablerepo=updates-testing bind bind-dyndb-ldap ... [root@server ~]# yum list installed bind* Loaded plugins: langpacks, presto, refresh-packagekit Installed Packages bind.x86_64 32:9.9.2-6.P1.fc18 @updates-testing bind-dyndb-ldap.x86_64 2.3-2.fc18 @fedora bind-libs.x86_64 32:9.9.2-6.P1.fc18 @updates-testing bind-libs-lite.x86_64 32:9.9.2-6.P1.fc18 @updates-testing bind-license.noarch 32:9.9.2-6.P1.fc18 @updates-testing bind-utils.x86_64 32:9.9.2-6.P1.fc18 @updates-testing [root@server ~]# [root@server ~]# ipa-server-install \ > --admin-password adminpassword \ > --hostname server.hunter.org \ > --domain hunter.org \ > --ds-password dspassword \ > --realm HUNTER.ORG \ > --setup-dns \ > --no-forwarders \ > --unattended ... [root@server ~]#
freeipa-3.1.0-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.