** Changed in: openais (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to openais in Ubuntu.
https://bugs.launchpad.net/bugs/379107

Title:
  openais segfaults when correct bindnetaddr is used

Status in “openais” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: openais 0.82-3ubuntu2
  Ubuntu Version: Hardy Server
  Architecture: amd64

  The documentation
  (http://www.openais.org/doku.php?id=faq:configure_openais) says that
  the bindnetaddr parameter in the totem section of openais.conf should
  be the result of the system's IP bitwise AND-ed against the netmask.
  So, for a system with IP 192.168.7.134 and netmask 255.255.255.0
  (/24), we should get 192.168.7.0:

  11000000 10101000 00000111 10000110 (192.168.7.134)
  11111111 11111111 11111111 00000000 (255.255.255.0)
  ------------------------------------------------------
  11000000 10101000 00000111 00000000 (192.168.7.0)

  However, when we set that option in openais.conf, the daemon
  segfaults:

  $ cat /etc/ais/openais.conf
  # Please read the openais.conf.5 manual page

  totem {
     version: 2
     secauth: off
     threads: 0
     rrp_mode: none
     vsftype: none
     interface {
        ringnumber: 0
        bindnetaddr: 192.168.7.0
        mcastaddr: 226.94.1.1
        mcastport: 5405
     }
  }

  logging {
     fileline: on
     to_stderr: no
     to_file: yes
     logfile: /var/log/openais/openais.log
     debug: on
     timestamp: on
     logger_subsys {
        subsys: AMF
        debug: on
        tags: enter|leave|trace1|trace2|trace3|trace4|trace6
     }
  }

  amf {
     mode: disabled
  }

  $  /usr/sbin/aisexec -f
  [MAIN ] AIS Executive Service RELEASE 'trunk'
  [MAIN ] Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.
  [MAIN ] Copyright (C) 2006-2007 Red Hat, Inc.
  [MAIN ] AIS Executive Service: started and ready to provide service.
  [MAIN ] Successfully read main configuration file '/etc/ais/openais.conf'.
  [SERV ] openais component openais_cpg loaded.
  [SERV ] Registering service handler 'openais cluster closed process group 
service v1.01'
  [SERV ] openais component openais_cfg loaded.
  [SERV ] Registering service handler 'openais configuration service'
  [SERV ] openais component openais_msg loaded.
  [SERV ] Registering service handler 'openais message service B.01.01'
  [SERV ] openais component openais_lck loaded.
  [SERV ] Registering service handler 'openais distributed locking service 
B.01.01'
  [SERV ] openais component openais_evt loaded.
  [SERV ] Registering service handler 'openais event service B.01.01'
  [SERV ] openais component openais_ckpt loaded.
  [SERV ] Registering service handler 'openais checkpoint service B.01.01'
  [SERV ] openais component openais_amf loaded.
  [SERV ] Registering service handler 'openais availability management 
framework B.01.01'
  [SERV ] openais component openais_clm loaded.
  [SERV ] Registering service handler 'openais cluster membership service 
B.01.01'
  [SERV ] openais component openais_evs loaded.
  [SERV ] Registering service handler 'openais extended virtual synchrony 
service'
  Segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openais/+bug/379107/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to