Bug 136124 - sysutils/bsdstats needs timeout settings
Summary: sysutils/bsdstats needs timeout settings
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
Depends on:
Reported: 2009-06-28 12:10 UTC by Alexander Best
Modified: 2009-09-18 22:20 UTC (History)
0 users

See Also:

bsdstatspatch.txt (983 bytes, text/plain)
2009-09-18 21:53 UTC, Alexander Best
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Best 2009-06-28 12:10:02 UTC
/usr/local/etc/periodic/monthly/300.statistics uses `fetch` in do_fetch (). however neither HTTP_TIMEOUT is set nor the -T switch is being used. if for some reason `fetch` is unable to download "http://$checkin_server/scripts/$1" the boot process won't continue until ctrl+c is being issued (which isn't possible of course if no keyboard is present e.g.).

questions is: should HTTP_TIMEOUT be honoured or not? i think it's best to use the -T switch with a value of let's say 10 seconds.

Comment 1 Pav Lucistnik freebsd_committer 2009-09-18 14:26:08 UTC
State Changed
From-To: open->feedback

This port is unmaintained.  Can you perhaps prepare a patch with the change you 

Comment 2 Pav Lucistnik freebsd_committer 2009-09-18 14:26:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

This port is unmaintained.  Can you perhaps prepare a patch with the change you 
Comment 3 Pav Lucistnik freebsd_committer 2009-09-18 22:19:09 UTC
State Changed
From-To: feedback->closed

Committed (with 10 seconds instead of 1 second)
Comment 4 dfilter service freebsd_committer 2009-09-18 22:19:43 UTC
pav         2009-09-18 21:19:34 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/bsdstats    Makefile 
    sysutils/bsdstats/files 300.statistics 
  - Set HTTP Timeout to prevent blocking
  PR:             ports/136124
  Submitted by:   Alexander Best <alexbestms@math.uni-muenster.de>
  Feature safe:   yes
  Revision  Changes    Path
  1.59      +1 -2      ports/sysutils/bsdstats/Makefile
  1.42      +5 -4      ports/sysutils/bsdstats/files/300.statistics
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"