aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2009-05-20 21:53:30 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-05-20 21:53:30 +0000
commit4138f5b1b6dbcf1042663a45b3eae1e652bfc9be (patch)
treed97e27d65dd4946cc37720e8270b0a5f4277dbd4 /man
parentRestructure system affection detection. (diff)
downloadgentoolkit-4138f5b1b6dbcf1042663a45b3eae1e652bfc9be.tar.gz
gentoolkit-4138f5b1b6dbcf1042663a45b3eae1e652bfc9be.tar.bz2
gentoolkit-4138f5b1b6dbcf1042663a45b3eae1e652bfc9be.zip
Do not inject GLSAs into the checkfile when fixing them
There is no reason applied GLSAs must be stored in a checkfile. In the current glsa-check GUI this will make it impossible to determine whether the system is still affected by the GLSA (e.g. by re-emerging, or when a GLSA is changed afterwards). The current place for the checkfile (/var/cache) is not persistent per FHS, meaning that people might clean out the contents of their injected GLSAs. Since glsa.py is moving to portage anyway, we can use /var/lib/portage as a place to store the injected GLSAs. Documentation has been updated accordingly. Note that the old checkfile should not be moved to the previous location on upgrade since this will cause false negatives due to the above arguments. A message should appear on upgrade (pkg_postinst or similar). svn path=/trunk/gentoolkit/; revision=649
Diffstat (limited to 'man')
-rw-r--r--man/glsa-check.18
1 files changed, 7 insertions, 1 deletions
diff --git a/man/glsa-check.1 b/man/glsa-check.1
index 3cfca23..e31e339 100644
--- a/man/glsa-check.1
+++ b/man/glsa-check.1
@@ -36,7 +36,7 @@ show the necessary commands to apply this GLSA
try to auto\-apply this GLSA (experimental)
.TP
.B \-i, \-\-inject
-inject the given GLSA into the checkfile
+inject the given GLSA into the glsa_injected file
.TP
.B \-n, \-\-nocolor
disable colors (option)
@@ -58,3 +58,9 @@ be less verbose and do not send empty mail (option)
.TP
.B \-m, \-\-mail
send a mail with the given GLSAs to the administrator
+.SH "FILES"
+.LP
+.TP
+.B /var/lib/portage/glsa_injected
+List of GLSA ids that have been injected and will never show up as 'affected' on this system.
+The file must contain one GLSA id (e.g. '200804-02') per line.