rstudio / helm

Helm Resources for RStudio Products
MIT License
32 stars 28 forks source link

Add TZ envvar to default chart values #438

Closed npelikan closed 1 month ago

npelikan commented 9 months ago

When attaching lubridate, users will often see an error like:

> library(lubridate)
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Warning message:
In system("timedatectl", intern = TRUE): 
  running command 'timedatectl' had status 1

Investigation reveals this is related to https://github.com/rocker-org/rocker-versioned/issues/242

I'd suggest we set the TZ envvar to UTC by default in PWB and PC containers so users don't see this confusing error.

fh-mthomson commented 3 months ago

FYI this is now set by default in the upstream containers: https://github.com/rstudio/rstudio-docker-products/pull/725

npelikan commented 1 month ago

Closing as its resolved upstream!