← Back to Pull requests

Update installfrompip.adoc #64

Open
r3motecontrol opened this pull request with 14 lines diff across 2 files
View on GitHub
r3motecontrol r3motecontrol commented on Nov 07, 2016 18:44 UTC
Author

When GRR is installed with pip in virtual environment, the path to default grr-server file is /grr/debian/grr-server.default. I could not find the file /etc/default/grr-server.
!image

!image

Diff: 14 lines (+7 / -7) across 2 files Reviewer: destijl Review duration: 5297099m
All Vouch review confidence checks passed
Residual risk 0.03 = Change Risk (0.28) × (1 − Review Confidence (0.90)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.28 · 14 lines diff across 2 files
0.28
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.91 · 3 substantive comment(s)
0.91
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
89%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.162
Real PR Conversation Timeline
5 items
destijl destijl commented on code on Nov 07, 2016 23:15 UTC
Code Review
installfrompip.adoc:1
@@ -97,7 +97,7 @@ pip install --editable grr/config/grr-response-server
 pip install --no-cache-dir -f https://storage.googleapis.com/releases.grr-response.com/index.html grr-response-templates
 pip install --editable grr/config/grr-response-test
 ----
-Then edit /etc/default/grr-server and set:
+Then edit /grr/debian/grr-server.default and set:

this path is set by the deb package. If you're just installing from pip you don't need to mess with this at all (but you need to do your own systemd setup, or run the worker, ui etc. manually. If you want to have all the systemd stuff set up for you by the package, then install a new version from source, you need to change this to update the systemd scripts.

So I don't think this needs changing but we need to clarify that somehow.

destijl destijl commented on code on Nov 07, 2016 23:16 UTC
Code Review
troubleshooting.adoc:1
@@ -72,12 +72,12 @@ system:
 sudo apt-get install build-essential uuid-dev zlib1g-dev python-dev
 --------------------------------------------------------------------
 
-Download protobuf version 2.5.0 or later from link:http://code.google.com/p/protobuf/[protobuf]
+Download protobuf version 3.0.0 or later from link:http://code.google.com/p/protobuf/[protobuf]

you actually only need the compiler, so you can just go to the releases page and download the relevant compiler package for your OS.

destijl destijl commented on Nov 07, 2016 23:18 UTC
Reviewer

Thanks for going to the effort of submitting a PR!

r3motecontrol r3motecontrol commented on code on Nov 08, 2016 00:11 UTC
Code Review
troubleshooting.adoc:1
@@ -72,12 +72,12 @@ system:
 sudo apt-get install build-essential uuid-dev zlib1g-dev python-dev
 --------------------------------------------------------------------
 
-Download protobuf version 2.5.0 or later from link:http://code.google.com/p/protobuf/[protobuf]
+Download protobuf version 3.0.0 or later from link:http://code.google.com/p/protobuf/[protobuf]

Hi @destijl

When I installed the compiler using sudo apt install protobuf-compiler, (Ubuntu 16.04), it installed v2.5.0. In the next step, cd /grr, pip install -editable . it produced an error "v3.0.0 required", After the installed protobuf-3.0.0, I was able to successfully install GRR. So I submitted the PR. I will verify it once again.

Thanks

Reviewers
Assignees
r3motecontrol r3motecontrol
Labels
risk: low confidence: 89.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 27.7% (LOW) · Higher = larger blast radius
27.7%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 89.5% · Lower = rushed or shallow review
89.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 2.9% · Safe to merge
2.9%
Repository