-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Adapt RPM repository to not cause errors on openSUSE #6445
Comments
Thanks for the detailed report @tacerus. I'm taking a look at our rpm and deb repo managment, and this issue is a wealth of info. I'll report back here once I have some updates. |
@tacerus: Can you give me further repro steps? E.g. what commands do I need to run to reproduce your issues? For example, I've been working off the following Dockerfile for testing: FROM registry.suse.com/suse/sle15
RUN zypper addrepo --gpgcheck-strict https://rpm.releases.teleport.dev/teleport.repo
RUN zypper --non-interactive --gpg-auto-import-keys install teleport
RUN teleport version
I've got a PR up for this: #9027. It'll need backports, but should be relatively quick and uncontroversial. 🤞
The public key is published: https://rpm.releases.teleport.dev/RPM-GPG-KEY-teleport, and referenced in the repo: $ curl -s https://rpm.releases.teleport.dev/teleport.repo | grep gpg
gpgcheck=1
gpgkey=https://rpm.releases.teleport.dev/RPM-GPG-KEY-teleport Does it need to be published in a certain keyserver or location to work with zypper/YaST/suse?
This doesn't look like a permissions issue -- we don't have a media directory at all. https://rpm.releases.teleport.dev/media.1/media doesn't exist, and isn't created by For more info, see our rpm repo metadata publishing workflow here: Lines 4347 to 4391 in d67e9b3
IMO, this is unlikely. Because we distribute security software, and Teleport enterprise has some non-free code, we typicaly avoid involving 3rd parties in distribution. I'd need to know a lot more about OBS (and maybe talk to one of the engineers maintaining it) before we'd consider building/publishing there. If OBS is more of a mirror situation, that may be easier, but I still need further info about how to get https://rpm.releases.teleport.dev/ packages mirrored there. |
Hi @tacerus. The RPM repo metadata is now signed using the same key that signs the packages:
You can find the public key here: https://rpm.releases.teleport.dev/RPM-GPG-KEY-teleport If there are other things SUSE needs to work with the repo, please reopen with specific details, per #6445 (comment) |
What
Hello! I am aware that openSUSE is not a supported operating system. However, the RPM package works absolutely flawlessly on a good dozen openSUSE machines I deployed. Unfortunately though, the RPM repository lacks a few optimizations in order not to cause errors, and in order to comply with the security policies employed by the openSUSE developers. I would absolutely love if you could perform these minor changes in order for the experience on SUSE based operating systems to be less troubled.
How
Why
Since the RPM package itself is working flawlessly on openSUSE, even if installed through the repository (after skipping the errors, of course), it would, in my opinion, be a minor task to also adjust the repository accordingly, in order for openSUSE users (and likely SUSE Enterprise Linux users as well) to enjoy installations and updates using already established package management routines.
A particular annoyance is found during automated deployments. I included the repository and package in an AutoYaST installation profile - while the security checks in such a profile can be softened, manual user intervention to accept the errors during the deployment is still required.
Workaround
I would like to use this opportunity to thank for the marvelous piece of software - I will keep using it no matter of the outcome of my request. :-)
The text was updated successfully, but these errors were encountered: