[Lunar-bugs] [Lunar Linux 0000085]: lservices: "chkconfig --list ... | grep -qw '...:on'" fails when chkconfig prints something else than "on" or "off"

Lunar bug reports list lunar-bugs at lunar-linux.org
Tue Apr 18 19:39:49 UTC 2006


The following issue has been SUBMITTED.
======================================================================
<http://bugs.lunar-linux.org/view.php?id=85> 
======================================================================
Reported By:                JPohlmann
Assigned To:                sofar
======================================================================
Project:                    Lunar Linux
Issue ID:                   85
Category:                   lunar
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Moonbase Version:           20060418.15
Core Tools:                 Lunar
Core Tools Version:         20060326
======================================================================
Date Submitted:             04-18-2006 19:39 UTC
Last Modified:              04-18-2006 19:39 UTC
======================================================================
Summary:                    lservices: "chkconfig --list ... | grep -qw
'...:on'" fails when chkconfig prints something else than "on" or "off"
Description: 
I'm using de_DE at euro here and 'chkconfig --list' prints "Ein" and "Aus"
instead of "on" and "off". Due to this, lservices fails to detect whether
services are enabled or not (in /usr/sbin/lservices, function:
service_is_enabled). This could be solved by setting the locale to LANG=C
at the beginning of lservices, as suggested by Jens/perldude.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-18-06 19:39 JPohlmann      New Issue                                    
04-18-06 19:39 JPohlmann      Moonbase Version          => 20060418.15     
04-18-06 19:39 JPohlmann      Core Tools                => Lunar           
04-18-06 19:39 JPohlmann      Core Tools Version        => 20060326        
======================================================================



More information about the Lunar-bugs mailing list