Bug 208043 - [patch] dns/nsd update to 4.1.9
Summary: [patch] dns/nsd update to 4.1.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Olli Hauer
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-03-15 19:31 UTC by Olli Hauer
Modified: 2016-03-16 11:22 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jaap)


Attachments
update nsd to 4.1.9 (815 bytes, text/plain)
2016-03-15 19:31 UTC, Olli Hauer
no flags Details
suggestion for next update to 4.1.10 (735 bytes, text/plain)
2016-03-15 20:49 UTC, Olli Hauer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olli Hauer freebsd_committer 2016-03-15 19:31:53 UTC
Created attachment 168253 [details]
update nsd to 4.1.9

update dns/nsd to 4.1.9

Changelog:
BUG FIXES:
- Change the nsd.db file version because of nanosecond precision fix.
Comment 1 Jaap Akkerhuis 2016-03-15 19:48:00 UTC
Comment on attachment 168253 [details]
update nsd to 4.1.9

Yes, go ahead
Comment 2 commit-hook freebsd_committer 2016-03-15 19:56:33 UTC
A commit references this bug:

Author: ohauer
Date: Tue Mar 15 19:56:28 UTC 2016
New revision: 411202
URL: https://svnweb.freebsd.org/changeset/ports/411202

Log:
  - update to 4.1.9

  BUG FIXES:
  - Change the nsd.db file version because of nanosecond precision fix.

  Approved by:    jaap@NLnetLabs.nl (maintainer)
  PR:             208043
  MFH:            2016Q1

Changes:
  head/dns/nsd/Makefile
  head/dns/nsd/distinfo
Comment 3 commit-hook freebsd_committer 2016-03-15 20:01:35 UTC
A commit references this bug:

Author: ohauer
Date: Tue Mar 15 20:00:45 UTC 2016
New revision: 411203
URL: https://svnweb.freebsd.org/changeset/ports/411203

Log:
  MFH: r411202

  - update to 4.1.9

  BUG FIXES:
  - Change the nsd.db file version because of nanosecond precision fix.

  Approved by:    jaap@NLnetLabs.nl (maintainer)
  PR:             208043

  Approved by:	ports-secteam (implicit)

Changes:
_U  branches/2016Q1/
  branches/2016Q1/dns/nsd/Makefile
  branches/2016Q1/dns/nsd/distinfo
Comment 4 Olli Hauer freebsd_committer 2016-03-15 20:49:21 UTC
Created attachment 168256 [details]
suggestion for next update to 4.1.10

Hi Jaap,

after reading the discussion about the nsd.db concern on the mailing
list I got the idea to handle this in the FreeBSD rc-script.

Don't know if it is really bullet proof, but if you like it maybe
submit the patch with the next nsd update.
Comment 5 Jaap Akkerhuis 2016-03-16 11:07:03 UTC
(In reply to Olli Hauer from comment #4)

That is a nice idea. Drawback is that it slows down the
halting/rebooting of the machine when there are zillions of zone files
to write and/or the database is big.

 > Don't know if it is really bullet proof, but if you like it maybe
 > submit the patch with the next nsd update.

The corner case is that when the machine crashes (during the rites)
the files might be corrupted. But as far as I know, corrupt files are
automatically recreated in this case (the recent problem was due to a
programming error). But yes, having an better-save-then-sorry-on-exit
might be fine.
Comment 6 Olli Hauer freebsd_committer 2016-03-16 11:22:19 UTC
(In reply to jaap from comment #5)

> Drawback is that it slows down the halting/rebooting of the machine when
> there are zillions of zone files to write and/or the database is big.

For this case we can add a parmeter like nsd_woe (write on exit) or similar.

> The corner case is that when the machine crashes (during the rites)
> the files might be corrupted.

Good argument, especial in case of a system hang.
Perhaps I can find the time to do some empirical testing with a bigger amount of generated zone files ;)