Package: onak
Version: 0.3.1-1

If I run "onak dump" with insufficient privileges to read the database files in /var/lib/onak, it gets a SIGSEGV and dumps core:

[EMAIL PROTECTED] [508]$ onak dump
[05/06/2006 10:29:53] onak[30499]: Couldn't open logfile: /var/log/onak.log
[05/06/2006 10:29:53] onak[30499]: Error opening db environment: /var/lib/onak (Permission denied)
Segmentation fault (core dumped)

An strace shows:

time(NULL)                              = 1149500125
getpid()                                = 31120
write(2, "[05/06/2006 10:35:25] onak[31120"..., 35[05/06/2006 10:35:25] onak[31120]: ) = 35 write(2, "Error opening db environment: /v"..., 63Error opening db environment: /var/lib/onak (Permission denied)) = 63
write(2, "\n", 1
)                       = 1
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++

So it doesn't look like the SEGV is being caused by a syscall.

If I run onak with sufficient privileges (e.g. as root), then there is no problem. This issue does not stop onak from working, it's just ugly.

I'm running onak on Debian sarge on i386 with 2.6.15.7 kernel.


--
Roy Hills                                    Tel:   +44 1634 721855
NTA Monitor Ltd                              FAX:   +44 1634 721844
14 Ashford House, Beaufort Court,
Medway City Estate,                          Email: [EMAIL PROTECTED]
Rochester, Kent ME2 4FA, UK WWW: http://www.nta-monitor.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to