Bug 754360 - Firstboot cannot run in CLI
Summary: Firstboot cannot run in CLI
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.8
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: beta
: ---
Assignee: William Poteat
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 715031
TreeView+ depends on / blocked
 
Reported: 2011-11-16 09:29 UTC by yu zheng
Modified: 2011-11-18 06:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-16 15:23:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description yu zheng 2011-11-16 09:29:06 UTC
Description of problem:
Firstboot can't be started.

Version-Release number of selected component (if applicable):
subscription-manager-gnome-0.98.2-1.el5
subscription-manager-0.98.2-1.el5
subscription-manager-firstboot-0.98.2-1.el5
python-rhsm-0.98.2-1.el5

How reproducible:
always

Steps to Reproduce:
1.Start firstboot
# firstboot
  
Actual results:
An error msg "firstboot cannot run, exiting" displays.

Expected results:
Firstboot UI should dispaly.

Comment 1 Adrian Likins 2011-11-16 15:23:43 UTC
If firstboot has already ran, there will be a /etc/sysconfig/firstboot file
created. If this file exists, you will get the error mentioned.

fix is:
rm -rf /etc/sysconfig/firstboot

Comment 2 Mike Khusid 2011-11-17 15:07:09 UTC
or simply run 
# firstboot -r

# firstboot --help
Usage: firstboot [options]

Options:
  -h, --help            show this help message and exit
<snip>
  -r, --reconfig        enable reconfiguration mode
  -t, --test            only test, don't configure the system
  --themeDir=THEMEDIR   set the directory containing the theme [default:
                        /usr/share/firstboot/themes/RHEL]

Comment 3 Keqin Hong 2011-11-18 06:10:23 UTC
(In reply to comment #2)
> or simply run 
> # firstboot -r
> 
> # firstboot --help
> Usage: firstboot [options]
> 
> Options:
>   -h, --help            show this help message and exit
> <snip>
>   -r, --reconfig        enable reconfiguration mode
>   -t, --test            only test, don't configure the system
>   --themeDir=THEMEDIR   set the directory containing the theme [default:
>                         /usr/share/firstboot/themes/RHEL]

Thanks Mike. It seems above only work for RHEL6.
There's no option for firstboot on RHEL5.8, even --help is not supported according to my try.

Adrian's approach of removing /etc/sysconfig/firstboot file does work. The original bug was reported because on RHEL 6.2 we could open firstboot without removing that file or using --reconfig option. Is it a 6.2 bug?


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