microsoft / microsoft/WSL

Locked keyring makes Evolution Mail unable to work

Open
#12,385 3 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

### Windows Version

Microsoft Windows [Ver 10.0.26100.2314]

### WSL Version

2.3.26.0

### Are you using WSL 1 or WSL 2?

- [x] WSL 2
- [ ] WSL 1

### Kernel Version

5.15.167.4-1

### Distro Version

Ubuntu 24.04

### Other Software

Starting evolution Mail, I'm able to get access to IMAP mail but it doesn't keep the password; in ews mail (office365), I get

_Failed to obtain access token from address “https://login.microsoftonline.com/**[MSTenant_here]**/oauth2/v2.0/token”: Object does not exist at path “/org/freedesktop/secrets/collection/login”_

Running seahorse, is clearly missing Login keyring and if I try to add it I get

_Couldn't add keyring - no such secret collection at path /_

Keyring is locked and there's no way to unlock it.

On older wsl installation (kernel 5.10.16.3) everything was working properly.

Partially workarounded by disabling systemd in /etc/wsl.conf but I think is just a workaround, not a fix, that'why I'm filing this issue (workaround comes from WSL crashes when building application #12238)

### Repro Steps

install wsl2
install Ubuntu 24.04
install Evolution Mail, seahorse
launch Evolution (see above)
lauch Seahorse (see above)

editing /etc/wsl.conf putting `systemd=false `in place of `systemd=true `_workarounds_ the issue

### Expected Behavior

launch Evolution and Seahorse and having them correctly working (or, better, having keyring unlocked

### Actual Behavior

see above

### Diagnostic Logs

[WslLogs-2024-12-17_15-16-08.zip](https://github.com/user-attachments/files/18167013/WslLogs-2024-12-17_15-16-08.zip)

Contributor guide

Open the contributing guide

Research direction

Reproduce on Windows 10.0.26100.2314 with WSL 2, Ubuntu 24.04, and systemd enabled, following the listed Evolution and Seahorse steps. Review the attached WSL diagnostic logs and /etc/wsl.conf behavior first. Done means the Login keyring can be unlocked or accessed and Evolution retains IMAP credentials and obtains the EWS token without disabling systemd.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.