[SSSD] [PATCHES] Specfile updates (one urgent)

Lukas Slebodnik lslebodn at redhat.com
Tue Jul 2 07:54:08 UTC 2013


On (01/07/13 12:48), Stephen Gallagher wrote:
>Patch 0001: Move pre and post scripts to sssd-common
>When we switched to making 'sssd' a meta-package, we forgot to move
>the upgrade scripts into the sssd-common package. This means that
>updates won't work right without the 'sssd' package and that removing
>the meta-package (i.e. to trim down requirements) will remove SSSD
>from the services lists.
Each scriptlet section contain command systemctl with argument daemon-reload
or disable (or chkconfig (sysv)). Those actions are related to service file
and sssd.service is in package sssd-common.
post, preun and postun should not be run with "meta" package sssd
and definitely must be run with sssd-common.

But I have a question.
Model situation: package sssd is installed and configured only with ipa.
sssd is connected to ipa server. Someone removes sssd-ad subpackage,
in this case, it does not make sense to restart sssd.
Someone remove sssd-ipa. Should sssd be restarted?

I am not sure if this model situation make sense, but users can do any
mistake.

>
>Patch 0002: There are no longer any Fedora systems with a SYSV SSSD on
>them, so we no longer need the upgrade logic in the specfile.

Simplification of any file is welcomed every time.
ACK

LS



More information about the sssd-devel mailing list