-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Issue with snap version - socket: permission denied #42
Comments
|
Hi there, Thank you for your reply. Unfortunately ubuntu core only supports snaps and there is no alternative method to install this package as its for iot devices. Is there a way I can resolve the snap error? kind regards, |
You can download the binary and get this working: https://github.com/mr-karan/doggo/releases/tag/v0.5.3 Which architecture are you on? |
Thank you. I am using amd64 with ubuntu core. I am actually having a lot of trouble trying to complete what you are asking. At this moment downloading a file to ubuntu core is very difficult and Im trying to work out how to do that. I will update once I get past what seems simple but seems not to work as I am used to. Problem is in ubuntu core everything is a read only filesystem. Nothing is shipped by default to download in ubuntu core. No curl/wget etc. Kind regards |
Can you install curl with snap? I’m not sure. If yes, then you can just curl the binary. |
Thank you I have managed to install this workaround. I had to: snap install curl now running ./doggo works as expected. One last question, would the snap version be somthing you might try to resolve or would this workaround be the only option going forward? Kind regards |
Publishing snap with |
I understand. Would it help if I tried to ask this on your behalf if you dont have the time and see what they said so you dont have to do the back and forth and I just relay anything pertinent to you? |
That’s helpful and kind. But I think I need to make a forum post and send for manual approval. I’ll do that soon. https://snapcraft.io/docs/reviewing-classic-confinement-snaps Although, this mentions that snap with classic mode cannot be installed on Ubuntu core, which is a bummer. It won’t solve the problem in your case. May I understand why downloading from binary doesn’t help/solve your case? |
It provides a workaround and agree it works fine however the idea behind ubuntu core is that all packages on it update automatically once deployed without any intervention at all making it a deploy and forget solution. Besides a classic solution does snap provide no method to do a dns query that is sanctioned by the more modern version? Seems odd that is not possible. But thanks for looking either way. I agree its not super urgent and am appreciative of the time you spent thinking about it so far. I understand not all methods of installation can be supported and dont want to burden you with what is essentially an annoying request. Please feel free to close this issue if you prefer to do so. Thank you again :) P |
When trying to use doggo on ubuntu core or debian 11 with snap installed I get the same error:
aragorn@Aragorn:~/Extract$ doggo mrkaran.dev A @192.168.2.22
ERROR[2022-06-16T16:15:21-04:00] error looking up DNS records error="dial udp 192.168.2.22:53: socket: permission denied"
NAME TYPE CLASS TTL ADDRESS NAMESERVER
Screenshot:
The text was updated successfully, but these errors were encountered: