/[smeserver]/rpms/e-smith-manager/sme10/e-smith-manager-2.8.0-bz10448-bugreport.patch
ViewVC logotype

Annotation of /rpms/e-smith-manager/sme10/e-smith-manager-2.8.0-bz10448-bugreport.patch

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


Revision 1.2 - (hide annotations) (download)
Fri Mar 19 03:26:52 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-manager-2_8_0-35_el7_sme, e-smith-manager-2_8_0-37_el7_sme, e-smith-manager-2_8_0-34_el7_sme, e-smith-manager-2_8_0-38_el7_sme, e-smith-manager-2_8_0-36_el7_sme, HEAD
Changes since 1.1: +18 -1 lines
* Thu Mar 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-34.sme
- take 2 wrong system mode reported in bugreport [SME: 10448]

1 jpp 1.1 diff -Nur --no-dereference e-smith-manager-2.8.0.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/bugreport e-smith-manager-2.8.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/bugreport
2     --- e-smith-manager-2.8.0.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/bugreport 2021-03-16 16:00:48.953000000 -0400
3     +++ e-smith-manager-2.8.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/bugreport 2021-03-16 16:06:33.150000000 -0400
4     @@ -37,6 +37,10 @@
5     <trans>Server mode</trans>
6     </entry>
7     <entry>
8     + <base>PREVIOUS_SERVER_MODE</base>
9     + <trans>Previous Server mode</trans>
10     + </entry>
11     + <entry>
12     <base>KERNEL_AND_ARCH</base>
13     <trans>Current running kernel version and architecture</trans>
14     </entry>
15     diff -Nur --no-dereference e-smith-manager-2.8.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm e-smith-manager-2.8.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm
16     --- e-smith-manager-2.8.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm 2021-03-16 16:00:48.952000000 -0400
17     +++ e-smith-manager-2.8.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm 2021-03-16 16:05:14.273000000 -0400
18     @@ -18,7 +18,8 @@
19    
20     # Get some basic info on the current SME install
21     our $sysconfig = $db->get('sysconfig');
22     -our $systemmode = $sysconfig->prop('PreviousSystemMode');
23 jpp 1.2 +our $systemmode = $db->get_value('SystemMode');
24 jpp 1.1 +our $previoussystemmode = $sysconfig->prop('PreviousSystemMode');
25     our $releaseversion = $sysconfig->prop('ReleaseVersion');
26    
27     # Prepare some filehandles for templates and reports
28     @@ -56,6 +57,7 @@
29     print "\t<ul>\n";
30     print "\t\t<li>". $self->localise('SME_VERSION') ."</li>\n";
31     print "\t\t<li>". $self->localise('SERVER_MODE') ."</li>\n";
32     + print "\t\t<li>". $self->localise('PREVIOUS_SERVER_MODE') ."</li>\n";
33     print "\t\t<li>". $self->localise('KERNEL_AND_ARCH') ."</li>\n";
34     print "\t\t<li>". $self->localise('INSTALLED_RPMS') ."</li>\n";
35     print "\t\t<li>". $self->localise('ALTERED_TEMPLATES') ."</li>\n";
36     @@ -123,7 +125,8 @@
37     releaseversion => \$releaseversion,
38     curkernel => \$curkernel,
39     systemmode => \$systemmode,
40     - newrpms => \@newrpms,
41     + previoussystemmode => \$previoussystemmode,
42     + newrpms => \@newrpms,
43     templates => \@templates,
44     events => \@events,
45     repositories => \@repositories,
46 jpp 1.2 diff -Nur --no-dereference e-smith-manager-2.8.0.old/root/etc/e-smith/web/common/configuration_report.tmpl e-smith-manager-2.8.0/root/etc/e-smith/web/common/configuration_report.tmpl
47     --- e-smith-manager-2.8.0.old/root/etc/e-smith/web/common/configuration_report.tmpl 2021-03-18 23:17:57.416000000 -0400
48     +++ e-smith-manager-2.8.0/root/etc/e-smith/web/common/configuration_report.tmpl 2021-03-18 23:24:58.661000000 -0400
49     @@ -4,9 +4,10 @@
50     Base configuration
51     ==================
52    
53     -SME server version: {$releaseversion}
54     -SME server mode: {$systemmode}
55     -Running Kernel: {$curkernel}
56     +SME server version: {$releaseversion}
57     +SME server mode: {$systemmode}
58     +SME server previous mode: {$previoussystemmode }
59     +Running Kernel: {$curkernel}
60    
61    
62     ===========================

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