Project

General

Profile

Bug #319

Prelude-manager won't work after libprelude 0.9.20.2 -> 0.9.21

Added by over 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

0%

Resolution:
fixed

Description

I've updated libprelude from 0.9.20.2 to 0.9.21 but found that prelude-manager refuses to start now, It writes to log:

prelude-manager: ERROR: error opening directory '/usr/local/prelude/prelude-manager': No such file or directory. (idmef-message-scheduler.c:588 idmef_message_scheduler_init)

This directory never exists. Configure options were the same. After I've rolled back to 0.9.20.2 I was able to start prelude-manager.

0.9.20.2 -> /usr/local/lib/libprelude.so.2.15.3
0.9.21 -> /usr/local/lib/libprelude.so.2.16.0

relpath.diff View (8.23 KB) Yoann VANDOORSELAERE, 10/03/2008 03:28 PM

relpath.2.diff View (9.14 KB) Yoann VANDOORSELAERE, 10/03/2008 04:58 PM

History

#1 Updated by over 10 years ago

Sorry, forgot to add second error line from log:

prelude-manager: ERROR: couldn't initialize alert scheduler. (prelude-manager.c:259 main)

#2 Updated by Yoann VANDOORSELAERE over 10 years ago

The problem happen when specific path, outside of the provided installation prefix are used. Could you please try the attached patch?

#3 Updated by over 10 years ago

Patch doesn't help much (the same error, different path):

prelude-manager: ERROR: error opening directory '/usr/local//var/spool/prelude/prelude-manager': No such file or directory. (idmef-message-scheduler.c:588 idmef_message_scheduler_init)

prelude-manager: ERROR: couldn't initialize alert scheduler. (prelude-manager.c:259 main)

I've configured libprelude with configure --localstatedir=/var

#4 Updated by Yoann VANDOORSELAERE over 10 years ago

Thanks for the report, completed patch attached.

#5 Updated by over 10 years ago

Thanks, yoann. It works.

#6 Updated by Yoann VANDOORSELAERE over 10 years ago

Here's another update, that fixes some problem with the previous patch. Can you confirm that it still work as expected?

#7 Updated by over 10 years ago

Applied, started. Seems to work.

#8 Updated by Yoann VANDOORSELAERE over 10 years ago

  • Resolution set to fixed

(In r11052) Fix path issue in case libprelude was configured with specific path
outside of $prefix (fix #319).

#9 Updated by Yoann VANDOORSELAERE almost 10 years ago

  • Project changed from PRELUDE SIEM to Libprelude
  • Category deleted (1)
  • Target version deleted (92)

Also available in: Atom PDF