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@lists.fedoraproject.org
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

Reply via email to