FS#12458 - Create init script for rbldnsd

Attached to Project: Arch Linux
Opened by Glenn Matthys (RedShift) - Monday, 15 December 2008, 10:54 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 06 May 2009, 18:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dale Blount (dale)
Glenn Matthys (RedShift)
Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date 2008-12-16
Percent Complete 100%
Votes 0
Private No

Details

Create init script for rbldnsd
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 06 May 2009, 18:50 GMT
Reason for closing:  Implemented
Comment by Glenn Matthys (RedShift) - Monday, 15 December 2008, 19:09 GMT
updated PKGBUILD, which includes the installation of the manpage and the installation of the conf.d & rc.d scripts. + Bump to new version.
Comment by Dale Blount (dale) - Monday, 15 December 2008, 19:13 GMT
I'll try to get to it soon. Should be fairly easy for someone else to bump if they have the time.
Comment by Gavin Bisesi (Daenyth) - Saturday, 21 March 2009, 14:34 GMT
As of 0.996-1, not implemented. Status?
Comment by Eric Belanger (Snowman) - Friday, 17 April 2009, 06:20 GMT
rbldnsd is in the license rebuild list. I'll implement this FR.
Comment by Dale Blount (dale) - Friday, 17 April 2009, 12:04 GMT
Thanks Eric.
Comment by Eric Belanger (Snowman) - Friday, 17 April 2009, 19:05 GMT
Dale: The current PKGBUILD in svn create 2 users/groups: rbldns and rbldnszones while the PKGBUILD attached here just use the nobody user/group. Which one should I use?
Comment by Dale Blount (dale) - Friday, 17 April 2009, 19:08 GMT
README.user from the author suggests 2 separate and unique users.
Comment by Eric Belanger (Snowman) - Friday, 17 April 2009, 19:46 GMT
OK then. I'll keep the rbldns and rbldnszones users.
Comment by Eric Belanger (Snowman) - Friday, 17 April 2009, 22:08 GMT
The daemon fails on startup. It could be a configuration issue as I don't really know what this package does. I've posted what I got so far in case someone has tiem to check it. I could also push the current package in testing.
Comment by Glenn Matthys (RedShift) - Saturday, 18 April 2009, 00:39 GMT
Eric: you need to add at least one zone to serve, otherwise rbldnsd will not start.
Comment by Eric Belanger (Snowman) - Saturday, 18 April 2009, 03:35 GMT
That's what I thought. Could you give me a specific example that would work for me so I could test? Using the example in the conf.d file doesn't work (NB. I'm not using the daemon for testing convenience):

$ sudo rbldnsd -u rbldns:rbldns -r /var/lib/rbldns -b 127.0.0.1/53 be.surbl.org:dnset:be.surbl.org.rbldnsd
rbldnsd: listening on 127.0.0.1/53
rbldnsd: file be.surbl.org.rbldnsd: unable to open file: No such file or directory
rbldnsd: zone be.surbl.org: not all datasets are loaded, zone will not be serviced
rbldnsd: zones reloaded, time 0.0e/0.0u sec, mem arena=132 free=42 mmap=0 Kb
rbldnsd: zone loading errors, aborting

If it's impossible, then I could just put it in testing first.
Comment by Eric Belanger (Snowman) - Tuesday, 28 April 2009, 06:12 GMT
I've put an updated rbldnsd-0.996b-1 in testing. Please test and report how it goes.

Loading...