View Issue Details

IDProjectCategoryView StatusLast Update
0006082unrealircdpublic2023-03-20 11:53
ReporterLord255 Assigned Tosyzop  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformlinuxOSubuntuOS Version20.04
Product Version6.0.2 
Fixed in Version6.0.7 
Summary0006082: using /rehash for remote server, makes an info appearing twice on the remote server
Descriptionon server1, using /rehash server2, makes the info appear twice on server2.


on server1: (after hitting /rehash irc.server2)

/../../unrealircd.conf Rehashing
-
 -irc.server2- Loading IRCd configuration..
 -irc.server2- Testing IRCd configuration..
-

----------------------------------------------------------------------------

on server2:

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


-----------------------------------------------------------------

-irc.server2- config.CONFIG_RELOAD [info] Rehashing server configuration file [by: nick!ident@host]

 this line is there twice. idk if its intended or not.

also on server1, the notices are weird. no info about config.*

Steps To Reproduceon server1, use /rehash server2
check snotices on server2
Additional Informationyou need to be an oper to use /rehash
duh.

snomask:
server1:
+bcdfkoqsvBCOS Server notice mask
server2:
+bcdfkoqsvBCOS Server notice mask
Tags/rehash
3rd party modulesnone

Activities

syzop

2023-03-20 11:47

administrator   ~0022799

Thanks! Fixed now (and some more).

https://github.com/unrealircd/unrealircd/commit/768a08f83b1664d5c62196ce929556e2506dab04

commit 768a08f83b1664d5c62196ce929556e2506dab04 (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <[email protected]>
Date: Mon Mar 20 11:45:41 2023 +0100

    Fixes for remote REHASH of a server: fix both missing and duplicate lines.
    Duplicate line reported by Lord255 in https://bugs.unrealircd.org/view.php?id=6082
    Missing line(s) may have been mentioned by someone but never reported
    on the bug tracker.

syzop

2023-03-20 11:49

administrator   ~0022800

Last edited: 2023-03-20 11:53

Oh ok I see you did mention something else "also on server1, the notices are weird. no info about config.*".. did not read it as such when fixing things. But yeah I fixed that too now.

== Before ==
Loading IRCd configuration..
Testing IRCd configuration..
(The configuration loaded message was missing)

== After ==
config.CONFIG_RELOAD [info] Rehashing server configuration file [by: client!~x@localhost]
config.CONFIG_INFO_GENERIC [info] Loading IRCd configuration..
config.CONFIG_INFO_GENERIC [info] Testing IRCd configuration..
config.CONFIG_LOADED [info] Configuration loaded

Issue History

Date Modified Username Field Change
2022-04-01 17:33 Lord255 New Issue
2022-04-01 17:33 Lord255 Tag Attached: /rehash
2023-03-20 11:47 syzop Assigned To => syzop
2023-03-20 11:47 syzop Status new => resolved
2023-03-20 11:47 syzop Resolution open => fixed
2023-03-20 11:47 syzop Fixed in Version => 6.0.7
2023-03-20 11:47 syzop Note Added: 0022799
2023-03-20 11:49 syzop Note Added: 0022800
2023-03-20 11:53 syzop Note Edited: 0022800
2023-03-20 11:53 syzop Note Edited: 0022800