Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Modules Request  (Read 9031 times)

0 Members and 1 Guest are viewing this topic.

Darkside

  • Anope User
  • Offline Offline
  • Posts: 2
Modules Request
« on: December 06, 2008, 05:32:37 PM »

I would like a module that will allow Service Admins to use os commands Reload,Restart,Modload and ModUnload please thanks you.
Logged

Darkside

  • Anope User
  • Offline Offline
  • Posts: 2
Re: Modules Request
« Reply #1 on: December 06, 2008, 05:46:57 PM »

Sorry, I didn't include our IRCd is Inspircd v1.1 and Anope v1.7.21 but we're going to update to 1.8 soon. If anyone knows of a module that already exists please point in the right direction, thanks.

Also I tried Os_Access_Levels, the module loads fine but as soon as an SA tries to use one of the commands services as as seg fault and crashes.

(12:26pm) (Global) OperServ: (USERNAME): reload
(12:26pm) (Global) Every UserKey must be different. It's for YOUR safety! Remember that!
(12:26pm) (Global) PANIC! buffer = :(USERNAME) PRIVMSG OperServ :reload
(12:26pm) (Global) Backtrace: Segmentation fault detected
(12:26pm) (Global) Backtrace: report the following lines
(12:26pm) (Global) Backtrace: Anope version 1.7.21 (1341) build #1, compiled Dec 5 2008 20:44:23 QM
(12:26pm) (Global) Backtrace(0): ./services(do_backtrace+0x51) [0x8070024]
(12:26pm) (Global) Backtrace(1): ./services(sighandler+0x110) [0x80701a4]
(12:26pm) (Global) Backtrace(2): /lib/tls/libc.so.6 [0xb7bce908]
(12:26pm) (Global) Backtrace(3): ./services(moduleGetConfigDirective+0x134) [0x8076f47]
(12:26pm) (Global) Backtrace(4): /home/ircd/services/modules/runtime/os_access_levels.so.r7OFYA(load_config+0x5e) [0xb7988b96]
(12:26pm) (Global) Backtrace(5): /home/ircd/services/modules/runtime/os_access_levels.so.r7OFYA(do_reload+0x17) [0xb7988bc2]
(12:26pm) (Global) Backtrace(6): ./services(event_process_hook+0x52) [0x806878d]
(12:26pm) (Global) Backtrace(7): ./services(send_event+0x5f) [0x8068846]
(12:26pm) (Global) Backtrace(8): /home/ircd/services/modules/runtime/os_reload.so.biEwuR(do_reload+0x44) [0xb79faaf9]
(12:26pm) (Global) Backtrace(9): ./services(do_run_cmd+0xee) [0x8064dbb]
(12:26pm) (Global) Backtrace: complete
(12:26pm) (Global) Services terminating: Segmentation fault
(12:26pm) (Quit) Chat (Chat@ChatCop.Security) (netsplit)
(12:26pm) (Quit) juggalo (juggalo@****.com) (netsplit)
(12:26pm) (Quit) MemoServ (services@****.com) (netsplit)
(12:26pm) (Quit) OperServ (services@****.com) (netsplit)
(12:26pm) (Quit) devnull (rmrf@shawndaddy.com) (netsplit)
(12:26pm) (Quit) ChanServ (services@****.com) (netsplit)
(12:26pm) (Quit) X (X@Nexus.Bot) (netsplit)
(12:26pm) (Quit) GRUNT (Bot@****.Bot) (netsplit)
(12:26pm) (Quit) FunkMasterFlex (Funk@Master.Flex) (netsplit)
(12:26pm) (Quit) BarSlave (Serving@LoveCircle.All.Night.Long) (netsplit)
(12:26pm) (Quit) johnnyWIFFY (randy@mid.way) (netsplit)
(12:26pm) (Quit) pimp (pimp@****.com) (netsplit)
(12:26pm) (Quit) Routing (routing@****.com) (netsplit)
(12:26pm) (Quit) WeezyFBaby (necro@bot.****.com) (netsplit)
(12:26pm) (Quit) Global (services@****.com) (netsplit)
(12:26pm) (Quit) MaryJane (MaryJane@****.com) (netsplit)
(12:26pm) (Quit) HelpServ (services@****.com) (netsplit)
(12:26pm) (Quit) Artoo (Artoo@****.bot) (netsplit)
(12:26pm) (Quit) BotServ (services@****.com) (netsplit)
(12:26pm) (Quit) Nexus (Nexus@Nexus.Bot) (netsplit)
(12:26pm) (Quit) HostServ (services@****.com) (netsplit)
(12:26pm) (Quit) NickServ (services@****.com) (netsplit)
(12:26pm) (Quit) sled-necks (sledders@sled.necks) (netsplit)
(12:26pm) (Quit) Bartender (mo@what.will.you.be.having.org) (netsplit)
Logged

Master

  • Anope User
  • Offline Offline
  • Posts: 56
Re: Modules Request
« Reply #2 on: December 11, 2008, 03:18:17 AM »

It appears os_access_levels crashes the new build of anope for some reason. I had the same issue.
Logged
Always believe Murphy's Law. If you don't, watch what happens.

MaienM

  • Anope User
  • Offline Offline
  • Posts: 3
Re: Modules Request
« Reply #3 on: December 27, 2008, 07:16:50 PM »

Posting (a part of) your .log file could give us some information on what the problem might be.
(by "a part of", I mean the part when it crashes..... just look in the log file when it crashes and copy the last ~5 lines).
Logged

katsklaw

  • Guest
Re: Modules Request
« Reply #4 on: January 13, 2009, 06:09:40 AM »

Fixed in v2.2b found at: http://modules.anope.org/viewmod.php?id=88

This bug does not affect unreal_access_levels. There is no windows build. If anyone is kind enough to compile and link it here, I'll upload it with credit.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Modules Request
« Reply #5 on: January 13, 2009, 06:33:50 AM »

Attached.
Logged

katsklaw

  • Guest
Re: Modules Request
« Reply #6 on: January 13, 2009, 02:56:02 PM »

Attached.

I should have mentioned before, 1.7.21 is the latest version supported. What version is this compiled for?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Modules Request
« Reply #7 on: January 13, 2009, 04:22:46 PM »

Compiled it against 1.8.0, shall I compile it against 1.7.21 instead/too?
Logged

katsklaw

  • Guest
Re: Modules Request
« Reply #8 on: January 13, 2009, 07:45:13 PM »

well since I can't and won't guarantee it'll work on 1.8 I didn't add 1.8 as a supported version. I thank you for compiling it but if you wish to compile for 1.7.21, that is your choice .. not mine. :)
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Modules Request
« Reply #9 on: January 13, 2009, 08:09:29 PM »

Attached compiled against 1.7.21.
Logged

katsklaw

  • Guest
Re: Modules Request
« Reply #10 on: January 14, 2009, 03:35:57 AM »

added. Thanks again.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Modules Request
« Reply #11 on: January 14, 2009, 06:04:09 AM »

No problem at all.
Logged
Pages: [1]   Go Up