Feature #2349

change default target location of idomod.o from $bindir to $libdir

Added by dnsmichi about 2 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:02/23/2012
Priority:HighDue date:
Assignee:Wolfgang% Done:

100%

Category:IDOUtils
Target version:Icinga 1.x - 1.7

Description

given the change in #2346, possibly ALL docs as well as howtos need to be updated.

as well as packagers should be made aware of that change.

please wait for the docs change until testers report ok.


Related issues

Related to Core - Feature #2346: change default target location of idomod.so from $bindir ... Resolved 02/23/2012
Related to Docs - Feature #2559: upgrade guide for 1.7 Resolved 04/26/2012

History

#1 Updated by dnsmichi about 2 years ago

ready to go.

#2 Updated by dnsmichi almost 2 years ago

locations need to be changed, as well as the hint of the changed location itsself.

~/coding/icinga/icinga-doc $ grep -r 'idomod\.o' *
de/configido.xml:    path          /usr/local/icinga/bin/idomod.o
de/quickstart-idoutils-freebsd.xml:    <filename>icinga.log</filename>: <screen> Error: Module ‘/usr/local/icinga/bin/idomod.o’ is using an old or unspecified version of the event broker API. Module will
de/quickstart-idoutils-freebsd.xml: Event broker module ‘/usr/local/icinga/bin/idomod.o’ deinitialized successfully.</screen> Mehr Informationen zu diesem Fehler finden Sie
de/quickstart-idoutils-freebsd.xml:        path           &url-icinga-base;/bin/idomod.o
de/quickstart-idoutils.xml:    des Icinga Kerns mit Hilfe von idomod.o, da eine Verwendung einer temporären Kopie explizit verhindert werden soll. Dies ist nützlich
de/quickstart-idoutils.xml:        path           &url-icinga-base;/bin/idomod.o
de/objectdefinitions.xml:        path           /usr/local/icinga/bin/idomod.o
en/configido.xml:    path          /usr/local/icinga/bin/idomod.o
en/configmain.xml:          <entry><para><emphasis condition="red" role="color"><emphasis role="bold">broker_module=&url-icinga-base;/bin/idomod.o \
en/quickstart-idoutils-freebsd.xml:    <filename>icinga.log</filename>: <screen> Error: Module ‘/usr/local/icinga/bin/idomod.o’ is using an old or unspecified version
en/quickstart-idoutils-freebsd.xml: Event broker module ‘/usr/local/icinga/bin/idomod.o’ deinitialized successfully.</screen> More details on this error can be found <link
en/quickstart-idoutils-freebsd.xml:        path           &url-icinga-base;/bin/idomod.o
en/quickstart-idoutils.xml:    overwrite the existing module as this will result in a segfault on icinga core which is using <filename>idomod.o</filename> directly
en/quickstart-idoutils.xml:        path           &url-icinga-base;/bin/idomod.o
en/objectdefinitions.xml:        path           /usr/local/icinga/bin/idomod.o
fr/quickstart-idoutils.xml:  <programlisting> broker_module=&url-icinga-base;/bin/idomod.o config_file=&url-icinga-base;/etc/idomod.cfg</programlisting>

#3 Updated by dnsmichi almost 2 years ago

should be combined with #2559

#4 Updated by dnsmichi almost 2 years ago

  • Category set to IDOUtils
  • Status changed from New to Assigned
  • Assignee set to Wolfgang
  • Priority changed from Normal to High

#5 Updated by Wolfgang almost 2 years ago

  • % Done changed from 0 to 30

changed idomod.o to idomod.so in r1.7

#6 Updated by dnsmichi almost 2 years ago

thx. but the location points still to bin/ instead of lib/ - this must be changed as well.

in order to understand - try current git and run make install-idoutils.

$ sudo make install-idoutils
make[1]: Entering directory `/home/dnsmichi/coding/icinga/icinga-core/module/idoutils'
cd ./src/ && make install
make[2]: Entering directory `/home/dnsmichi/coding/icinga/icinga-core/module/idoutils/src'
Going to uninstall old idomod.o in /usr/local/icinga/bin/idomod.o ...
rm -f /usr/local/icinga/bin/idomod.o
Resuming with install...
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/bin
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/lib
/usr/bin/install -c -m 774 -o icinga -g icinga ido2db /usr/local/icinga/bin
/usr/bin/install -c -m 774 -o icinga -g icinga log2ido /usr/local/icinga/bin
/usr/bin/install -c -m 774 -o icinga -g icinga idomod.so /usr/local/icinga/lib
make[2]: Leaving directory `/home/dnsmichi/coding/icinga/icinga-core/module/idoutils/src'
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/etc
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/etc/objects
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/etc/modules
/usr/bin/install -c -b -m 664 -o icinga -g icinga config/ido2db.cfg-sample /usr/local/icinga/etc
/usr/bin/install -c -b -m 664 -o icinga -g icinga config/idomod.cfg-sample /usr/local/icinga/etc
/usr/bin/install -c -b -m 664 -o icinga -g icinga config/idoutils.cfg-sample /usr/local/icinga/etc/modules
/usr/bin/install -c -b -m 664 -o icinga -g icinga config/ido2db_check_proc.cfg /usr/local/icinga/etc/objects/ido2db_check_proc.cfg
make[1]: Leaving directory `/home/dnsmichi/coding/icinga/icinga-core/module/idoutils'

*** IDOUtils installed ***

!!! ATTENTION !!!
        idomod.o was renamed to idomod.so, module extension is now .so
        idomod.so will now be installed to /usr/local/icinga/lib 
!!! ATTENTION !!!

Please check Changelog - CHANGES for more information!

#7 Updated by dnsmichi almost 2 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 30 to 100

thx

Also available in: Atom PDF