-
Notifications
You must be signed in to change notification settings - Fork 463
geoip: T5746: Download ASN database #1215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,6 +45,7 @@ usr/local/games/* | |
|
|
||
| # T5511: We do not need any caches on the system (will be recreated when needed). | ||
| # T7278: We need directory created by python3-cracklib for password checks | ||
| # T7926: VyOS GeoIP database location | ||
| var/cache/!(cracklib|vyos) | ||
|
Comment on lines
+48
to
49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clarify the T7926 comment to match the actual path context. Line 48 says “VyOS GeoIP database location” in a 🤖 Prompt for AI Agents |
||
|
|
||
| # T5511: We do not need any log-files on the system (will be recreated when needed). | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fail fast when either GeoIP download fails.
Right now the hook logs and removes the partial file, but still continues to Line 30. That can leave the image in a partially initialized state. Make each failure path terminate with non-zero status.
Suggested patch
Also applies to: 24-27
🤖 Prompt for AI Agents