View Issue Details

IDProjectCategoryView StatusLast Update
0001699unrealircdpublic2004-04-14 14:50
Reportersuperh Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionopen 
Product Version3.2-RC2 
Summary0001699: The /rehash command with -motd does not rehash rules/motd files remotely, also /rules "servername" malfunction
DescriptionWhen connected to a server, say "A.X.ORG", you cannot /rehash B.X.ORG -motd, nor /rules B.X.ORG. It simply says "RULES File is missing" even though it in fact is not. You can only rehash/read the /rules file locally, not on other servers, however /helpop ?rehash documentation states otherwise, that this can in fact be done.
Steps To Reproduce/rules remote.server.name
/rehash remote.server.name -rules
Additional InformationI would use this to rehash newly updated rules files (script-batch uploaded). I have ran into this issue twice when updating rules, I just didn't report it the first time.
3rd party modules

Activities

syzop

2004-04-02 19:22

administrator   ~0005716

About the rules (and motd) thingy... for remote rules/motd the default files ircd.rules and ircd.motd are used. This is however a tad weird and undocumented.

About rehash, I don't know.. is there a 3rd server in-between (A.X-BLAH-B.X)? coz it works fine at my 5-user-net (A-B).

superh

2004-04-03 18:08

reporter   ~0005730

ircd.rules? Why do we have rules.motd then? Heh...

That might be the problem.

Anyway, Yes, there is. From leaf to hub to leaf.

codemastr

2004-04-05 20:00

reporter   ~0005745

I can't see anything causing this. It works fine in my tests.

I have the exact same setup you have,
leaf1 <-> hub <-> leaf2
and the message arrives at the server and is processed just fine.

Does it say anything when you do the /rehash?

like do you get a message of "YOURNICK is remotely rehashing all MOTDs and RULES" ?

Also, since you had the rules file named wrong, are you sure that the /rehash wasn't working and in fact the problem was, there was no new rules file for it to read?

thunderbirdjl

2004-04-07 08:50

reporter   ~0005758

What about a ./unreal rehash ? I noticed that rehashing that way does not update the motd files.

codemastr

2004-04-07 10:08

reporter   ~0005762

That may be true, but it doesn't have anything to do with remote rehash...

syzop

2004-04-14 14:50

administrator   ~0005860

Just like codemastr I cannot confirm this bug.
I guess it was the rules.motd thingy then.

I've fixed the ./unreal rehash thingy in latest CVS (.2218).

Issue History

Date Modified Username Field Change
2004-04-02 19:11 superh New Issue
2004-04-02 19:22 syzop Note Added: 0005716
2004-04-03 18:08 superh Note Added: 0005730
2004-04-05 20:00 codemastr Note Added: 0005745
2004-04-07 08:50 thunderbirdjl Note Added: 0005758
2004-04-07 10:08 codemastr Note Added: 0005762
2004-04-14 14:50 syzop Status new => closed
2004-04-14 14:50 syzop Note Added: 0005860