Bug 17865
Summary: | Upgrade over Obsoletes messes initscripts | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Pekka Savola <pekkas> |
Component: | openssh | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | pekkas |
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: | 2000-10-02 01:22:27 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
Pekka Savola
2000-09-26 18:23:14 UTC
A patch suggested by H.J.Lu [tabs are probably mangled :(]: --- openssh.spec 2000/09/16 00:44:13 1.1.1.5 +++ openssh.spec 2000/09/16 15:12:36 1.9 %build @@ -248,6 +248,25 @@ then /sbin/service sshd stop > /dev/null 2>&1 /sbin/chkconfig --del sshd fi + +# Deal with the original ssh-server rpm. +%triggerun server -- ssh-server +if [ "$1" != 0 -a -r /var/run/sshd.pid ] +then + touch /var/run/sshd.restart +fi + +%triggerpostun server -- ssh-server +if [ "$1" != 0 ] +then + /sbin/chkconfig --add sshd + if test -f /var/run/sshd.restart + then + rm -f /var/run/sshd.restart + /etc/rc.d/init.d/sshd start >&2 + fi +fi + %files %defattr(-,root,root) Ugh. The package name changed, but the init script's didn't. Fixed in errata. |