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

Issue 907203 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 10
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

dlcservice user needs write permissions to /home/chronos/dlc

Project Member Reported by chowes@google.com, Nov 20

Issue description

The dlcservice user needs to be able to write to /home/chronos/dlc in order to install/update DLCs. The solution seems to be to add dlcservice to the chronos-access group and give this group permissions to /home/chronos/dlc. 
 
Project Member

Comment 1 by bugdroid1@chromium.org, Nov 27

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/73325bde564fe39b84b745223607bfc3f992aeeb

commit 73325bde564fe39b84b745223607bfc3f992aeeb
Author: Colin Howes <chowes@google.com>
Date: Tue Nov 27 08:34:01 2018

imageloader: Improve error logging for DLC failures.

Adds more detailed error logging when failing to mount a DLC image.

BUG= chromium:907203 
TEST=Check output of failure.

Change-Id: Ie7c4ce350680eb7072c49f325fb593eccf10a721
Reviewed-on: https://chromium-review.googlesource.com/1345313
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Colin Howes <chowes@google.com>
Reviewed-by: Nicolas Norvez <norvez@chromium.org>

[modify] https://crrev.com/73325bde564fe39b84b745223607bfc3f992aeeb/imageloader/dlc.cc

Project Member

Comment 2 by bugdroid1@chromium.org, Dec 1

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/7c7d47fce9ade5c8c962d3f74006c81467a1e0f3

commit 7c7d47fce9ade5c8c962d3f74006c81467a1e0f3
Author: Colin Howes <chowes@google.com>
Date: Sat Dec 01 21:19:06 2018

dlcservice: Set permissions for DLC module directories.

Permissions for DLC module directories need to be set such that the
imageloader daemon user can read the DLC images. There is still some
discussion about where DLC files should live, but regardless of where we
put them, we will need to set the permissions such that they are
readable by other users (or at least imageloaderd).

BUG= chromium:907203 
TEST=After installing a DLC, imageloader is able to read the image
files.

Change-Id: I5e6c46ef8e300f80319234ff9e8e682d004fe280
Reviewed-on: https://chromium-review.googlesource.com/1347129
Commit-Ready: Colin Howes <chowes@google.com>
Tested-by: Colin Howes <chowes@google.com>
Reviewed-by: Nicolas Norvez <norvez@chromium.org>

[modify] https://crrev.com/7c7d47fce9ade5c8c962d3f74006c81467a1e0f3/dlcservice/dlc_service_dbus_adaptor.cc
[modify] https://crrev.com/7c7d47fce9ade5c8c962d3f74006c81467a1e0f3/dlcservice/dlc_service_dbus_adaptor_test.cc

Status: Fixed (was: Assigned)

Sign in to add a comment