FS#76273 - unrealircd requires /build/unrealircd/data/ directory to run

Attached to Project: Arch Linux
Opened by Krzysztof Piecuch (thy-duang) - Sunday, 23 October 2022, 11:06 GMT
Last edited by Toolybird (Toolybird) - Sunday, 23 October 2022, 20:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
unrealircd seems to have a hardcoded Unix socket path set to /build/unrealircd/data/unrealircd.ctl. This seems to be impossible to change. This should be a part of the config (so maybe an upstream bug?) or set to something in /run.

Additional info:
* package version(s): 6.0.4.1-1
* config and/or log files etc:


Oct 22 21:44:54 ZGROZA systemd[1]: Starting IRC daemon...
Oct 22 21:44:54 ZGROZA unrealircd[205410]: _ _ _ ___________ _____ _
Oct 22 21:44:54 ZGROZA unrealircd[205410]: | | | | | |_ _| ___ \/ __ \ | |
Oct 22 21:44:54 ZGROZA unrealircd[205410]: | | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
Oct 22 21:44:54 ZGROZA unrealircd[205410]: | | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
Oct 22 21:44:54 ZGROZA unrealircd[205410]: | |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
Oct 22 21:44:54 ZGROZA unrealircd[205410]: \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
Oct 22 21:44:54 ZGROZA unrealircd[205410]: v6.0.4.1
Oct 22 21:44:54 ZGROZA unrealircd[205410]: UnrealIRCd is brought to you by Bram Matthys (Syzop),
Oct 22 21:44:54 ZGROZA unrealircd[205410]: Krzysztof Beresztant (k4be), Gottem and i
Oct 22 21:44:54 ZGROZA unrealircd[205410]: Using the following libraries:
Oct 22 21:44:54 ZGROZA unrealircd[205410]: * OpenSSL 1.1.1q 5 Jul 2022
Oct 22 21:44:54 ZGROZA unrealircd[205410]: * libsodium 1.0.18
Oct 22 21:44:54 ZGROZA unrealircd[205410]: * c-ares 1.18.1
Oct 22 21:44:54 ZGROZA unrealircd[205410]: * PCRE2 10.40 2022-04-14
Oct 22 21:44:54 ZGROZA unrealircd[205410]: This server can handle 16384 concurrent sockets (16376 clients + 8 reserve)
Oct 22 21:44:54 ZGROZA unrealircd[205410]: [info] Loading IRCd configuration..
Oct 22 21:44:54 ZGROZA unrealircd[205410]: [info] Testing IRCd configuration..
Oct 22 21:44:54 ZGROZA unrealircd[205410]: [info] Configuration loaded
Oct 22 21:44:54 ZGROZA unrealircd[205410]: [info] Configuration test passed OK
Oct 22 21:44:54 ZGROZA unrealircd[205410]: [info] UnrealIRCd is now listening on the following addresses/ports:
Oct 22 21:44:54 ZGROZA unrealircd[205410]: [info] IPv4: 127.0.0.1:6900(TLS), 127.0.0.1:6697(TLS), 127.0.0.1:6667
Oct 22 21:44:54 ZGROZA unrealircd[205410]: [info] IPv6: <none>
Oct 22 21:44:54 ZGROZA unrealircd[205410]: [fatal] Could not listen on UNIX domain socket /build/unrealircd/data/unrealircd.ctl: No such file or directory
Oct 22 21:44:54 ZGROZA systemd[1]: unrealircd.service: Control process exited, code=exited, status=255/EXCEPTION
Oct 22 21:44:54 ZGROZA systemd[1]: unrealircd.service: Failed with result 'exit-code'.
Oct 22 21:44:54 ZGROZA systemd[1]: Failed to start IRC daemon.

Steps to reproduce:

pacman -S unrealircd
cd /etc/unrealircd/tls
openssl req -newkey rsa:4096 -x509 -sha512 -days 365 -nodes -out server.cert.pem -keyout server.key.pem # generate self-signed cert for unrealircd to use
chown irc:irc *
< change default passwords and cookies in /etc/unrealircd/unrealircd.conf >
at this point, there's nothing to change in unrealircd's config and it won't start because it requires /build directory.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 23 October 2022, 20:15 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#74139 

Loading...