mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3738] Feature Request: Support for time namespaces (Linux 5.6) #2359
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2359
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rhencke on GitHub (Nov 11, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3738
As of Linux 5.6, a new namespace was added for time.
Within each time namespace, you can set:
This allows you to run programs as if they were running in the past or future, without modifying the system clock.
Here are some of the things I would like to do with such a feature, if it existed:
firejailto run unit tests at varying points in the future as part of a CI process, to catch time-related problems before they become real. Because so many of our unit tests use the system clock.. grumble grumble.. but.. I digress..firejailto easily test network scenarios where a client has an incorrect system clock.firejailto inspect and explore how software and systems act at various points in the future (e.g. is this software affected by the year 2038 problem?)Is this an idea that firejail would be open to? (I'd be happy to hack on a PR if so.)
@reinerh commented on GitHub (Nov 11, 2020):
I agree, that sounds like a good idea and would be cool to have. :-)
@rhencke commented on GitHub (Nov 11, 2020):
My apologies... I did not read the Linux patch close enough...
So.. it.. doesn't namespace the one part of time that would have been interesting, currently. Well.. maybe in Linux 7.12 or so.. (sorry for the noise - you can close this as 'currently impossible'.. d'oh)
${DOWNLOADS}/something,${PICTURES}/something...) #2739