LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-15-2020, 04:11 PM   #1
edwardsmarkf
LQ Newbie
 
Registered: Dec 2018
Posts: 7

Rep: Reputation: Disabled
Redhat-8 display "active (dead)" state when checking rc.local status


hello -

On a new install of Redhat-8 on the Google-cloud, I get an "inactive (dead)" when checking the status of rc-local:

Quote:
# systemctl status rc-local ;
● rc-local.service - /etc/rc.d/rc.local Compatibility
Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static; vendor preset: disabled)
Active: inactive (dead)
Docs: man:systemd-rc-local-generator(8)
this is easily fixed by doing:
Code:
chmod 744 /etc/rc.d/rc.local ;
systemctl start rc-local;  ##
is this any sort of issue to consider?

Last edited by edwardsmarkf; 01-15-2020 at 04:53 PM.
 
Old 01-15-2020, 06:48 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,031
Blog Entries: 27

Rep: Reputation: 4778Reputation: 4778Reputation: 4778Reputation: 4778Reputation: 4778Reputation: 4778Reputation: 4778Reputation: 4778Reputation: 4778Reputation: 4778Reputation: 4778
Have you contacted RHEL support regarding this?
 
Old 01-15-2020, 07:01 PM   #3
edwardsmarkf
LQ Newbie
 
Registered: Dec 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
Red face

Quote:
Originally Posted by frankbell View Post
Have you contacted RHEL support regarding this?
no, usually when i do something like that, they tell me to go RTFM, whatever that means.
 
Old 01-15-2020, 07:50 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,692

Rep: Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215
No it isn't an issue because basically systemd is creating a service to be backwards compatible with sysv init scripts. With sysv rc.local was the last script to run before the GUI started or you saw the login prompt. It was/is also a quick way to run a command at boot up without creating a specific init script which has to conform to a particular form. The service is there to run the script at the right time and therefore it needs to running as well as rc.local being executable. Neither rc.local service or rc.local script are configured to run by default.

RTFM - Read The "Fine" Manual

Last edited by michaelk; 01-15-2020 at 08:29 PM.
 
  


Reply

Tags
redhat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deluge leaves torrents in "ERROR" state after checking comcastuser Linux - Software 0 09-21-2018 06:44 AM
Can we make Active/Active (Clone) resource for a local installed application z_haseeb Red Hat 2 12-05-2017 10:31 PM
"Checking battery state" hang when killing gdm to install Nvidia drivers Takara Ubuntu 1 08-08-2009 06:27 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
Dead Display = Dead Machine chris319 Linux - Hardware 1 12-05-2003 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration