View Issue Details

IDProjectCategoryView StatusLast Update
0006212unrealircdpublic2023-01-11 14:03
Reporterdarkex Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.0.4.2 
Fixed in Version6.0.6 
Summary0006212: ./unrealircd rehash doesn't generate a config.RELOAD event
DescriptionWhen I rehash UnrealIRCd with "/rehash", I get the following server notice

-- irc.testnet: config.CONFIG_RELOAD [info] Rehashing server configuration file [by: nick!~user@host]
-- irc.testnet: config.CONFIG_INFO_GENERIC [info] Loading IRCd configuration..
-- irc.testnet: config.CONFIG_INFO_GENERIC [info] Testing IRCd configuration..
-- irc.testnet: config.CONFIG_LOADED [info] Configuration loaded

Or with "kill -SIGHUP `pidof unrealircd`", I get

-- irc.testnet: config.CONFIG_RELOAD [info] Rehashing server configuration file [./unrealircd rehash]
-- irc.testnet: config.CONFIG_INFO_GENERIC [info] Loading IRCd configuration..
-- irc.testnet: config.CONFIG_INFO_GENERIC [info] Testing IRCd configuration..
-- irc.testnet: config.CONFIG_LOADED [info] Configuration loaded

But when I run "./unrealircd rehash", I don't get the config.CONFIG_RELOAD message and simply get

-- irc.testnet: config.CONFIG_INFO_GENERIC [info] Loading IRCd configuration..
-- irc.testnet: config.CONFIG_INFO_GENERIC [info] Testing IRCd configuration..
-- irc.testnet: config.CONFIG_LOADED [info] Configuration loaded
TagsNo tags attached.
3rd party modules

Activities

syzop

2023-01-11 14:03

administrator   ~0022703

Thanks for the report, fixed now in https://github.com/unrealircd/unrealircd/commit/1c87882d3e396bd4b1e7c2662ee6ef54465cab4d
I went for the same message as with the kill signal.

commit 1c87882d3e396bd4b1e7c2662ee6ef54465cab4d (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <[email protected]>
Date: Wed Jan 11 14:00:08 2023 +0100

    Add missing config.RELOAD logging when using ./unrealircd rehash
    (via control socket)
    
    Reported by darkex in https://bugs.unrealircd.org/view.php?id=6212

Issue History

Date Modified Username Field Change
2023-01-10 22:43 darkex New Issue
2023-01-11 14:03 syzop Assigned To => syzop
2023-01-11 14:03 syzop Status new => resolved
2023-01-11 14:03 syzop Resolution open => fixed
2023-01-11 14:03 syzop Fixed in Version => 6.0.6
2023-01-11 14:03 syzop Note Added: 0022703