Package: faketime
X-Debbugs-Cc: deb...@daltondur.st
Version: 0.9.10-2.1+b1
Severity: normal

Dear Maintainer,

faketime and libfaketime in and after Debian 11 (bullseye) do not fake
timestamps to common commands which use the statx syscall, such as
stat(1) or ls(1). Instead, the on-disk timestamps are returned:

  # LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1 
FAKETIME='1970-01-01 00:00:01' stat /
    File: /
    Size: 4096 Blocks: 8 IO Block: 4096 directory
  Device: 72h/114d Inode: 14475976 Links: 1
  Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
  Access: 2024-02-13 00:08:45.027068497 +0000
  Modify: 2024-02-13 00:08:45.027068497 +0000
  Change: 2024-02-13 00:09:55.450105641 +0000
  Birth: 2024-02-13 00:08:45.027068497 +0000

In Debian 10 (buster) and earlier, or in sid with faketime built from
the current git master branch, the correct result is returned (all
timestamps are returned as 1970-01-01 00:00:01.0). This seems to be
related to upstream bug https://github.com/wolfcw/libfaketime/issues/417
which was fixed by PR https://github.com/wolfcw/libfaketime/pull/434

Unfortunately, faketime hasn't had a release since that fix for statx
was merged.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Versions of packages faketime depends on:
ii  libc6        2.37-14
ii  libfaketime  0.9.10-2.1+b1

faketime recommends no packages.

faketime suggests no packages.

-- no debconf information

Reply via email to