RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 615104 - echo's "OK" twice in init script
Summary: echo's "OK" twice in init script
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: at
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Marcela Mašláňová
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-15 23:38 UTC by jmccann
Modified: 2015-01-14 23:25 UTC (History)
7 users (show)

Fixed In Version: at-3.1.10-43.el6
Doc Type: Bug Fix
Doc Text:
Previously, the initscript caused the "OK" message to be printed twice. With this update, the initscript behaves as expected and does no longer cause echos of messages.
Clone Of:
Environment:
Last Closed: 2011-01-12 13:20:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0016 0 normal SHIPPED_LIVE at bug fix update 2011-01-12 13:19:48 UTC

Description jmccann 2010-07-15 23:38:42 UTC
Noticed that on a normal boot the boot log contains two "OK" messages for the atd service.  This isn't normally seen on the screen because the messages are placed over the top of each other.  However, it confuses boot log parsers like the one in plymouth.

The issue is caused by /etc/init.d/at calling success after daemon.  daemon calls success itself.

Comment 2 RHEL Program Management 2010-07-15 23:57:33 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release. It has
been denied for the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 3 Marcela Mašláňová 2010-07-20 08:21:19 UTC
I have my init-script written according to Guideline [1]. I see your problem, but when I remove "useless" echo after daemon, then there will be ugly output, when you manually run restart of service in terminal. 

Also I check few other init-scripts and they are written in the same style. Shouldn't be all with problems marked?

[1] https://fedoraproject.org/wiki/Packaging:SysVInitScript#Initscript_template

Comment 12 Florian Nadge 2011-01-03 15:59:04 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, the initscript caused the "OK" message to be printed twice. With this update, the initscript behaves as expected and does no longer cause echos of messages.

Comment 14 errata-xmlrpc 2011-01-12 13:20:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0016.html


Note You need to log in before you can comment on or make changes to this bug.