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

Getting warning: Processing fstab with mount -a failed. #10298

Closed
1 of 2 tasks
joaompinto opened this issue Jul 15, 2023 · 5 comments
Closed
1 of 2 tasks

Getting warning: Processing fstab with mount -a failed. #10298

joaompinto opened this issue Jul 15, 2023 · 5 comments

Comments

@joaompinto
Copy link

Windows Version

Microsoft Windows [Version 10.0.22621.1992]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1-microsoft-standard-WSL2

Distro Version

No response

Other Software

No response

Repro Steps

Follow the instructions described at https://github.com/kind-in-open-source/DevEx-Linux .
Run: wsl -d DevEx

Expected Behavior

Get a shell without any warning

Actual Behavior

I get the warning:
Processing fstab with mount -a failed.

Diagnostic Logs

No response

@Biswa96
Copy link

Biswa96 commented Jul 15, 2023

Could you provide the content of /etc/fstab file?

@joaompinto
Copy link
Author

joaompinto commented Jul 15, 2023

DevDesktop:~# cat /etc/fstab

# UNCONFIGURED FSTAB FOR BASE SYSTEM

DevDesktop:~#

@joaompinto
Copy link
Author

I resolved it by adjusting my distro configuration:

cat <<EOF > etc/wsl.conf
[automount]
mountFsTab = false

[user]
default = developer
EOF

@drewaogle
Copy link

I get the same thing.
my /etc/fstab

UUID=148e0ac8-7864-46df-a27f-a77fe56febcd /home ext4    defaults        0 0

when I su to root and run mount -a it runs.

WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1992
root@LEICA:~# dmesg | head -1
[    0.000000] Linux version 5.15.90.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Jan 27 02:56:13 UTC 2023
root@LEICA:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
root@LEICA:~#

@drewaogle
Copy link

seems to be working now, not sure what changed.

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

3 participants