Mailinglist Archive: opensuse-packaging (116 mails)

< Previous Next >
Re: [opensuse-packaging] Packages enabling their systemd services at their own
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Mon, 11 Dec 2017 17:21:08 +0100
  • Message-id: <20171211172108.63ff6e4c@linux-vvcf.privatesite>
V Mon, 11 Dec 2017 16:27:12 +0100
Dominique Leuenberger / DimStar <dimstar@xxxxxxxxxxxx> napsáno:

On Mon, 2017-12-11 at 16:14 +0100, Thorsten Kukuk wrote:

the official mechanismus to enable systemd services by default
during installation is, to use the systemd preset functionallty.

Unfortunately, some packages still enable their services at their
own by calling systemctl enable in the %post install section. This
will break in the future for fresh installations!

Without looking into the spec files for 'reasons', here the list of
affected packages:

find -maxdepth 2 -name '*.spec' -exec grep -l
"systemctl.*enable" {}

regarding yast2-installation, it is in fact intentional as we have to
deal with upgrade scenario
and we expect that systemd-presets. So from my POV it looks like we are
on safe side with installation.



Please everybody find your package and adjust accordingly.


To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >