Red Hat Bugzilla – Bug 1493545
Enable initscripts' services by default
Last modified: 2018-04-10 06:14:01 EDT
Hello! :) Description of problem: Previously, the initscripts package was using symlinks to automatically "register" services that should be started when system boots up. Nowadays, that should be managed by your package, via (if I'm not mistaken): /usr/lib/systemd/system-preset/90-default.preset We have fixed the initscripts to no longer use symlinks for these services: https://github.com/fedora-sysv/initscripts/pull/128 Please, enable these services by default: * brandbot.path * rhel-autorelabel.service * rhel-autorelable-mark.service * rhel-configure.service * rhel-dmesg.service * rhel-import-state.service * rhel-loadmodules.service * rhel-readonly.service More info: These services were enabled by default by initscripts in previous versions of RHEL-7. In order to keep the OS stable for our customers, we want these services to still remain enabled, unless decided otherwise in some other BZ/process. Short description of each service: * brandbot - Enables flexible Red Hat branding for RHEL * rhel-autorelabel - Relabels all filesystems if requested * rhel-autorelable-mark - Marks the need to relabel after reboot * rhel-configure - Reconfigures the system if requested * rhel-dmesg - Dumps the dmesg into /var/log/dmesg * rhel-domainname - Reads & set the NIS domain name (from /etc/sysconfig/network) * rhel-import-state - Imports network configuration from initramfs * rhel-loadmodules - Loads legacy modules' configuration * rhel-readonly - Configures the read-only root support Thank you! :) -- Dee'Kej --
(In reply to David Kaspar [Dee'Kej] from comment #0) > Please, enable these services by default: > * brandbot.path > * rhel-autorelabel.service > * rhel-autorelable-mark.service > * rhel-configure.service > * rhel-dmesg.service > * rhel-import-state.service > * rhel-loadmodules.service > * rhel-readonly.service This list is missing one more service: > * rhel-domainname.service I have described it in the comment #0: * rhel-domainname - Reads & set the NIS domain name (from /etc/sysconfig/network)
Hi, rhel-domainname.service is still disabled on RHEL-7.5-20171130.0 with redhat-release-server-7.5-3.el7. The other services are enabled and started as expected.
(In reply to Peter Kotvan from comment #10) > Hi, rhel-domainname.service is still disabled on RHEL-7.5-20171130.0 with > redhat-release-server-7.5-3.el7. The other services are enabled and started > as expected. From the redhat-release-7.5-0.14.el7 package I can see this in 90-default.preset: # https://bugzilla.redhat.com/show_bug.cgi?id=1493545 enable rhel-autorelabel.service enable rhel-autorelable-mark.service enable rhel-configure.service enable rhel-dmesg.service enable rhel-import-state.service enable rhel-loadmodules.service enable rhel-readonly.service Indeed the rhel-domainname.service is missing here... Seems like my comment #2 was missed.
This could have been dropped with the rollback from redhat-release -> redhat-release-server. I'll check it Lubos
Fixed sorry, will be in snap-3
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:0700