Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 81960

Summary: glsa-check should check that data files are there
Product: Gentoo Linux Reporter: Evgeny Stambulchik <fnevgeny>
Component: [OLD] Core systemAssignee: Marius Mauch (RETIRED) <genone>
Status: RESOLVED FIXED    
Severity: normal CC: ramereth, security
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.gentoo.org/show_bug.cgi?id=81824
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for glsa-check to check for timestamp.chk

Description Evgeny Stambulchik 2005-02-13 23:42:30 UTC
See URL for the gory details.

Reproducible: Always
Steps to Reproduce:
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2005-02-14 05:46:25 UTC
What exactly do you want it to do? Just complain that it isn't up to date?
Comment 2 Evgeny Stambulchik 2005-02-14 05:51:26 UTC
Well, in case there is NO directory (or it's empty) it should say the portage tree is corrupted or something like that.

Regarding not up-to-date - it could be a nice idea; check that timestamp.chk is not older than x days and if it is, recommend emerge sync or emerge-webrsync.

Thanks!
Comment 3 Lance Albertson (RETIRED) gentoo-dev 2005-02-14 05:53:43 UTC
Alright, then I'll reassign to dev-portage since its really their baby on changing glsa-check to do that.
Comment 4 Michaelian Ennis 2005-09-07 09:36:16 UTC
Created attachment 67838 [details, diff]
Patch for glsa-check to check for timestamp.chk

This patch will warn and sys.exit(0) if there is no timestamp in the
metadata/glsa directory.  Depending upon how GLSA_SERVER gets implemented there
may need to be an additional check for that being used but I suppose that will
be obvious.  I am also looking at the "too old" request.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2005-11-15 13:25:44 UTC
existence check done, the "too old" check I'd mark as WONTFIX
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2006-10-31 19:54:13 UTC
should have been closed ages ago :/