commit | 32e00e564cd221e2305c53241a45f181ac73f6bd | [log] [tgz] |
---|---|---|
author | Joe Downing <joedow@google.com> | Thu Sep 26 18:33:55 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 26 18:33:55 2024 |
tree | 5e5621649fa779f0b295f6390c58882f5bf98163 | |
parent | 5911f59adf80f799c3a4c4f6b001aff0538104e4 [diff] |
Use the 'escaped' username when configuring the systemd service More details and context are in https://crbug.com/369674127 however the short version is that the CRD host service fails to start on Linux when the username include hyphens as they are converted to slashes in the service configuration file as it uses the %I specifier to convert the unit name back into the 'unescaped' form. AFAICT %I is useful when you want to provide a file system path but it causes problems for usernames as they get converted as if they were file paths. Changing %I to %i in the config file fixes the problem and seems like a reasonable solution since we do not support file paths or other system objects. Bug: 369674127 Change-Id: I2629daf7e29d5942257c2fbc34129d522e6a2165 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5892200 Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Auto-Submit: Joe Downing <joedow@chromium.org> Commit-Queue: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/main@{#1360677}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.