Duplicate allow channel & local oper

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
LBB
Posts: 5
Joined: Thu Dec 16, 2004 2:21 am

Duplicate allow channel & local oper

Post 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.

++
Ron2K

Post 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.
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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.
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

Never argue with an idiot. They will bring you down to their level, then beat you with experience.
LBB
Posts: 5
Joined: Thu Dec 16, 2004 2:21 am

Post 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

++
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

You can't just give "can_override", the oper needs at least "global", too.
That's what the warning tells you.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Locked