Bug 1167402
Summary: | /etc/ssh/ssh_host_ed25519_key is created with incorrect permissions | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Raman Gupta <rocketraman> |
Component: | openssh | Assignee: | Petr Lautrbach <plautrba> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | mattias.ellert, mgrepl, plautrba, rocketraman, tmraz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-24 16:51:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Raman Gupta
2014-11-24 16:13:31 UTC
Is it possible that you had created ed25519 keys manually before? When you remove /etc/ssh/ssh_host_ed25519_key* files and regenerate files using: # systemctl start sshd-keygen.service is everything ok? Would it be possible to collect logs from update and check how were ed25519 keys created? (In reply to Petr Lautrbach from comment #1) > Is it possible that you had created ed25519 keys manually before? I don't think so. > When you > remove /etc/ssh/ssh_host_ed25519_key* files and regenerate files using: > > # systemctl start sshd-keygen.service > > is everything ok? Yes, when doing this everything is ok. > Would it be possible to collect logs from update and check how were ed25519 > keys created? I didn't do this update in a virtual machine so unless I can get this information from existing logs, this will be difficult. In experimenting with this, however, I think maybe etckeeper is responsible for the bad permissions. I was removing/modifying the keys as requested above, and when I did "git checkout -- ." in order to reset the state, the keys went back to the incorrect perms. So its probably an etckeeper operation after install that did this. I'm closing this bug as WORKSFORME for now. If you find out something else related to this issue and openssh, feel free to reopen it. Or if you think it's etckeeper issue, please file a new bug to the right component. |