Your message dated Thu, 31 Dec 2020 02:00:40 +0100
with message-id <[email protected]>
and subject line Re: Bug#577597: Still happens with util-linux 2.32-0.1 and 
Linux 4.17-rc7
has caused the Debian Bug report #577597,
regarding system with UTC=yes in /etc/default/rcS mounts FAT USB disk with 
wrong file time
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
577597: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577597
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mount
Version: 2.16.2-0
Severity: important
Tags: l10n squeeze 

I have recently done a dist-upgrade from lenny to squeeze. I have noticed that
the file modification times (ls -l) on a mounted VFAT USB disk are offset by  
the two-hour difference between my local time (MET-1METDST) and UTC (AFAIK 
this was not the case on lenny) 
A file that was created on a Windows XP computer at  18:00 local time shows up  
with a file time of 20:00.
This situation is not  changed by specifiying the mount option tz=UTC, so it 
seems that the VFAT partition is by default mounted with timezone set to UTC 
(Unfortunately there exists no tz=local mount option) 

I am running with the HW clock set to UTC,   
and my  /etc/default/rcS setting is : 
TMPTIME=0 
SULOGIN=no 
DELAYLOGIN=no       
UTC=yes 
VERBOSE=no 
FSCKFIX=no 
RAMRUN=no 
RAMLOCK=no  

The relevant dmesg output is
[45371.708030] usb 1-4: new high speed USB device using ehci_hcd and address 4
[45371.840888] usb 1-4: New USB device found, idVendor=1aa6, idProduct=0201
[45371.840895] usb 1-4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[45371.840898] usb 1-4: Product: USB DISK
[45371.840901] usb 1-4: Manufacturer: USB DISK
[45371.840904] usb 1-4: SerialNumber: 000000020004577
[45371.841048] usb 1-4: configuration #1 chosen from 1 choice
[45371.843249] scsi4 : SCSI emulation for USB Mass Storage devices
[45371.843518] usb-storage: device found at 4
[45371.843520] usb-storage: waiting for device to settle before scanning
[45376.844783] usb-storage: device scan complete
[45376.845281] scsi 4:0:0:0: Direct-Access     USB DISK USB DISK         2.00 
PQ: 0 ANSI: 0
[45376.852773] sd 4:0:0:0: [sda] 8177664 512-byte logical blocks: (4.18 
GB/3.89 GiB)
[45376.853266] sd 4:0:0:0: [sda] Write Protect is off
[45376.853272] sd 4:0:0:0: [sda] Mode Sense: 03 00 00 00
[45376.853275] sd 4:0:0:0: [sda] Assuming drive cache: write through
[45376.855125] sd 4:0:0:0: [sda] Assuming drive cache: write through
[45376.855133]  sda: sda1
[45376.858623] sd 4:0:0:0: [sda] Assuming drive cache: write through
[45376.858630] sd 4:0:0:0: [sda] Attached SCSI removable disk


Output of fdisk -l /dev/sda :

Disk /dev/sda: 4186 MB, 4186963968 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x49e2a461

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         510     4088319+   b  W95 FAT32
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 1, 1) logical=(0, 16, 17)
Partition 1 has different physical/logical endings:
     phys=(509, 254, 63) logical=(509, 9, 11)

This bug seems to be  related to Ubuntu Bug #426886 
(https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/426886).

 Default timezone for VFAT should be local, as any UTC      
partitions can be mounted with tz=UTC (it seems UTC is the only tz option      
currently accepted, 'local' cannot be enforced)  

Changing UTC to 'no' as  suggested in some forum posts is IMHO not an option 
as running with the HW  clock set to UTC is the correct way .

Best regards,

Oswald Maenner                            


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mount depends on:
ii  libblkid1                     2.16.2-0   block device id library
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared 
lib
ii  libselinux1                   2.0.89-4   SELinux runtime shared libraries
ii  libsepol1                     2.0.40-2   SELinux library for manipulating 
b
ii  libuuid1                      2.16.2-0   Universally Unique ID library

mount recommends no packages.

Versions of packages mount suggests:
ii  nfs-common                    1:1.2.1-3  NFS support files common to 
client

-- no debconf information



--- End Message ---
--- Begin Message ---
* Martin Steigerwald <[email protected]> [201228 12:18]:
> From my side I do not even care about this bug anymore, as I use FAT 32 
> quite rarely these days. And when I do I do not care about the two hour 
> difference. I am okay with closing the bug. But I don't know about the 
> original reporter or the other ones who commented.

You were the only person to care about this bug in the last 6 years,
so ... I'll close it again.

Best,
Chris

--- End Message ---

Reply via email to