/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-remove_obsolete_services.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-remove_obsolete_services.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Apr 11 19:04:48 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-base-5_8_0-71_el7_sme, e-smith-base-5_8_0-67_el7_sme, e-smith-base-5_8_0-64_el7_sme, e-smith-base-5_8_0-70_el7_sme, e-smith-base-5_8_0-60_el7_sme, e-smith-base-5_8_0-96_el7_sme, e-smith-base-5_8_0-21_el7_sme, e-smith-base-5_8_0-85_el7_sme, e-smith-base-5_8_0-50_el7_sme, e-smith-base-5_8_0-22_el7_sme, e-smith-base-5_8_0-81_el7_sme, e-smith-base-5_8_0-88_el7_sme, e-smith-base-5_8_0-8_el7_sme, e-smith-base-5_8_0-99_el7_sme, e-smith-base-5_8_0-94_el7_sme, e-smith-base-5_8_0-98_el7_sme, e-smith-base-5_8_0-97_el7_sme, e-smith-base-5_8_0-39_el7_sme, e-smith-base-5_8_0-55_el7_sme, e-smith-base-5_8_0-62_el7_sme, e-smith-base-5_8_0-63_el7_sme, e-smith-base-5_8_0-86_el7_sme, e-smith-base-5_8_0-47_el7_sme, e-smith-base-5_8_0-40_el7_sme, e-smith-base-5_8_0-33_el7_sme, e-smith-base-5_8_0-42_el7_sme, e-smith-base-5_8_0-72_el7_sme, e-smith-base-5_8_0-69_el7_sme, e-smith-base-5_8_0-29_el7_sme, e-smith-base-5_8_0-54_el7_sme, e-smith-base-5_8_0-13_el7_sme, e-smith-base-5_8_0-78_el7_sme, e-smith-base-5_8_0-61_el7_sme, e-smith-base-5_8_0-38_el7_sme, e-smith-base-5_8_0-10_el7_sme, e-smith-base-5_8_0-79_el7_sme, e-smith-base-5_8_0-32_el7_sme, e-smith-base-5_8_0-59_el7_sme, e-smith-base-5_8_0-43_el7_sme, e-smith-base-5_8_0-19_el7_sme, e-smith-base-5_8_0-27_el7_sme, e-smith-base-5_8_0-68_el7_sme, e-smith-base-5_8_0-84_el7_sme, e-smith-base-5_8_0-45_el7_sme, e-smith-base-5_8_0-51_el7_sme, e-smith-base-5_8_0-28_el7_sme, e-smith-base-5_8_0-26_el7_sme, e-smith-base-5_8_0-95_el7_sme, e-smith-base-5_8_0-49_el7_sme, e-smith-base-5_8_0-82_el7_sme, e-smith-base-5_8_0-44_el7_sme, e-smith-base-5_8_0-41_el7_sme, e-smith-base-5_8_0-75_el7_sme, e-smith-base-5_8_0-90_el7_sme, e-smith-base-5_8_0-93_el7_sme, e-smith-base-5_8_0-46_el7_sme, e-smith-base-5_8_0-12_el7_sme, e-smith-base-5_8_0-36_el7_sme, e-smith-base-5_8_0-15_el7_sme, e-smith-base-5_8_0-76_el7_sme, e-smith-base-5_8_0-30_el7_sme, e-smith-base-5_8_0-58_el7_sme, e-smith-base-5_8_0-18_el7_sme, e-smith-base-5_8_0-87_el7_sme, e-smith-base-5_8_0-66_el7_sme, e-smith-base-5_8_0-17_el7_sme, e-smith-base-5_8_0-16_el7_sme, e-smith-base-5_8_0-65_el7_sme, e-smith-base-5_8_0-23_el7_sme, e-smith-base-5_8_0-83_el7_sme, e-smith-base-5_8_0-80_el7_sme, e-smith-base-5_8_0-92_el7_sme, e-smith-base-5_8_0-20_el7_sme, e-smith-base-5_8_0-34_el7_sme, e-smith-base-5_8_0-37_el7_sme, e-smith-base-5_8_0-9_el7_sme, e-smith-base-5_8_0-52_el7_sme, e-smith-base-5_8_0-74_el7_sme, e-smith-base-5_8_0-77_el7_sme, e-smith-base-5_8_0-73_el7_sme, e-smith-base-5_8_0-35_el7_sme, e-smith-base-5_8_0-91_el7_sme, e-smith-base-5_8_0-31_el7_sme, e-smith-base-5_8_0-53_el7_sme, e-smith-base-5_8_0-24_el7_sme, e-smith-base-5_8_0-14_el7_sme, e-smith-base-5_8_0-48_el7_sme, e-smith-base-5_8_0-89_el7_sme
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-8.sme
- Remove obsolete services [SME: 9420]

1 vip-ire 1.1 diff -Nur e-smith-base-5.8.0/createlinks e-smith-base-5.8.0_bz9420/createlinks
2     --- e-smith-base-5.8.0/createlinks 2016-04-11 20:46:45.734751970 +0200
3     +++ e-smith-base-5.8.0_bz9420/createlinks 2016-04-11 20:47:58.185758832 +0200
4     @@ -38,8 +38,6 @@
5     service_link_enhanced("wan", "K90", "0");
6     service_link_enhanced("wan", "K90", "1");
7    
8     -service_link_enhanced("udev-post", "S26", "7");
9     -
10     # conf-dialup
11     foreach (qw(
12     /etc/sysconfig/network-scripts/ifcfg-ppp0
13     @@ -550,8 +548,6 @@
14     smartd => "40",
15     acpid => "44",
16     dhcpd => "65",
17     - messagebus => "97",
18     - haldaemon => "98",
19     'local' => "99",
20     );
21    
22     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/haldaemon/status e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/haldaemon/status
23     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/haldaemon/status 2005-11-21 05:28:04.000000000 +0100
24     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/haldaemon/status 1970-01-01 01:00:00.000000000 +0100
25     @@ -1 +0,0 @@
26     -enabled
27     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/haldaemon/type e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/haldaemon/type
28     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/haldaemon/type 2005-11-21 05:28:04.000000000 +0100
29     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/haldaemon/type 1970-01-01 01:00:00.000000000 +0100
30     @@ -1 +0,0 @@
31     -service
32     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/messagebus/status e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/messagebus/status
33     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/messagebus/status 2005-11-21 05:28:04.000000000 +0100
34     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/messagebus/status 1970-01-01 01:00:00.000000000 +0100
35     @@ -1 +0,0 @@
36     -enabled
37     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/messagebus/type e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/messagebus/type
38     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/messagebus/type 2005-11-21 05:28:04.000000000 +0100
39     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/messagebus/type 1970-01-01 01:00:00.000000000 +0100
40     @@ -1 +0,0 @@
41     -service
42     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/udev-post/status e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/udev-post/status
43     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/udev-post/status 2014-03-24 03:47:25.000000000 +0100
44     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/udev-post/status 1970-01-01 01:00:00.000000000 +0100
45     @@ -1 +0,0 @@
46     -enabled
47     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/udev-post/type e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/udev-post/type
48     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/udev-post/type 2014-03-24 03:47:25.000000000 +0100
49     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/udev-post/type 1970-01-01 01:00:00.000000000 +0100
50     @@ -1 +0,0 @@
51     -service
52     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/migrate/50RemoveObsoleteServices e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/migrate/50RemoveObsoleteServices
53     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/migrate/50RemoveObsoleteServices 1970-01-01 01:00:00.000000000 +0100
54     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/migrate/50RemoveObsoleteServices 2016-04-11 20:58:44.861730298 +0200
55     @@ -0,0 +1,10 @@
56     +{
57     +
58     + # Remove old, unused services from the configuration database
59     + my @services = qw(haldaemon smolt udev-post messagebus);
60     + foreach my $service (@services){
61     + my $entry = $DB->get($service);
62     + $entry->delete if $entry;
63     + }
64     +
65     +}

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