Repository navigation
v0.2.1
Two corrections to backups of a distro in which files are deleted, renamed or shortened while the backup runs, and corrections to what the npm launcher says inside WSL when Windows programs cannot be started.
- A backup failed with "tar reported an error" when a file was deleted or renamed in the instant after tar had taken it up: tar then cannot look up its access control list and extended attributes by name, and says
Warning: Cannot file_has_acl_at: No such file or directory(oracl_get_file_at, orllistxattrat). The file is in the archive all the same; one that was renamed is there under the name it had, without its access control list. wslbak took these lines for errors; a file that disappears an instant earlier was already accepted as normal on a running system, and so are these now. It is rare: of about 150 runs of the tests that create and delete files during a backup, one met it. Every earlier version has the same gap. - The same for a file that became exactly one byte shorter while it was read: tar then says "File shrank by 1 byte", and only the plural was recognised.
- The launcher's message named
[interop] enabled=falsein/etc/wsl.confas the thing to check when Windows programs never worked. That is the cause in a WSL 1 distro only, and the message now says so. In a WSL 2 distro that setting does not lead to this message: the kernel setting the launcher looks at stays in place, and WSL itself prints an error after about ten seconds (tried with WSL 2.7.13). The README describes that case in its own entry. - The command the message prints puts back a setting that is missing in a WSL 2 distro. It does not help with one that is switched off, and the message now offers it for a missing one only;
wsl --shutdownrestores it in either case. - When the kernel setting is in place but the program it names cannot be found, the launcher printed the same message, which is not true of that state. It now says what it found.
Full Changelog: v0.2.0...v0.2.1