Overview
Request 840336 superseded
- Work around %service_add_post disabling sshd on upgrade with
package name change.
- Use of DISABLE_RESTART_ON_UPDATE is deprecated.
Replace it with %service_del_postun_without_restart
"It keeps openssh as an empty package with hard dependencies on openssh-clients and openssh-server" - I don't see that promise of sr 834274 being fulfilled yet, I will make an SR to that end because there are more dependencies that are in wrong positions in the specfile.
Looking at:
openssh has a hard req on -client and -server, which is what we want to ensure for upgraders
There is one issue. If someone is using libzypp with --no-recommends (and I know that there such people), he will not get openssh-server/client installed, effectively removing ssh from the system.
# zypper in -f openssh Loading repository data... Reading installed packages... Forcing installation of 'openssh-8.3p1-265.1.x86_64' from repository 'basesystemlocaltest'. Resolving package dependencies... The following package is going to be upgraded: openssh The following package is going to change vendor: openssh openSUSE -> obs://build.opensuse.org/home:jengelh 1 package to upgrade, 1 to change vendor. Overall download size: 390.2 KiB. Already cached: 0 B. After the operation, 2.9 MiB will be freed.
(This issue is not fixed by my SR 835231 which concentrates on other bugs)
Are the Requires: in this submission not working? I wasn't able to test it because obs seemed to be stuck for x86_64; i didn't get any new packages in the published repo.
37+%{?systemd_requires}
Should no tbe used. At best, %{?systemd_ordering} - not having the hard dep on systemd allows for the stuff to be used inside containers
Request History
hpjansson created request
- Work around %service_add_post disabling sshd on upgrade with
package name change.
- Use of DISABLE_RESTART_ON_UPDATE is deprecated.
Replace it with %service_del_postun_without_restart
superseded by 840337