FS#1253 - trap on nessus-mkcert

Attached to Project: Arch Linux
Opened by Brian Morton (rokclimb15) - Saturday, 14 August 2004, 18:41 GMT
Last edited by Dale Blount (dale) - Sunday, 15 August 2004, 02:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jason Chu (jason)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

script part of nessus-core 2.0.12-1 package. Trying to run nessus-mkcert gives this error at end of user input:

trap: usage: trap [-lp] [[arg] signal_spec ...]
BASEDIR=/tmp/nessus-mkcert.<random number>

Cert is not created, breaking ability to run the nessus daemon.
This task depends upon

Closed by  Jason Chu (jason)
Monday, 23 August 2004, 21:27 GMT
Reason for closing:  Fixed
Comment by Jason Chu (jason) - Tuesday, 17 August 2004, 21:51 GMT
What shell are you using? Trap is a builtin to bash. I can't seem to recreate the error. When in the process does it happen?
Comment by Brian Morton (rokclimb15) - Tuesday, 17 August 2004, 22:01 GMT
I am using bash. It happens immediately after I am prompted to enter my organizational unit. I have tried with my particular info and the default info just to make sure it wasn't my information that was causing the error. Trap dumps some files to that basedir listed in the error message. Would you like me to gzip them and attach?
Comment by Jason Chu (jason) - Tuesday, 17 August 2004, 22:24 GMT
Ok, I figured it out.

Line 394 in nessus-mkcert is trap 0. My guess is it used to be something else. Comment it out to fix that error. I'll make the change in the next version.
Comment by Brian Morton (rokclimb15) - Tuesday, 17 August 2004, 22:31 GMT
you da man, thanks
Comment by Jason Chu (jason) - Monday, 23 August 2004, 21:27 GMT
Fixed in 2.0.12-2.

Loading...