Bug 164932
Summary: | /etc/rc.d/init.d/sshd failures with 'restart' and 'condrestart' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andreas Ott <aott01> |
Component: | openssh | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | antillon.maurizio |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-08-03 07:22:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Andreas Ott
2005-08-02 19:44:17 UTC
This is really weird - I cannot reproduce anything like this here with exactly the same openssh package. What rpm -V openssh and rpm -V openssh-server writes? Sorry, I already tinkered with this a little more and in the process I happened to uninstall the openssh-server rpm. So, unfortunately I can no longer run the --verify for you. However, I am now unable to reinstall it: please check this out... # rpm -ivh http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/openssh-server-4.1p1-3.1.i386.rpm Retrieving http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/openssh-server-4.1p1-3.1.i386.rpm Preparing... ########################################### [100%] 1:openssh-server warning: /etc/pam.d/sshd created as /etc/pam.d/sshd.rpmnew warning: /etc/rc.d/init.d/sshd saved as /etc/rc.d/init.d/sshd.rpmorig warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew ########################################### [100%] error: unpacking of archive failed on file /usr/sbin/sshd: cpio: rename failed - Operation not permitted # Finally: tracked down that /usr/sbin/sshd is chattr'ed with the immutable bit (I'm pretty sure this was not done by me manually, so I really suspect a script out of the RPMs and/or updates, maybe selinux ? ): # lsattr -v /usr/sbin/sshd 970694379 -u--ia------- /usr/sbin/sshd after removing this file, re-installed the openssh-server RPM and all looks normal No, I don't think the immutable bit was set by script from RPM or selinux updates. If you didn't do it yourself it is very suspicious. It seems like your computer is compromised. But definitely it is not a bug in the openssh package. |