/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11510-donotstop.patch
ViewVC logotype

Annotation of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11510-donotstop.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Mar 30 23:18:43 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-yum-2_6_0-57_el7_sme, smeserver-yum-2_6_0-54_el7_sme, smeserver-yum-2_6_0-56_el7_sme, smeserver-yum-2_6_0-53_el7_sme, smeserver-yum-2_6_0-60_el7_sme, smeserver-yum-2_6_0-59_el7_sme, smeserver-yum-2_6_0-58_el7_sme, smeserver-yum-2_6_0-55_el7_sme, smeserver-yum-2_6_0-62_el7_sme, smeserver-yum-2_6_0-61_el7_sme, smeserver-yum-2_6_0-64_el7_sme, smeserver-yum-2_6_0-63_el7_sme
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-53.sme
- fix services stop on removal [SME: 11510]

1 jpp 1.1 diff -Nur --no-dereference smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py
2     --- smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py 2021-03-30 19:13:24.900000000 -0400
3     +++ smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py 2021-03-30 19:15:37.261000000 -0400
4     @@ -202,11 +202,7 @@
5     log(" service link " + f + ": " + (os.readlink(tmppathsrv + f)))
6     mytmpserv = os.readlink(tmppathsrv + f)
7     if not serviceslist.has_key(f):
8     - if tsmem.output_state == TS_ERASE:
9     - print('===> removal, we stop the service ' + f)
10     - serviceslist[f]="stop"
11     - else:
12     - serviceslist[f]=mytmpserv
13     + serviceslist[f]=mytmpserv
14     else:
15     if mytmpserv == "restart":
16     log("overriding all signals, forcing restart " + f )

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed