Bruno Wolff III <bruno(a)wolff.to> writes:
Tom Lane <tgl(a)redhat.com> wrote:
> Bruno Wolff III <bruno(a)wolff.to> writes:
>> Yeah, it gets old pretty quick when every time some packages get updated,
>> one needs to enable or disable them again.
> Huh? That doesn't happen given the current (F16/F17)
scriptlets AFAICS.
> They don't touch the service's enable state.
Maybe what I am seeing is something different. I certainly have
services
turn back on after updates that I have disabled. sendmail is one example.
Hm, that seems pretty odd. sendmail's %post script is
%post
if [ $1 -eq 1 ] ; then
# Initial installation
/bin/systemctl enable sendmail.service >/dev/null 2>&1 || :
/bin/systemctl enable sm-client.service >/dev/null 2>&1 || :
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
which should not do anything on an update. It would auto-enable if
you were installing the package when it was previously not present,
but that isn't what you're describing. File a bug maybe?
regards, tom lane