[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#838607: linux-image-4.7.0-0.bpo.1-amd64-unsigned: new file date writing issue



Control: tag -1 unreproducible moreinfo

On Thu, 2016-09-22 at 18:43 -0400, westlake wrote:
> Package: linux-image-4.7.0-0.bpo.1-amd64-unsigned
> Version: 4.7.2-1~bpo8+1
> Severity: normal
> 
> There's a bug with ext4 on the new 4.7 kernel -- rare but it happened 
> here on an ext4 mountpoint (/home /dev/md1   ext4  rw,relatime,data=ordered)
> 
> when a new file is created, the "create time" is not properly set.(2014 
> was written as the create year instead of 2016)

Are the month, day and time roughly correct, or also incorrect?

Timestamps on ext4 are stored in Unix time format (seconds since 1970)
and an offset of 2 years is not a round number of seconds, so there's
no obvious way for a bug to result in a shift of exactly 2 years.

> it occured today after I updated to 4.7 so I can only assume it has 
> something to do with it..

Have you checked that the real-time clock is set correctly
(hwclock -r)?

Ben.

> my system here has "mdadm" containers, and perhaps it's possible a set 
> of conditions allowed this rarity to occur.

-- 
Ben Hutchings
A free society is one where it is safe to be unpopular. - Adlai
Stevenson

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: