Processed: your mail

2020-03-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> affects 955270 src:mksh
Bug #955270 [hurd] hurd: fails to update file mtime
Added indication that 955270 affects src:mksh
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
955270: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955270
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#955270: hurd: fails to update file mtime

2020-03-28 Thread Thorsten Glaser
Package: hurd
Version: 1:0.9.git20191228-1
Severity: normal

I first reported this on the mailing list:
https://lists.debian.org/debian-hurd/2020/03/msg00023.html

Now I logged in on the porterbox (exodar.debian.net) to try and
reproduce, and voilà, I can:

tg@exodar:~$ rm a b
tg@exodar:~$ :>a
tg@exodar:~$ sleep 1
tg@exodar:~$ :>b
tg@exodar:~$ stat a b | grep ^Mod
Modify: 2020-03-29 03:54:03.0 +0200
Modify: 2020-03-29 03:54:09.0 +0200
tg@exodar:~$ sleep 1
tg@exodar:~$ :>a
tg@exodar:~$ stat a b | grep ^Mod
Modify: 2020-03-29 03:54:03.0 +0200
Modify: 2020-03-29 03:54:09.0 +0200

For comparison, this is how it looks on GNU/Linux:

tglase@tglase-nb:~ $ rm a b
tglase@tglase-nb:~ $ :>a
tglase@tglase-nb:~ $ sleep 1
tglase@tglase-nb:~ $ :>b
tglase@tglase-nb:~ $ stat a b | grep ^Mod
Modify: 2020-03-29 03:58:04.989345171 +0200
Modify: 2020-03-29 03:58:05.993371946 +0200
tglase@tglase-nb:~ $ sleep 1
tglase@tglase-nb:~ $ :>a
tglase@tglase-nb:~ $ stat a b | grep ^Mod
Modify: 2020-03-29 03:58:07.001398828 +0200
Modify: 2020-03-29 03:58:05.993371946 +0200

Sub-second timestamps aside, you’ll notice how the first of the
two stat(1) lines updated. This is the common expectation for the
command true, redirected to a file.

Please reassign to the correct package, should I be mistaken.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)

Kernel: GNU-Mach 1.8+git20191117-486-dbg/Hurd-0.9
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages hurd depends on:
ii  hurd-libs0.3   1:0.9.git20191228-1
ii  libblkid1  2.34-0.1
ii  libc0.32.29-10
ii  libdaemon0 0.14-7
ii  libgcrypt201.8.5-5
ii  liblwip0   2.1.2+dfsg1-6
ii  libncursesw6   6.2-1
ii  libpciaccess0  0.16-1+hurd.1
ii  libtinfo6  6.2-1
ii  libx11-6   2:1.6.9-2
ii  lsb-base   11.1.0
ii  sysv-rc2.96-2.1
ii  xkb-data   2.29-2

Versions of packages hurd recommends:
ii  bf-utf-source  0.08
ii  netdde 0.0.20150828-8

Versions of packages hurd suggests:
pn  hurd-doc  

-- no debconf information