[Bug 2136917] [NEW] inotify never detects file change with rust-coreutils in 0 A.D.

Nicolas Auvray 2136917 at bugs.launchpad.net
Sat Dec 20 08:47:47 UTC 2025


Public bug reported:

In 0 A.D. (package 0ad), we support reloading files when they are
changed on disk.

On Linux, our C++ code watches loaded files using `inotify`:
https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/source/lib/sysdep/os/linux/dir_watch_inotify.cpp

Since Questing, one of our tests goes into an infinite loop, when a file
is modified on disk, the modification is not being detected.

We observed that switching back to `gnu-coreutils` immediately fixes the
issue. Details are at
https://gitea.wildfiregames.com/0ad/0ad/issues/8508

I have tested replacing system uutils-coreutils with latest version from
cargo (0.5.0 at time of writing) which doesn't make a difference.

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2136917

Title:
  inotify never detects file change with rust-coreutils in 0 A.D.

Status in rust-coreutils package in Ubuntu:
  New

Bug description:
  In 0 A.D. (package 0ad), we support reloading files when they are
  changed on disk.

  On Linux, our C++ code watches loaded files using `inotify`:
  https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/source/lib/sysdep/os/linux/dir_watch_inotify.cpp

  Since Questing, one of our tests goes into an infinite loop, when a
  file is modified on disk, the modification is not being detected.

  We observed that switching back to `gnu-coreutils` immediately fixes
  the issue. Details are at
  https://gitea.wildfiregames.com/0ad/0ad/issues/8508

  I have tested replacing system uutils-coreutils with latest version
  from cargo (0.5.0 at time of writing) which doesn't make a difference.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2136917/+subscriptions




More information about the foundations-bugs mailing list