Bug 12737 - regex for checking load avergaes is wrong for majordomo
Summary: regex for checking load avergaes is wrong for majordomo
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: jfitz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-07-21 16:10 UTC by Andrew Stevenson
Modified: 1999-12-29 08:17 UTC (History)
0 users

See Also:


Attachments
file.diff (1.50 KB, patch)
1999-07-21 16:10 UTC, Andrew Stevenson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Stevenson 1999-07-21 16:10:01 UTC
The sample configuration file that is installed for majordomo has a section
that can be uncommented to get majordomo to halt processing if the load averages
get too high.

This section just calls uptime and then uses a regular expression to parse the
output. The regular expression does not match the output for the FreeBSD uptime
command and so processing will never be stopped (due to load averages). This
also causes perl (at least version 5.005_03) to emit a warning about
uninitialised variables when using -w to perl.

Fix: A patch to /usr/ports/mail/majordomo/patches/patch-ab
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-08-01 03:21:33 UTC
Responsible Changed
From-To: freebsd-ports->jfitz

Over to maintainer. 
Comment 2 Steve Price freebsd_committer freebsd_triage 1999-12-29 08:16:03 UTC
State Changed
From-To: open->closed

Committed, thanks!