libfaketime
libfaketime copied to clipboard
libfaketime modifies the system time for a single application
Hi! I have an app using `timerfd_create`, `timerfd_settime` and `timerfd_gettime` with monotonic clock id. Because I don’t want to fake monotonic timers, I have set `FAKETIME_DONT_FAKE_MONOTONIC=1`. The problem is that...
This issue was already raised, but closed: https://github.com/wolfcw/libfaketime/issues/175 It seems that the timezone is lost when setting the fake date & time. Example script: ```bash #!/usr/bin/env bash # # Sample...
I am building libfaketime in the official CentOS7 container. Works fine for Intel. When I build it on an M1 MacBook, I get: ``` libfaketime.c:2300:5: error: conflicting types for ‘gettimeofday’...
Running the following program using `libfaketime` has the wrong UTC - TAI offset for all dates before the last leap second has been introduced and also does not show the...
We have been using libfaketime for years in our docker-based integration tests, but since yesterdays commit/pr https://github.com/wolfcw/libfaketime/pull/391 we now get intermittent errors when libfaketime tries to read from the file:...
I use this following command in terminal an get the error message as the title. Command: - install faketime/coreutils at the first time: `brew install libfaketime coreutils` - call to...
The man(2) page for select says: On Linux, select() modifies timeout to reflect the amount of time not slept; most other implementations do not do this. (POSIX.1 permits either behavior.)...
sem_open failed and recreation attempts failed: No such file or directory this is error infomation [root@license-server ~]# export LD_PRELOAD="/root/libfaketime/src/libfaketime.so.1" [root@license-server ~]# export FAKETIME="2021-12-23 11:16:00" [root@license-server ~]# [root@license-server ~]# [root@license-server ~]#...
The problem is when I launch a java application, that was running well for years with libfaketime. It stopped working a few days ago after notably upgrading to osx Monterey....
Hi, sorry, I don't know a good summary at the moment. *rsyslog* is using *libfaketime* via [LD_PRELOAD](https://github.com/rsyslog/rsyslog/blob/master/tests/diag.sh#L200) [1,2] in its test suite. It was working fine until *libfaketime-0.9.7* release, see...