Bug 165222

Summary: rc.sysinit tries to i18n a command name
Product: Red Hat Enterprise Linux 4 Reporter: Bill Nottingham <notting>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: dgimenez, rvokal
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: 2005-10-07 20:44:08 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:
Bug Depends On: 151120    
Bug Blocks: 145411    

Description Bill Nottingham 2005-08-05 16:13:05 UTC
+++ This bug was initially created as a clone of Bug #151120 +++

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6)
Gecko/20050302 Firefox/1.0.1 Fedora/1.0.1-1.3.2

Description of problem:
This bug comes from a long date, IIRC. I remember seing it on RedHat9,
maybe before. It's kinda harmless, and maybe no one cared yet.

On line 273 of rc.sysinit, it does:

       action $"Setting clock $CLOCKDEF: `date`" date

Note that the command "date" is inside the $".." text, and so it gets
i18n'ed too. In portuguese, "date" becomes "data", and it spits an
error  on boot time:

       rc.sysinit: data: command not found

I also suspect you don't need the *two* "date" commands on that line,
just to print date on screen.

-Andre



Version-Release number of selected component (if applicable):
initscripts-7.93.5-1

How reproducible:
Always

Steps to Reproduce:
1.Just reboot the machine and watch rc.sysinit run.
    

Actual Results:  I can see the error "rc.sysinit: data: command not
found on line 273".

Expected Results:  The expected result was to see the string "Setting
clock $CLOCKDEF: " followed by the current date and not an error.

Additional info:

Cloned; this has already been fixed in FC4, and is also cloned as 163535 for RHEL 3.

Comment 2 Bill Nottingham 2005-10-07 20:44:08 UTC
This was fixed in RHBA-2005:607.

Comment 3 Bill Nottingham 2005-10-17 19:06:24 UTC
*** Bug 170688 has been marked as a duplicate of this bug. ***