| Summary: | Firstboot cannot run in CLI | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | yu zheng <yuzheng> |
| Component: | subscription-manager | Assignee: | William Poteat <wpoteat> |
| Status: | CLOSED NOTABUG | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 5.8 | CC: | alikins, khong, mkhusid |
| Target Milestone: | beta | Keywords: | TestBlocker |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-16 15:23:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 715031 | ||
|
Description
yu zheng
2011-11-16 09:29:06 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 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]
(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? |