On Mon, Jun 29, 2015 at 10:54:50AM +0200, Christian Heimes wrote:
> Hello,
> the attached patch fixes the first bug, that was reported by Fraser
> today. installutils.remove_file() uses os.path.exists() to check if the
> file still exists, which in turn uses stat(2). I have modified the
> function to use os.path.lexists() instead. It doesn't follow symlinks.
> Because httpinstance first removes the target file
> /etc/ipa/kdcproxy/ipa-kdc-proxy.conf before it tries to remove the
> symlink /etc/httpd/conf.d/ipa-kdc-proxy.conf, the
> installutils.remove_file() ignores the dangling symlink.
> Christian


Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to