#4110 Replica installation dies if /etc/resolv.conf is not writeable
Closed: Fixed None Opened 10 years ago by pspacek.

Build from master: freeipa-server-3.3.90GITf7128b9-0.fc20.x86_64

Configuring DNS (named)
  [1/8]: adding NS record to the zone
  [2/8]: setting up our own record
  [3/8]: setting up CA record
  [4/8]: setting up kerberos principal
  [5/8]: setting up named.conf
  [6/8]: restarting named
  [7/8]: configuring named to start on boot
  [8/8]: changing resolv.conf to point to ourselves

Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.

Unexpected error - see /var/log/ipareplica-install.log for details:
IOError: [Errno 13] Permission denied: '/etc/resolv.conf'


[root@vm-240 master]# lsattr /etc/resolv.conf 
----i--------e-- /etc/resolv.conf

I think that this should be non-fatal error. It is simple to fix the error manually - compare it with replica re-installation and problems connected with uninstaller.


This was a trivial patch so I wrote it myself.

Reproducer: Run

$ chattr +i /etc/resolv.conf

before the replica installation.

Metadata Update from @pspacek:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.0 - 2014/01

7 years ago

Login to comment on this ticket.

Metadata