Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21003 - siege searches for /usr/etc/siegerc instead of /etc/siegerc

Attached to Project: Community Packages
Opened by Massimiliano Torromeo (mtorromeo) - Thursday, 30 September 2010, 15:20 GMT
Last edited by Florian Pritz (bluewind) - Friday, 01 October 2010, 10:15 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The siege command searches for its configuration file in /usr/etc/siegerc, instead of using the correct path /etc/siegerc (where the file correctly exists)

Additional info:
* siege version 2.70-1

Steps to reproduce:
$> pacman -S siege
$> siege
****************************************************
siege: could not open /usr/etc/siegerc
run 'siege.config' to generate a new .siegerc file
****************************************************
$> ls -l /etc/siegerc
-rw-r--r-- 1 root root 12251 4 set 23.37 /etc/siegerc
This task depends upon

Closed by  Florian Pritz (bluewind)
Friday, 01 October 2010, 10:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  siege 2.70-2
Comment by Massimiliano Torromeo (mtorromeo) - Thursday, 30 September 2010, 15:23 GMT
After creating a config file in /usr/etc/siegerc (temporary workaround), showing siege configuration reveals that it is expecting other files in /usr subdirectories

$> siege -C ~ 17:20
CURRENT SIEGE CONFIGURATION
JoeDog/1.00 [en] (X11; I; Siege 2.70)
Edit the resource file to change the settings.
----------------------------------------------
version: 2.70
verbose: true
debug: false
protocol: HTTP/1.1
connection: close
concurrent users: 15
time to run: n/a
repetitions: n/a
socket timeout: 30
delay: 1 sec
internet simulation: false
benchmark mode: false
failures until abort: 1024
named URL: none
URLs file: /usr/etc/urls.txt
logging: true
log file: /usr/var/siege.log
resource file: /usr/etc/siegerc
allow redirects: true
allow zero byte data: true
allow chunked encoding: true
proxy auth:
www auth:

Loading...