Bug 62655 - [patch] Preserve and reinstall the old database file if fetching the new one fails
Summary: [patch] Preserve and reinstall the old database file if fetching the new one ...
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: Oliver Eikemeier
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 18:20 UTC by Ion-Mihai Tetcu
Modified: 2004-02-21 21:20 UTC (History)
1 user (show)

See Also:


Attachments
fetchaudit.sh.diff (1.10 KB, patch)
2004-02-10 18:20 UTC, Ion-Mihai Tetcu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ion-Mihai Tetcu 2004-02-10 18:20:14 UTC

People seems to trust fetch(1) but it can fail for various reasons. This patch preservers the old audit database and restores it if fetch fails, as having an old file is better that none.
Comment 1 Oliver Eikemeier freebsd_committer freebsd_triage 2004-02-10 18:25:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->eik

You are  right. The fetch algorithm is somewhat braindead. Anyway, my port!
Comment 2 Oliver Eikemeier freebsd_committer freebsd_triage 2004-02-15 19:39:14 UTC
State Changed
From-To: open->analyzed

I'll integrate this in the next revison
Comment 3 Oliver Eikemeier freebsd_committer freebsd_triage 2004-02-21 21:20:01 UTC
State Changed
From-To: analyzed->closed

incorporated in 0.2, thanks for the feedback!