Page 1 of 1

Duplicate allow channel & local oper

Posted: Sun Apr 03, 2005 9:56 am
by LBB
Hello,

I've this errors since I update to UnrealIRCD 3.2.3 ... :

Code: Select all

*** Notice -- Loading IRCd configuration ..
*** Notice -- [warning] unrealircd.conf:164: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:165: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:166: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:167: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:168: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:169: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:170: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:171: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:202: oper::oflags: can_gzline/can_gkline/can_override (global privileges) are incompatible with local oper -- user will be globop
*** Notice -- [warning] unrealircd.conf:214: oper::oflags: can_gzline/can_gkline/can_override (global privileges) are incompatible with local oper -- user will be globop
*** Notice -- Configuration loaded without any problems ..
The server is running without problems. I just want to know what's the problem.

++

Posted: Sun Apr 03, 2005 10:10 am
by Ron2K
Regarding the duplicate directives error - well, it's quite obvious, isn't it? You've specified the same thing in your configuration file(s) more than once. See this thread.

And, regarding the oper flags error that you're getting, this extract from the Changes file says it all:
If a locop now has can_override/can_gkline/can_gzline we will print out a warning and convert it to globops. This is also what we always did for can_globalroute/can_gkill (well, except the warning). Giving such NETWORK (GLOBAL) privileges to a LOCAL operator does not make any sense and is therefore no longer allowed.

Posted: Sun Apr 03, 2005 7:12 pm
by Stealth
*** Notice -- [warning] unrealircd.conf:164: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:165: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:166: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:167: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:168: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:169: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:170: Duplicate allow channel::channel directive
*** Notice -- [warning] unrealircd.conf:171: Duplicate allow channel::channel directive
You may ignore those errors. It is a bug that something like

Code: Select all

allow channel {
  channel "#channel1";
  channel "#channel2";
  channel "#channel3";
};
Will trigger this error.

Posted: Mon Apr 04, 2005 3:10 pm
by Matridom

Posted: Thu Apr 07, 2005 10:42 am
by LBB
Ok for allow channel, but for the oper::oflags, here's my oper configuration.

Code: Select all

oper LBB {
        class           clients;
        from {
                userhost *@*;
        };
        password "MyPassword";
        flags
        {
                       can_override;
        };
};
Is "can_override" the good choice to have the right only of "oper" to give Op, Kick, Kick & Ban ?
I don't want to install Anope, etc...


Thank you for your help :P

++

Posted: Thu Apr 07, 2005 11:26 am
by Dukat
You can't just give "can_override", the oper needs at least "global", too.
That's what the warning tells you.