New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 915827 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 915541



Sign in to add a comment

sqlite: disable `sqlite` program

Project Member Reported by vapier@chromium.org, Dec 17

Issue description

we have no need for the `sqlite` program afaik.  any package that uses it does so through the library interface.  so lets disable the program until someone actually cares about it.

we can do so by creating a chromiumos-overlay/chromeos/config/env/dev-db/sqlite file with content like chromiumos-overlay/chromeos/config/env/sys-apps/util-linux where we mask out the /usr/bin/sqlite* programs.
 

Comment 1 Deleted

Comment 2 Deleted

Cc: r...@rorym.cnamara.com
Owner: mnissler@chromium.org
Status: Started (was: Untriaged)
Looks like there wasn't a CL for this yet, so here is one: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/1382920

Let's see how it fares on the trybots.
Project Member

Comment 5 by bugdroid1@chromium.org, Dec 20

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/0370ec7b1a8a1969bc20469025b931bec0d1c3d0

commit 0370ec7b1a8a1969bc20469025b931bec0d1c3d0
Author: Mattias Nissler <mnissler@chromium.org>
Date: Thu Dec 20 21:50:00 2018

dev-db/sqlite: Don't install /usr/bin/sqlite3

We apparently don't need it anyways, so free up a bit of space.

BUG= chromium:915827 
TEST=Image builds and passes tests.

Change-Id: I8e713f09bfac3ff3780a93b5ee15d849e408322e
Reviewed-on: https://chromium-review.googlesource.com/1382920
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Mattias Nissler <mnissler@chromium.org>
Reviewed-by: Greg Kerr <kerrnel@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/0370ec7b1a8a1969bc20469025b931bec0d1c3d0/chromeos/config/env/dev-db/sqlite

Can this be marked fixed?
Mattias, has the CL stuck? I want to mark this as Fixed if so so I can bubble that up to the main exploit.
Status: Fixed (was: Started)
Yes, this is fixed.
Labels: -Pri-2 Merge-Request-72 Pri-1
Status: Assigned (was: Fixed)
Bumping to P-1 since this is critical to breaking the chain, and requesting a merge to 72.
Project Member

Comment 10 by sheriffbot@chromium.org, Jan 8

Labels: -Merge-Request-72 Merge-Review-72 Hotlist-Merge-Review
This bug requires manual review: M72 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: govind@(Android), kariahda@(iOS), djmm@(ChromeOS), abdulsyed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Fixed (was: Assigned)
Flipping back to fixed (which I believe is a prerequisite for this to be considered for merging).
Cc: djmm@chromium.org
What's the status of this merge review?
Labels: M-72
Without M-72, this will not appear on the usual queries.
Labels: -Merge-Review-72 Merge-Approved-72

Comment 15 by mnissler@chromium.org, Jan 16 (6 days ago)

Labels: -Merge-Approved-72 Merge-Merged
Merged to M72 per https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/1416250
Project Member

Comment 16 by bugdroid1@chromium.org, Jan 16 (6 days ago)

Labels: merge-merged-release-R72-11316.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/308b17934455aee0dac3d8968f0f6fb2ce72deac

commit 308b17934455aee0dac3d8968f0f6fb2ce72deac
Author: Mattias Nissler <mnissler@chromium.org>
Date: Wed Jan 16 20:39:12 2019

dev-db/sqlite: Don't install /usr/bin/sqlite3

We apparently don't need it anyways, so free up a bit of space.

BUG= chromium:915827 
TEST=Image builds and passes tests.

Change-Id: I8e713f09bfac3ff3780a93b5ee15d849e408322e
Reviewed-on: https://chromium-review.googlesource.com/1382920
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Mattias Nissler <mnissler@chromium.org>
Reviewed-by: Greg Kerr <kerrnel@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
(cherry picked from commit 0370ec7b1a8a1969bc20469025b931bec0d1c3d0)
Reviewed-on: https://chromium-review.googlesource.com/c/1416250
Reviewed-by: Mattias Nissler <mnissler@chromium.org>

[add] https://crrev.com/308b17934455aee0dac3d8968f0f6fb2ce72deac/chromeos/config/env/dev-db/sqlite

Sign in to add a comment