New issue
Advanced search Search tips

Issue 889067 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

minijail: add dedicated option flags for common system resources (e.g. DNS/resolver & timezones)

Project Member Reported by vapier@chromium.org, Sep 25

Issue description

today some init scripts want access to DNS/resolver and timezone settings.  that means people need to know that in CrOS:
  - /etc/localtime is a symlink to /var/lib/timezone/ path
  - have to set up /var mount base path for writing
  - bind mount /var/lib/timezone
  - do *not* bind mount /etc/localtime

and for resolver:
  - /etc/resolv.conf is a symlink to /run/shill/ path
  - have to set up /run mount base path for writing
  - bind mount /run/shill
  - do *not* bind mount /etc/resolv.conf

it'd be better if minijail had an option to hide these knobs so init scripts can just say "enable timezone support" and "enable resolver".  we don't want to hardcode these details in minijail though, so might need to leverage config files or build-time settings to manage it.
 

Sign in to add a comment