diff options
author | Colin Guthrie <colin@mageia.org> | 2014-07-27 19:53:23 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-07-27 19:53:23 +0100 |
commit | 7a7ee261362d61c730196df299a05347a68f9369 (patch) | |
tree | 888a35504f9b28463894b960eea4facdcc5b5c3e /add-service | |
parent | b147129f0ba40e800e97a51f841e7fa3eb294090 (diff) | |
download | rpm-helper-7a7ee261362d61c730196df299a05347a68f9369.tar rpm-helper-7a7ee261362d61c730196df299a05347a68f9369.tar.gz rpm-helper-7a7ee261362d61c730196df299a05347a68f9369.tar.bz2 rpm-helper-7a7ee261362d61c730196df299a05347a68f9369.tar.xz rpm-helper-7a7ee261362d61c730196df299a05347a68f9369.zip |
Drop hacky workaround for systemd reload on sysv initscript package removal
Due to the fact that systemd is reload by chkconfig, it will still
think the service exists. A hacky patch was included which rm'ed
the sysvinit script and then reloaded systemd again, which worked
but caused errors from rpm when removing packages complaining that
a file it controlled did not exist (which was correct).
It's actually much better to fix this with a filetrigger. We
actually already ship a filetrigger that performs appropriate
daemon-reloads, but it only matched on native units. Simply
changing the regexp to include sysvinit script paths too should
fix the problem equally well, but in a much less hacky way.
Diffstat (limited to 'add-service')
0 files changed, 0 insertions, 0 deletions