Re: sssd: No %post/%preun/%postun?!?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/02/2021 13:58, Richard Shaw wrote:
On Thu, Feb 25, 2021 at 7:39 AM Tom Hughes <tom@xxxxxxxxxx <mailto:tom@xxxxxxxxxx>> wrote:

    On 25/02/2021 13:13, Richard Shaw wrote:
     > Per the packaging guidelines these don't seem to be optional:
     >
     >
    https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd
    <https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd>

     >
    <https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd
    <https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd>>

    Indeed they're not optional, but they're also not missing as a glance
    a the spec file confirms:

    https://src.fedoraproject.org/rpms/sssd/blob/rawhide/f/sssd.spec#_931 <https://src.fedoraproject.org/rpms/sssd/blob/rawhide/f/sssd.spec#_931>


Ahh, I never thought to look past %files :)

Separate package, but I got a similar daemon-reload warning for unbound-libs, but it was for a timer unit, which are not mentioned in the packaging guidelines.

Warning: The unit file, source configuration file or drop-ins of unbound-anchor.timer changed on disk. Run 'systemctl daemon-reload' to reload units.

You'll get it for literally everything that uses the macros
to try and restart itself if the update has changed the unit
definition in any way because the restart is done before the
reload so the new unit definition is not loaded yet.

Tom

--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux