Mailinglist Archive: opensuse-packaging (118 mails)

< Previous Next >
Re: [opensuse-packaging] Re: systemd presets vs. package install order
On Mon, 2015-06-15 at 12:40 +0200, Jan Engelhardt wrote:
On Monday 2015-06-15 12:34, Andreas Schwab wrote:

Christian Boltz <opensuse@xxxxxxxxx> writes:

AppArmor has a preset "enable by default" (in the separate
systemd-
presets-branding-openSUSE), but unfortunately the AppArmor
package gets
installed before systemd-presets-branding-openSUSE gets
installed.

How did that happen? Didn't it require %systemd_requires?

Well, few packages *actually* require systemd.

seems systemd is a small misnomer: it actually requires systemd for the
scripts (which, in turn is correct, as none of the scripts checks if
systemctl is present before trying to start it.. so in fact we DO
require systemd present for the scripts.

just, they all mask errors nicely away with:
/usr/bin/systemctl preset apparmor.service >/dev/null 2>&1 || :

Dominique
--
Dimstar / Dominique Leuenberger <dimstar@xxxxxxxxxxxx>
< Previous Next >