Bug in DA delete users? Bind not cleared.

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,268
Location
Maastricht
I might have discovered a bug in DA.
On a freshly installed server I instantly switch to the enhanced skin.

So installing things, restoring my users from an old server as a test, goes fine.

After testing I want to delete my users, so I select everything, but it seems DA is not doing this in the correct order, because I got an "error while deleting users".

So I check this notice and see this:
User reseller Removed
Child user customer1 deleted
Child user customer2 deleted
Reseller's package directory removed.

Reseller deleted
User removed from SSH
hosting-fun.nl's config files have been removed

Users's domains directory removed.
Shouldn't customer users be delete before the company (reseller account) is deleted? Because a bit lower I see this happening:
User customer1 did not exist on the server. Removing it from your list.
And at another place the same for customer2.

Now here something went wrong completely. Because users are gone from everywhere, except from /var/named:

Code:
ls -la /var/named
drwxrwx---   2 named named  4096 Sep  7 18:36 data
-rw-r--r--   1 root  root    195 Sep  7 19:54 dlvset-resellerdomain.nl.
-rw-r--r--   1 root  root    201 Sep  7 20:08 dlvset-customer2domain.org.
-rw-r--r--   1 root  root    171 Sep  7 19:54 dsset-resellerdomain.nl.
-rw-r--r--   1 root  root    175 Sep  7 20:08 dsset-customer2domain.org.
drwxrwx---   2 named named  4096 Sep  7 18:36 dynamic
-rw-r--r--   1 root  root  11398 Sep  7 19:54 resellerdomain.nl.db.signed
-rw-r--r--   1 root  root    610 Aug 25 21:54 resellerdomain.nl.ksk.key
-rw-------   1 root  root   1776 Aug 25 21:54 resellerdomain.nl.ksk.private
-rw-r--r--   1 root  root    437 Aug 25 21:54 resellerdomain.nl.zsk.key
-rw-------   1 root  root   1012 Aug 25 21:54 resellerdomain.nl.zsk.private
-rw-r--r--   1 root  root   1250 Sep  7 19:31 admin-domain.nl.db
-rw-r--r--   1 root  root    513 Apr 18  2016 localhost.zone
-rw-r-----   1 root  named  2281 May 22  2017 named.ca
-rw-r-----   1 root  named   152 Dec 15  2009 named.empty
-rw-r--r--   1 root  root    433 Apr 18  2016 named.local
-rw-r-----   1 root  named   152 Jun 21  2007 named.localhost
-rw-r-----   1 root  named   168 Dec 15  2009 named.loopback
-rw-r--r--   1 root  root  11464 Sep  7 20:08 customer2domain.org.db.signed
-rw-r--r--   1 root  root    615 Aug 25 21:49 customer2domain.org.ksk.key
-rw-------   1 root  root   1776 Aug 25 21:49 customer2domain.org.ksk.private
-rw-r--r--   1 root  root    441 Aug 25 21:49 customer2domain.org.zsk.key
-rw-------   1 root  root   1012 Aug 25 21:49 customer2domain.org.zsk.private
-rw-r--r--   1 root  root   1534 Sep  7 19:50 serverdomain.nl.db
-rw-r--r--   1 root  root    815 Sep  7 18:35 server.serverdomain.nl.db
drwxrwx---   2 named named  4096 Jul 29 19:21 slaves[/quote]

So DA does not remove domains from /var/named when they have DNSSec keys installed.
They are also not visible under DNS Administration in admin level.

Is this a bug? Or is this because DNSSec was not activated on this fresh server yet and DA did not recognize it?
They are also not pointed to anymore in /etc/named.conf but they will cause errors if you restore that useraccount again, because the error will say the domain already exists.
 
Top