lablup / lablup/backend.ai

Generate /etc/timezone file in the container if the host does not have /etc/timezone

Open
#3,841 0 comments 0 reactions 1 assignee Claimed by @studioego View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Motivation  

[Why is this Task important? Explain the context and reasons for this task.]  

- On some RPM-based Linux distributions(e.g. CentOS, Fedora, Rocky, AlmaLinux, Oracle, openSUSE), the `/etc/timezone` file is not exist by default. However, These include `/etc/localtime` file.
When running a container on such hosts, the `/etc/timezone` file should not be mounted from the host.
Instead, the container should generate the `/etc/timezone` file during initialization using `/etc/localtime` file.

## Objective  

[Clearly state the purpose or goal of this task.]  

-

## Details  

[Outline the specific steps or changes needed to complete this task.]  

1. generate the initializing `/etc/timezone` script file on the src/ai/backend/runner directory
1.
1.

## Impact  

[Describe how this task may indirectly influence other services, if at all.]  

-

JIRA Issue: BA-858

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.