[JDEV] jabberd as a proper daemon

Thomas Muldowney temas at box5.net
Wed Nov 21 10:53:22 CST 2001


Nixil and I put together some auto* stuff to do all this, but jer
rejected it for 1.4.2.  Why fix what's not broken?  The daemonizing
should be a fairly quick fix, and I'm not really sure why it's not in
there.  I'll try to get jer to let me put it in 1.4.2 =)

--temas


On Wed, Nov 21, 2001 at 07:03:11AM -0700, Brian Lalor wrote:
> Gonna try to make this quick, 'cause I gotta get to work.
> 
> I'd like to see jabberd fixed up to run as a proper daemon.  jabberd 
> should fork once the config file's read in (unless told explicitly not to, 
> like apache's -X).
> 
> There should be a proper install mechanism that puts jabberd in /usr/sbin, 
> all the .so's in /usr/lib/jabber, the spool in /var/spool/jabber, config 
> in /etc/jabber and log files in /var/log/jabber (all what I'm used to with 
> RedHat).
> 
> I've built my RPM (which I will clean up and make available) to put the
> files in those places, and it works, but it does complain about not being
> able to find the directory it was compiled in.  Not forking makes it more 
> difficult to write a RH-compliant init.d script.  It would also be nice to 
> have jabberd run as a non-root user; there's no need for it to run as 
> root, and if (God forbid) an exploit was found to exist, this would save 
> some headache.
> 
> Has anyone already looked into doing these things?  I *might* have some 
> time over the long weekend to hack on this a bit if I know where to start.  
> I guess another appropriate question would be "why hasn't this been done 
> already?"  If there are valid reasons, I'll save myself some coding time, 
> but otherwise, I should be able to dive in and give it a whirl.
> 
> B
> 
> _____________________________________________________________________________
> B r i a n  L a l o r                         blalor at hcirisc.cs.binghamton.edu
> http://hcirisc.cs.binghamton.edu/~blalor     Spam me not.
>    To get my pgp key, put "get pgp key" in the subject of your message
> 
> "Most people would call this the ass end of space, but I like the small
> town feeling you get around here.  I mean, we know everybody. EVERYBODY!"
>                           -- Capt. Jyanix Bauch (Troops)
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20011121/066c912c/attachment-0002.pgp>


More information about the JDev mailing list