Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False init file creation time #9638

Closed
1 of 2 tasks
elsaco opened this issue Feb 15, 2023 · 2 comments
Closed
1 of 2 tasks

False init file creation time #9638

elsaco opened this issue Feb 15, 2023 · 2 comments
Assignees

Comments

@elsaco
Copy link

elsaco commented Feb 15, 2023

Version

Microsoft Windows [Version 10.0.22621.1265]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

Ubuntu 22.04.1

Other Software

No response

Repro Steps

Stat /init or use long listing format.

Expected Behavior

Sane file time info.

Actual Behavior

dragon% date
Tue Feb 14 17:47:11 PST 2023
dragon% ls -l /init
-rwxrwxrwx 1 root root 1870152 Dec 31  1969 /init

12/31/1969 is before UNIX Time!

There are other files with unsoud time signatures. Start wsl --debug-shell and list root fs:

-rwxrwxrwx   1 root root 1870152 Jan  1  1970 init
drwxr-xr-x  15 root root    4096 Jan  1  1970 systemvhd

Two files showing the beginning of UNIX Epoch.

Diagnostic Logs

No response

@benhillis benhillis self-assigned this Feb 15, 2023
@benhillis
Copy link
Member

Thanks, will resolve this.

@benhillis
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants