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

[BUG] infinite loop #77

Open
monolidth opened this issue Feb 22, 2021 · 9 comments
Open

[BUG] infinite loop #77

monolidth opened this issue Feb 22, 2021 · 9 comments

Comments

@monolidth
Copy link

Hey @agherzan,
thanks for this great module. I'm using the ykfde-suspend.service. After locking my encrypted volume. I face some weird bugs e.g.

Bug 1: The module freeze and no password promt appears

Bug 2: Weird infinity loop, which shows "no Entity"
The prompt appears but this bug appears if the usb device is present (at first) and you remove it in the password prompt.

Either, I have to restart which is kind of annoying.

I'm using the 5.10.16-arch1-1 kernel.
I also recommend to provide github issue templates, because for me it is hard to tell which information are needed as well.

Regards,
William

@Vincent43
Copy link
Collaborator

Hi, thx for the report. Currently ykfde-suspend service has experimental status so such problems like yours are likely to happen.

Bug 1: The module freeze and no password promt appears

On what kind of hardware it occurs? What manufacturer?

The prompt appears but this bug appears if the usb device is present (at first) and you remove it in the password prompt.

Do you mean if you remove yubikey?

@monolidth
Copy link
Author

Well, I'm running this module on a thinkpad t495s.
Detailed information about the device is covered on the wiki page.

Hi, thx for the report. Currently ykfde-suspend service has experimental status so such problems like yours are likely to happen.

Yes, I noticed that already, but still I kind ask to help me to fix this issue.

Do you mean if you remove yubikey?
Yes, I remove the yubikey

Regards,
William

@Vincent43
Copy link
Collaborator

Well, I'm running this module on a thinkpad t495s.

There is known issue on thinkpads where it tries to call some firmware files (wifi?) before suspend (which doesn't exist in initramfs) then locks infinitely. IIRC it does this only at first suspend after fresh boot.

Anyway ykfde-suspend module needs to be rewritten.

@monolidth
Copy link
Author

Meaning that this would make this service pointless? Looks like I should switch to suspend to disk but thanks for giving me this interesting input.

Regards,
William

@Vincent43
Copy link
Collaborator

No, if the service is fixed then it's not pointless.

@agherzan
Copy link
Owner

Indeed. The suspect work is not robust. If you are willing to invest some time in looking into improving it @monolidth, we are happy to take a look at your patches. But otherwise, I'd avoid it for now.

@monolidth
Copy link
Author

@agherzan well, at the moment I don't have any time for my own projects. I will look for different solution.
However, I will keep this issue open.

Regards,
William

@azenkwed
Copy link

azenkwed commented Jul 11, 2023

Hi,
Since this thread is still open. I went through the same infinite loop and not asking for the PIN issue. I quickly discovered my certificate expired. I renewed my certificate and everything worked again.

@RubenHoms
Copy link

@azenkwed what certificate are you talking about? Could you expand a bit on how you got this working?

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

5 participants