View Issue Details

IDProjectCategoryView StatusLast Update
0002831unrealircdpublic2006-02-23 09:38
Reporterchasingsol Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Platformi386OSLinuxOS Version2.6.15
Product Version3.2.4 
Summary0002831: Unknown class 'clients' in oper block (CVS .467)
DescriptionReceiving the following message when starting IRCd.

* unrealircd.conf:11: illegal oper::class, unknown class 'clients' using default of class 'default'
* unrealircd.conf:32: illegal oper::class, unknown class 'clients' using default of class 'default'

Oper block:

oper xx {
        class clients;
        from {
                userhost *@*.xxxxxxxxxxxxxx.net;
        };
        password "xxxxxxxxxxxxxxxxxxxxxxxxxx" { sha1; };
        flags
        {
                admin;
                can_override;
                can_zline;
                can_gzline;
                can_gkline;
                can_die;
                can_restart;
                get_host;
        };
};
TagsNo tags attached.
3rd party modules

Relationships

duplicate of 0000585 resolvedsyzop [config] include files aren't directly included 

Activities

Dukat

2006-02-22 03:37

reporter   ~0011281

And you DO have a class "clients"? (-:

chasingsol

2006-02-22 19:51

reporter   ~0011282

Yes!

Perhaps I should have explained the setup a little more.

Within my unrealircd.conf, there are 2 remote includes to generic server config directives. Also contained within one of those remote includes is a global oper block. Then directly below the remote includes in the config are 2 local oper blocks (one of which I showed above).

What is strange, is that the remotely included oper blocks load without any warning, despite being exactly the same format as the local ones. This error was not previously seen in earlier versions of the IRCd.

Stealth

2006-02-22 22:26

reporter   ~0011284

Are the class blocks in the unrealircd.conf file itself? Unreal will not properly load class blocks that are in included files or read before other blocks that need them

chasingsol

2006-02-22 22:29

reporter   ~0011285

Last edited: 2006-02-22 22:30

The class blocks are located in the remote included files, and I have no problem with them on any of my other servers running the vanilla 3.2.4. Indeed, the entire unrealircd.conf is just 2 lines on those servers, both of the lines being remote includes.

The exception is this server with a local oper block as well as the global oper block contained on the remote included files. No problems with an error on the remote ones, just the local. Incidentally, the remote include lines on this server are before the local oper blocks, not after, so unless remote includes are delayed loading, the class should already be present.

Stealth

2006-02-23 07:54

reporter   ~0011286

Related: 0000585

syzop

2006-02-23 09:38

administrator   ~0011287

This is indeed a long-standing bug which can only be fixed by a (partial) config system rewrite.

See 0000585

Issue History

Date Modified Username Field Change
2006-02-21 21:22 chasingsol New Issue
2006-02-22 03:37 Dukat Note Added: 0011281
2006-02-22 19:51 chasingsol Note Added: 0011282
2006-02-22 22:26 Stealth Note Added: 0011284
2006-02-22 22:29 chasingsol Note Added: 0011285
2006-02-22 22:30 chasingsol Note Edited: 0011285
2006-02-23 07:54 Stealth Note Added: 0011286
2006-02-23 09:37 syzop Relationship added duplicate of 0000585
2006-02-23 09:38 syzop Status new => closed
2006-02-23 09:38 syzop Note Added: 0011287
2006-02-23 09:38 syzop Resolution open => duplicate