yast / yast-installation

YaST module installation
http://en.opensuse.org/Portal:YaST
GNU General Public License v2.0
16 stars 44 forks source link

Do not restart services when the package is updated #1048

Closed teclator closed 2 years ago

teclator commented 2 years ago

Problem

The system hangs when it is updated by the initscripts service and it contains an updated version of this package.

Solution

Do not restart yast2-installation services when the package is updated. (see https://en.opensuse.org/openSUSE:Systemd_packaging_guidelines#Registering_unit_files_in_install_scripts)

Note: It will not help if the system is updated with previous versions of the package but will help with future ones.

Tests

Tested manually

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 39.566% when pulling 4c09bf247909b7d61c0de54377999b709b8183a9 on service_del_postun_without_restart into 9ff133dfdaa6d9d3164bbcdf044f81f2f23b325d on SLE-15-SP3.

yast-bot commented 2 years ago

:heavy_check_mark: Internal Jenkins job #19 successfully finished :heavy_check_mark: Created IBS submit request #275444