Bug 412401 - mkdiskless should return a valid value on the exit
Summary: mkdiskless should return a valid value on the exit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: system-config-netboot
Version: 4.6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Radek Vokál
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-05 16:54 UTC by Ondrej Valousek
Modified: 2008-07-24 19:33 UTC (History)
0 users

Fixed In Version: RHBA-2008-0672
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-24 19:33:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed patch (1.14 KB, patch)
2008-01-07 15:10 UTC, Radek Brich
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0672 0 normal SHIPPED_LIVE system-config-netboot bug fix and enhancement update 2008-07-23 14:48:48 UTC

Description Ondrej Valousek 2007-12-05 16:54:40 UTC
Description of problem:
When I create a diskless image for the first time after rsyncing using the
mkdiskless script, it says:
ls: ./root/etc/rc.d/rc*.d/[KS]*diskless: No such file or directory
which looks like an error and indeed mkdiskless returns a non-zero value. But
apparently, image has been created correctly.

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


How reproducible:


Steps to Reproduce:
1. rsync the OS image 
2. run mkdiskless
3. check the return value
  
Actual results:
non-zero

Expected results:
If mkdiskless succeeded, it should return zero (and possibly suppress the
confusing "ls" output)

Additional info:

Comment 1 Radek Brich 2008-01-07 15:10:29 UTC
Created attachment 290958 [details]
proposed patch

non-zero return value is caused by failing patch (the last), which should not
cause any problems (see #174629)

Comment 2 RHEL Program Management 2008-01-07 15:15:55 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 8 errata-xmlrpc 2008-07-24 19:33:15 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-2008-0672.html


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