#3619 integrated DNS check in installer should take machine's architecture into account and should not allow mixing i386/x86_64
Closed: wontfix 5 years ago Opened 11 years ago by adelton.

By mistake I've installed i686 freeipa-*-3.1.4-1.fc18.i686.rpm packages on my x86_64 Fedora 18.

Running ipa-server-install then failed with

  [20/36]: restarting directory server
ipa         : CRITICAL Failed to restart the directory server (Command '/bin/systemctl restart dirsrv@RHTS-ENG-BOS-REDHAT-COM.service' returned non-zero exit status 1). See the installation log for details.

and all subsequent steps failing. In the log,

2013-05-10T11:02:41Z DEBUG stderr=Job for dirsrv@RHTS-ENG-BOS-REDHAT-COM.service failed. See 'systemctl status dirsrv@RHTS-ENG-BOS-REDHAT-COM.service' and 'journalctl -xn' for details.
2013-05-10T11:02:41Z CRITICAL Failed to restart the directory server (Command '/bin/systemctl restart dirsrv@RHTS-ENG-BOS-REDHAT-COM.service' returned non-zero exit status 1). See the installation log for details.

seems interesting, with /var/log/dirsrv/slapd-REALM/errors having

[10/May/2013:07:02:40 -0400] - slapd stopped.
[10/May/2013:07:02:41 -0400] - Netscape Portable Runtime error -5977: /usr/lib64/dirsrv/plugins/libipa_dns.so: cannot open shared object file: No such file or directory
[10/May/2013:07:02:41 -0400] - Could not open library "/usr/lib64/dirsrv/plugins/libipa_dns.so" for plugin IPA DNS
[10/May/2013:07:02:41 -0400] - Unable to load plugin "cn=IPA DNS,cn=plugins,cn=config"

Alexander B. suggests "we do check in freeipa installer in case internal DNS setup is asked but we check regardless machine arch that either of i386 or x86_64 ldap.so exists and if i386 ldap.so exists on x86_64 it passes through, configures dirsrv, and later dirsrv fails".


The issue is in ipaserver/install/dsinstance.py where we determine the server type based on the existence of directories.

We make other similar assumptions in other places too. certmonger.py, for example.

Metadata Update from @adelton:
- Issue assigned to someone
- Issue set to the milestone: Tickets Deferred

7 years ago

Thank you taking time to submit this request for FreeIPA. Unfortunately this bug was not given priority and the team lacks the capacity to work on it at this time.

Given that we are unable to fulfil this request I am closing the issue as wontfix. To request re-consideration of this decision please reopen this issue and provide additional technical details about its importance to you.

Metadata Update from @rcritten:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata