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

Latest Snap build (20) is not connecting to the device #379

Closed
szszszsz opened this issue Jul 30, 2018 · 11 comments
Closed

Latest Snap build (20) is not connecting to the device #379

szszszsz opened this issue Jul 30, 2018 · 11 comments
Labels

Comments

@szszszsz
Copy link
Member

szszszsz commented Jul 30, 2018

  • Application version: v1.3.1
  • Operating system: Ubuntu 18.04, Fedora 28
  • Distribution channel: Snap
  • Device model and firmware version: Storage v0.52
  • Issue frequency: always

Expected behaviour

Should connect, as previous release, 19.

Current behaviour

Not connecting to the device.

Steps for reproduction

Install current release with --devmode, as guide states.

@szszszsz
Copy link
Member Author

CC @alex-nitrokey

@szszszsz
Copy link
Member Author

Started to work after further retesting. Perhaps some issue with Udev rules files?

@szszszsz szszszsz added the monitoring Monitors external issues label Aug 20, 2018
@alex-nitrokey
Copy link
Contributor

Let me know, if I can retest something.

@szszszsz
Copy link
Member Author

Could you check please latest snap package, 21?
It works for me on Ubuntu 18.04.

@alex-nitrokey
Copy link
Contributor

I only get it working with sudo rights on my VM on which no modifications were made.

@szszszsz
Copy link
Member Author

I see. How have you installed/updated it?

@alex-nitrokey
Copy link
Contributor

sudo snap install nitrokey-app --devmode
When installing it states that it is downloading (21) - which should be the version number, right?

@szszszsz
Copy link
Member Author

Yes, 21 is the current version.
So to confirm, even with the --devmode switch it is not working for you? In that case Udev rules might be indeed the culprit. Would installing scdaemon help?

@alex-nitrokey
Copy link
Contributor

I did try and funnily it didn't solved the problem either 🤔 But as far as I can see it didn't add the udev rules anyway.
But, after installing nitrokey-app via apt and removing it again (apt did not remove the deps), the snap is working fine. That means, any of the deps for nitrokey-app seem to be not included in the snap. Could this be the case?

@alex-nitrokey
Copy link
Contributor

Okay, my fault. After installing scdaemon it helps to unplug and plugin again the Nitrokey 😉 sorry.

So yes, installing scdaemon does the trick, so probably something about udev rules? They are in the snap folder though...

@szszszsz
Copy link
Member Author

This one is not occurring lately. More for completeness:

  1. Current installation switch is --classic AFAIR.
  2. The udev rules are included inside the package, however they are not available to system udev service. We would need to copy it outside of the isolated snap space to make it work automatically. We could think about this one in the future.

Closing as done.

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

No branches or pull requests

2 participants