Re: rc-local - How to enable ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 12/17/2015 02:32 PM, Joe Zeff wrote:
On 12/17/2015 01:20 PM, jd1008 wrote:

So, what does a user do in order to make the system start (execute)
/etc/rc.d/rc.local at (or shortly thereafter) boot up??

The rc-local.service is supposed to be automatically enabled if /etc/rc.d/rc.local exists and is executable.

systemctl status rc-local

will tell you if it is, and if it exited properly the last time it was invoked. (N.B. that it won't be invoked if you haven't rebooted after enabling it.)

$ sudo systemctl -l 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) <<<<< DISABLED ???? Active: active (exited) since Thu 2015-12-17 12:21:21 MST; 2h 16min ago <<<<< Active??? How??? It says it is disabled!!! I do have the executable /etc/rc.d/rc.local shell script.

Dec 17 12:21:18 localhost.localdomain polkitd[1221]: Loading rules from directory /usr/share/polkit-1/rules.d Dec 17 12:21:18 localhost.localdomain polkitd[1221]: Finished loading, compiling and executing 10 rules Dec 17 12:21:18 localhost.localdomain polkitd[1221]: Lost the name org.freedesktop.PolicyKit1 - exiting
Dec 17 12:21:19 localhost.localdomain rc.local[1166]: Setting cpu: 0
Dec 17 12:21:19 localhost.localdomain rc.local[1166]: Setting cpu: 1
Dec 17 12:21:19 localhost.localdomain rc.local[1166]: Setting cpu: 2
Dec 17 12:21:19 localhost.localdomain rc.local[1166]: Setting cpu: 3
Dec 17 12:21:21 localhost.localdomain rc.local[1166]: Failed to stop audit.service: Unit audit.service not loaded. Dec 17 12:21:21 localhost.localdomain rc.local[1166]: Failed to stop auditd.service: Operation refused, unit auditd.service may be requested by dependency only. Dec 17 12:21:21 localhost.localdomain systemd[1]: Started /etc/rc.d/rc.local Compatibility.

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux