Summary: | unrealircd 3.2-rc1 can't start (fixed), but new version is here :) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bjarke Istrup Pedersen (RETIRED) <gurligebis> |
Component: | Current packages | Assignee: | Chuck Short (RETIRED) <zul> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
UnrealIRCD 3.2 RC2 ebuild
digest fixed mkunrealircd-cert |
Description
Bjarke Istrup Pedersen (RETIRED)
2004-02-21 10:55:58 UTC
Fixed in cvs. Well, still there, but this time it is: * Starting unrealircd... Usage: ircd [-h servername] [-p portnumber] [-x loglevel] [-t] [-H] Server not started chdir: No such file or directory ERROR: Unable to change to directory '/var/tmp/portage/unrealircd-3.2_rc1/image//etc/unrealircd' [ !! ] I think it gets some address hardcoded into it by the compiling, and since we are using sandbox the problem exists when it is copied outside the /var/tmp/portage folder. *sigh* DPATH and SPATH are hardcoded in include/setup.h. This should get it working properly now. Have a fix for this: 1) ------------------------------------------------- Change in ebuild: --prefix=/usr \ --with-dpath=${D}/etc/unrealircd \ --with-spath=/usr/bin/unrealircd \ To: --prefix=/usr \ --with-dpath=/etc/unrealircd \ --with-spath=/usr/bin/unrealircd \ 2) ------------------------------------------------- chown /etc/unrealircd/tmp to the user that ircd is running as. Works fine, but I have to use: USE="-ssl" emerge unrealircd to get it working, because it gives me: * Initializing SSL. [ !! ] This is because I have not run /usr/bin/mkunrealircd-cert , but it just isn't there. I have a few purposals for enhancements: 1: Change the user in /etc/conf.d/unrealircd to ircd as default 2: Make the ircd user and group, so they are there, and the user does not have to make them manually well, making the certificate does not help. Changing mkunrealircd-cert from: #!/bin/bash openssl req -new -config /etc/unrealircd/ssl.cnf -out /etc/unrealircd/server.req.pem -keyout /etc/unrealircd/server.key.pem -nodes openssl req -x509 -config /etc/unrealircd/ssl.cnf -days 365 -in /etc/unrealircd/server.req.pem -key /etc/unrealircd/server.key.pem -out server.cert.pem to: #!/bin/bash openssl req -new -config /etc/unrealircd/ssl.cnf -out /etc/unrealircd/server.req.pem -keyout /etc/unrealircd/server.key.pem -nodes openssl req -x509 -config /etc/unrealircd/ssl.cnf -days 365 -in /etc/unrealircd/server.req.pem -key /etc/unrealircd/server.key.pem -out /etc/unrealircd/server.cert.pem Fixes it. By the way, 3.2 rc2 is out :) Please add as an attachment. Thanks chuck Created attachment 29209 [details]
UnrealIRCD 3.2 RC2 ebuild
Created attachment 29210 [details]
digest
Created attachment 29211 [details]
fixed mkunrealircd-cert
There you go, ebuild, digest and fixed mkunrealircd-cert :) Added thanks for the script Please add the ebuild to portage :) Added Partly fixed, but the ebuild should be _rc2 not _rc1 since it is RC2 :) Added. |