What is the conclusion?

Examine these statements and their output taken right after successful install of Oracle Linux:
[root@FAROUT /] rpm –q firstboot
Firstboot -1.110.10-1.0.2.e16.x86_64
[root @FAROUT /] # chkconfig – – list firstboot
Firstboot 0:off 2:off 3:off 4:off 5:off 6;off
[root@FAROUT /] # /etc/sysconfig/firstboot
RUN_FIRSTBOOT=NO
What is the conclusion?

Examine these statements and their output taken right after successful install of Oracle Linux:
[root@FAROUT /] rpm –q firstboot
Firstboot -1.110.10-1.0.2.e16.x86_64
[root @FAROUT /] # chkconfig – – list firstboot
Firstboot 0:off 2:off 3:off 4:off 5:off 6;off
[root@FAROUT /] # /etc/sysconfig/firstboot
RUN_FIRSTBOOT=NO
What is the conclusion?

A.
The option to run firstboot was deselected during Oracle Linux installation.

B.
The system was installed with desktop graphical packages and rebooted and the firstboot utility
ran successful.

C.
Firstboot never ran in any run level because the service is turned off for all run levels.

D.
The system was installed without selecting desktop graphical packages, thereby disabling
firstboot from running.

Explanation:
Firstboot is set to off for all levels.
Example:
The rm command below remove or delate the firstboot file in order to make sure the firstboot
program running when we restart or reboot the Fedora machine.
[root@fedora ~]# rm /etc/sysconfig/firstboot
rm: remove regular file `/etc/sysconfig/firstboot’? y
[root@fedora ~]#
Then check and make sure that firstboot program or firstboot service is run when your Fedora
startup/boot up.
Check firstboot services
[root@fedora ~]# chkconfig –list firstboot
firstboot 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@fedora ~]#



Leave a Reply 10

Your email address will not be published. Required fields are marked *


the tuk-ITE'05 CON-KMITL

the tuk-ITE'05 CON-KMITL

B นะจ๊ะ

Oyindamola

Oyindamola

For OEL6 B is correct.

On OEL5, chkconfig –list firstboot shows on for runlevel 3 & 5.

*****

*****

Answer B.
Reason:
Firstboot is only available on systems after a graphical installation or after a kickstart installation where a desktop and the X window system were installed and graphical login was enabled. If you performed a text-mode installation or a kickstart installation that did not include a desktop and the X window system, the firstboot configuration tool does not appear.

The first time the system boots, the /sbin/init program calls the etc/rc.d/init.d/firstboot script, which in turn launches the Setup Agent. This application allows the user to install the latest updates as well as additional applications and documentation.

The /etc/sysconfig/firstboot file tells the Setup Agent application not to run on subsequent reboots. To run it the next time the system boots, remove /etc/sysconfig/firstboot and execute chkconfig –level 5 firstboot on.

roman

roman

B
The FirstBoot window appears if you chose to install the Desktop (graphical) packages. Installing the Desktop system reboots to runlevel 5 and the FirstBoot tool runs. Installing a Basic Server reboots to runlevel 3 (no graphics). FirstBoot does not run at runlevel 3, you are simply presented with a login prompt. The FirstBoot tool only runs after an initial installation and guides you through configuration tasks to perform:
License Agreement, Software Updates
Create User, Set Date and Time
Kdump Setup

Efrem

Efrem

So what you are saying that the rpm doesn’t get installed if you do a text install?

Otherwise I thought the answer would be C)

Solaris11

Solaris11

-B
The FirstBoot window appears if you chose to install the Desktop (graphical) packages.
Installing the Desktop system reboots to run level 5 and the FirstBoot tool runs. Installing a Basic Server reboots to run level 3 (no graphics). FirstBoot does not run at run level 3, you are simply presented with a login prompt. The FirstBoot tool runs only after an initial installation and guides you through configuration tasks to perform

some.guy

some.guy

The question says “output taken right after successful install”. Meaning, this *is* the first boot. If this is the first boot, and ‘firstboot’ is not running, then B is impossible. Since the ‘firstboot’ rpm was installed we must have installed the required dependencies (meaning, a graphical desktop), so D is impossible. Because this is the first boot, we haven’t had time to turn the service off, so C is impossible.

That leaves A. During a kickstart install you can issue a “firstboot –disable”.