Bug 203461 - Adding time namespace
Summary: Adding time namespace
Status: NEW
Alias: None
Product: Timers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: john stultz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-30 18:50 UTC by Armin Balalaie
Modified: 2019-04-30 18:50 UTC (History)
0 users

See Also:
Kernel Version: 5.0.10
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Armin Balalaie 2019-04-30 18:50:45 UTC
I am not sure if this is the best category to create this issue, but hopefully you guys will help putting it in the right one.

This issue is to suggest adding a time namespace to the linux kernel. This will help the containers using this namespace to have the capability to change the time in themselves without changing the time on the host. This could be very helpful in testing scenarios like:


- clock drifts in distributed systems
- debugging time-related issues, such as expired SSL certificates
- testing software for year-2038 compliance

The alternative right now is libfaketime (https://github.com/wolfcw/libfaketime), but it has limitations (see libfaketime's compatibility issues) and can cause segmentation faults and unexpected errors.

Note You need to log in before you can comment on or make changes to this bug.