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

Loading...

Jan Engelhardt's avatar

"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.



Jan Engelhardt's avatar

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)


Hans Petter Jansson's avatar

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.


Dominique Leuenberger's avatar

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


Hans Petter Jansson's avatar

@jengelh @dimstar Thanks for the corrections. Maybe it's a good idea to avoid scope creep here and keep fixes unrelated to the split to a separate submission.


Request History
Hans Petter Jansson's avatar

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


Hans Petter Jansson's avatar

hpjansson superseded request

superseded by 840337

openSUSE Build Service is sponsored by