Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5299

Please consider demoting the dependency on systemd

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-8.8.0
    • libreswan
    • None
    • Low
    • rhel-sst-security-crypto
    • ssg_security
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:

      The libreswan package has a strong dependency on systemd, but its contents can be used without systemd (e.g. in Submariner). In a container image, the result is that libreswan pulls in the systemd ecosystem, which is quite large, even if systemd ends up never being used.

      Version-Release number of selected component (if applicable):

      All current versions (e.g. 4.9-3, 4.9-4).

      How reproducible:

      100%.

      Steps to Reproduce:
      1. Install libreswan in a container image without systemd.
      2.
      3.

      Actual results:

      systemd ends up installed.

      Expected results:

      systemd isn’t installed.

      Additional info:

      I know that requiring systemd is prescribed as a “SHOULD” in the Fedora packaging guidelines (https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd). Those guidelines do however allow packages to only specifying an ordering requirement, not a strong dependency:

      > If the package wants to use systemd tools if they are available, but does not want to declare a dependency, then the %{?systemd_ordering} macro MAY be used as a weaker form of %{?systemd_requires} that only declares an ordering during an RPM transaction.

              dueno@redhat.com Daiki Ueno
              skitt@redhat.com Stephen Kitt
              Daiki Ueno Daiki Ueno
              SSG Security QE SSG Security QE
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: