Bug 1162340
| Summary: | ipa-server-install fails when restarting named | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Namita Soman <nsoman> |
| Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | jcholast, ksiddiqu, mbasti, mkosek, rcritten, sgoveas |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.1.0-5.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-05 10:14:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Namita Soman
2014-11-10 21:11:29 UTC
From /var/log/ipaserver-install.log:
2014-11-10T21:09:47Z DEBUG Starting external process
2014-11-10T21:09:47Z DEBUG args='/bin/systemctl' 'enable' 'ipa.service'
2014-11-10T21:09:47Z DEBUG Process finished, return code=0
2014-11-10T21:09:47Z DEBUG stdout=
2014-11-10T21:09:47Z DEBUG stderr=ln -s '/usr/lib/systemd/system/ipa.service' '/etc/systemd/system/multi-user.target.wants/ipa.service'
2014-11-10T21:09:47Z DEBUG Starting external process
2014-11-10T21:09:47Z DEBUG args='/bin/systemctl' 'restart' 'ipa.service'
2014-11-10T21:09:54Z DEBUG Process finished, return code=1
2014-11-10T21:09:54Z DEBUG stdout=
2014-11-10T21:09:54Z DEBUG stderr=Job for ipa.service failed. See 'systemctl status ipa.service' and 'journalctl -xn' for details.
2014-11-10T21:09:54Z DEBUG File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 646, in run_script
return_value = main_function()
File "/usr/sbin/ipa-server-install", line 1296, in main
services.knownservices.ipa.enable()
File "/usr/lib/python2.7/site-packages/ipaplatform/redhat/services.py", line 163, in enable
self.restart(instance_name)
File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py", line 291, in restart
capture_output=capture_output)
File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 346, in run
raise CalledProcessError(p.returncode, arg_string, stdout)
2014-11-10T21:09:54Z DEBUG The ipa-server-install command failed, exception: CalledProcessError: Command ''/bin/systemctl' 'restart' 'ipa.service'' returned non-zero exit status 1
This directory should have owner named:named: # ls -lZ /var/named/dyndb-ldap/ drwxrwx---. root root system_u:object_r:named_zone_t:s0 ipa Caused by: <..snip..> Running transaction Installing : ipa-server-4.1.0-4.el7.x86_64 1/1 warning: user named does not exist - using root warning: group named does not exist - using root Verifying : ipa-server-4.1.0-4.el7.x86_64 1/1 <..snip..> I'm working on fix. Upstream ticket: https://fedorahosted.org/freeipa/ticket/4716 Fixed upstream master: https://fedorahosted.org/freeipa/changeset/7c176b708eb855ea8774ad36ba72fd31952a8895 ipa-4-1: https://fedorahosted.org/freeipa/changeset/ba124045b9f39f8264a974c977beba6f15b1b1fb Verified. IPA version: ============ [root@dhcp207-214 ~]# rpm -q ipa-server ipa-server-4.1.0-13.el7.x86_64 [root@dhcp207-214 ~]# Now correct permission for /var/named/dyndb-ldap/ipa directory [root@dhcp207-214 ~]# ls -lZ /var/named/dyndb-ldap/ drwxrwx---. named named system_u:object_r:named_zone_t:s0 ipa [root@dhcp207-214 ~]# ls -lZ /var/named/dyndb-ldap/ipa/ drwxrwx---. named named system_u:object_r:named_zone_t:s0 master [root@dhcp207-214 ~]# Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0442.html |