Bug 111889

Summary: [PATCH] cuts off long service names
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: redhat-config-servicesAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-11 12:38:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Schwendt 2003-12-11 09:33:26 UTC
--- servicemethods.py.orig      2003-10-22 16:09:43.000000000 +0200
+++ servicemethods.py   2003-12-11 10:23:14.000000000 +0100
@@ -200,7 +200,10 @@
         for i in chkconfig_list:
             x=re.split(r"\t", i.strip())
             end= x[0].rfind(":")
-            name=x[0][:end].strip()
+            if end >= 0:
+                name = x[0][:end].strip()
+            else:
+                name=x[0].strip()
             if name != "xinetd based services":
                 runlevel=x[1:]
                 if len(runlevel) > 1:


Version-Release number of selected component (if applicable):
redhat-config-services-0.8.5-23

Comment 1 Daniel Walsh 2003-12-11 12:38:09 UTC
Added your patch to  system-config-services-0.8.6-1

Note the rename.

Dan