Do a Sanity Check: Difference between revisions
No edit summary |
|||
Line 18: | Line 18: | ||
== Check Enabled Services == | == Check Enabled Services == | ||
Make sure you boot a recent ISO image and verify that the expected services are enabled at boot time. Be aware that the '''sshd''' and '''httpd''' services will not be enabled or running until the '''nstpasswd''' command is run. | Make sure you boot a recent ISO image and verify that the expected services are enabled at boot time. Be aware that the '''sshd''' and '''httpd''' services will not be enabled or running until the '''nstpasswd''' command is run. Run the following command and review the output produced. NOTE: The output shown below was produced after booting the NST ISO in VirtualBox and selecting the ''Console'' target and running ''nstpasswd''. | ||
[root@probe ~]# systemctl list-unit-files | grep "enabled " | grep service | sort | [root@probe ~]# systemctl list-unit-files | grep "enabled " | grep service | sort | ||
abrt-journal-core.service | abrt-journal-core.service enabled enabled | ||
abrt-oops.service | abrt-oops.service enabled enabled | ||
abrt-vmcore.service | abrt-vmcore.service enabled enabled | ||
abrt-xorg.service | abrt-xorg.service enabled enabled | ||
accounts-daemon.service | accounts-daemon.service enabled enabled | ||
dbus-daemon.service | dbus-daemon.service enabled enabled | ||
dkms.service | dkms.service enabled enabled | ||
getty@.service | getty@.service enabled enabled | ||
import-state.service | import-state.service enabled enabled | ||
irqbalance.service | irqbalance.service enabled enabled | ||
lightdm.service | lightdm.service enabled enabled | ||
lvm2-monitor.service | lvm2-monitor.service enabled enabled | ||
mcelog.service | mcelog.service enabled enabled | ||
ModemManager.service | ModemManager.service enabled enabled | ||
NetworkManager-dispatcher.service | NetworkManager-dispatcher.service enabled enabled | ||
NetworkManager.service | NetworkManager.service enabled enabled | ||
NetworkManager-wait-online.service | NetworkManager-wait-online.service enabled enabled | ||
nstboot.service | nstboot.service enabled enabled | ||
nstwui.service | nstwui.service enabled disabled | ||
pmcd.service enabled enabled | |||
pmcd.service | pmie.service enabled enabled | ||
pmie.service | pmlogger.service enabled enabled | ||
pmlogger.service | rsyslog.service enabled enabled | ||
rsyslog.service | rtkit-daemon.service enabled enabled | ||
rtkit-daemon.service | selinux-autorelabel-mark.service enabled enabled | ||
selinux-autorelabel-mark.service | smartd.service enabled enabled | ||
smartd.service | sshd.service enabled disabled | ||
sshd.service | sssd.service enabled enabled | ||
sssd.service | switcheroo-control.service enabled enabled | ||
switcheroo-control.service | systemd-boot-update.service enabled enabled | ||
systemd-homed-activate.service | systemd-confext.service enabled enabled | ||
systemd-homed.service | systemd-homed-activate.service enabled disabled | ||
systemd-network-generator.service | systemd-homed.service enabled enabled | ||
systemd-pstore.service | systemd-networkd-wait-online.service enabled enabled | ||
udisks2.service | systemd-network-generator.service enabled enabled | ||
upower.service | systemd-pstore.service enabled enabled | ||
vboxservice.service | systemd-sysext.service enabled enabled | ||
vgauthd.service | udisks2.service enabled enabled | ||
vmtoolsd.service | upower.service enabled enabled | ||
vboxservice.service enabled enabled | |||
vgauthd.service enabled disabled | |||
vmtoolsd.service enabled enabled | |||
[root@probe ~]# | [root@probe ~]# | ||
Latest revision as of 05:18, 7 May 2024
Prior to creating a release, one should perform the following sanity checks.
Note: In order to perform all of the sanity checks, you will need BOTH your NST development system and a running NST probe.
Commit
You should do a commit to ensure that you do not have any outstanding modifications.
svn commit
Build Yum Repository
Run the following from the top level directory to make certain that you can build and update all the RPM files that make up the NST repository.
sudo dnf clean all make repo-build
Check Enabled Services
Make sure you boot a recent ISO image and verify that the expected services are enabled at boot time. Be aware that the sshd and httpd services will not be enabled or running until the nstpasswd command is run. Run the following command and review the output produced. NOTE: The output shown below was produced after booting the NST ISO in VirtualBox and selecting the Console target and running nstpasswd.
[root@probe ~]# systemctl list-unit-files | grep "enabled " | grep service | sort abrt-journal-core.service enabled enabled abrt-oops.service enabled enabled abrt-vmcore.service enabled enabled abrt-xorg.service enabled enabled accounts-daemon.service enabled enabled dbus-daemon.service enabled enabled dkms.service enabled enabled getty@.service enabled enabled import-state.service enabled enabled irqbalance.service enabled enabled lightdm.service enabled enabled lvm2-monitor.service enabled enabled mcelog.service enabled enabled ModemManager.service enabled enabled NetworkManager-dispatcher.service enabled enabled NetworkManager.service enabled enabled NetworkManager-wait-online.service enabled enabled nstboot.service enabled enabled nstwui.service enabled disabled pmcd.service enabled enabled pmie.service enabled enabled pmlogger.service enabled enabled rsyslog.service enabled enabled rtkit-daemon.service enabled enabled selinux-autorelabel-mark.service enabled enabled smartd.service enabled enabled sshd.service enabled disabled sssd.service enabled enabled switcheroo-control.service enabled enabled systemd-boot-update.service enabled enabled systemd-confext.service enabled enabled systemd-homed-activate.service enabled disabled systemd-homed.service enabled enabled systemd-networkd-wait-online.service enabled enabled systemd-network-generator.service enabled enabled systemd-pstore.service enabled enabled systemd-sysext.service enabled enabled udisks2.service enabled enabled upower.service enabled enabled vboxservice.service enabled enabled vgauthd.service enabled disabled vmtoolsd.service enabled enabled [root@probe ~]#
You might only see the vboxservice.service entry if you are running under VirtualBox.
Verify That Documentation Builds
Make sure the docs directory builds. This is required to update the on-line version of the man pages for the release:
[root@dev repo]# cd docs [root@dev docs]# make
Run Automated Tests
Run the following from the top level to perform numerous checks on the running NST probe with the IP address specified.
make probe-check HOST=IP
There will be a LOT of output produced. A copy of the output will be saved to the file: "probe-check.log" which may be viewed using the command: "less -R probe-check.log". Make sure the file looks clean (or like you would expect). Make sure you aren't tempted to skip this step. We thought we were OK and skipped this step during the 1.8.1 release and ended up delivering a ISO image with a broken sym-link.