Project

General

Profile

Actions

Bug #442

closed

[PATCH] After reinstall of TinyDNS package, dnscache does not work anymore

Added by Henrik Kaare Poulsen over 15 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/22/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

BETA 2 snapshot 20100321-0116

If the TinyDNS package is re-installed, either manually or due to a new snapshot, dnscache does not work anymore.

The reason seems to be, that on de-install the Gdnscache user and group are deleted, but not the /etc/dnscache directory.
Upon re-install a new Gdnscache user and group are created, which leaves some files under /etc/dnscache with wrong ownership, so multilog fails to work.

PATCH

In tinydns.inc in the function tinydns_custom_php_deinstall_command add

    exec("rm -rf /etc/dnscache");

Actions

Also available in: Atom PDF