Modify

#181 closed defect (fixed)

Bitlbee displays the wrong error message

Reported by: angel2k@… Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 1.0.3
Keywords: Cc:
IRC client+version: Client-independent Operating System: FreeBSD
OS version/distro:

Description

When the ConfigDir is missing, bitlbee displays the wrong message.

Some commands to see the point :

      root@romanians# rmdir /var/bitlbee/
      root@romanians# bitlbee
      :Roumanie NOTICE AUTH :BitlBee-IRCd initialized, please go on
      ERROR :Warning: BitlBee is running with root privileges. Why?
      ERROR :Warning: The configuration directory /usr/local/etc/bitlbee/ does not exist. Configuration won't be saved.
      ^C
      ERROR :Error: Fatal signal received: 2. That's probably a bug.

      root@romanians# pwd       
      /var
      root@romanians# mkdir bitlbee
      root@romanians# chown daemon bitlbee/
      root@romanians# bitlbee
      :Roumanie NOTICE AUTH :BitlBee-IRCd initialized, please go on
      ERROR :Warning: BitlBee is running with root privileges. Why?
      ^C
      ERROR :Error: Fatal signal received: 2. That's probably a bug.
       
      root@romanians# grep Config /usr/local/etc/bitlbee/bitlbee.conf
      ## ConfigDir
      ConfigDir = /var/bitlbee 

Attachments (0)

Change History (2)

comment:1 Changed at 2006-07-11T13:13:31Z by Habbie

if( access( global.conf->configdir, F_OK ) != 0 )

log_message( LOGLVL_WARNING, "The configuration directory %s does not exist. Configuration won't be saved.", CONFIG );

this seems to be the offending bit in unix.c; CONFIG should be global.conf->configdir

comment:2 Changed at 2006-10-22T13:54:37Z by wilmer

Resolution: fixed
Status: newclosed

Fixed in [192].

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.