Re: rc.local not loaded on boot

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

 



On Mon, 2012-03-26 at 11:18 +1000, Michael D. Setzer II wrote: 
> On 26 Mar 2012 at 1:57, Ed Greshko wrote:
> 
> Date sent:      	Mon, 26 Mar 2012 01:57:58 +0800
> From:           	Ed Greshko <Ed.Greshko@xxxxxxxxxxx>
> To:             	Community support for Fedora users 
> <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Subject:        	Re: rc.local not loaded on boot
> Send reply to:  	Community support for Fedora users 
> <users@xxxxxxxxxxxxxxxxxxxxxxx>
> > On 03/26/2012 01:34 AM, David G. Miller wrote:
> > > You need to enable the service through systemctl.  Here's a long
> > > discussion that looks at quite a few of the things that can affect
> > > getting rc.local functional.
> > >  Quite a bit more to it than just putting a script there:
> > 
> > Well....
> > 
> > I did nothing else other than create a /etc/rc.d/rc.local ...
> > 
> > [egreshko@f16-1 rc.d]$ ll
> > total 36
> > drwxr-xr-x. 2 root root 4096 Mar  8 01:44 init.d
> > drwxr-xr-x. 2 root root 4096 Mar  8 01:44 rc0.d
> > drwxr-xr-x. 2 root root 4096 Mar  8 01:44 rc1.d
> > drwxr-xr-x. 2 root root 4096 Mar  8 01:44 rc2.d
> > drwxr-xr-x. 2 root root 4096 Mar  8 01:44 rc3.d
> > drwxr-xr-x. 2 root root 4096 Mar  8 01:44 rc4.d
> > drwxr-xr-x. 2 root root 4096 Mar  8 01:44 rc5.d
> > drwxr-xr-x. 2 root root 4096 Mar  8 01:44 rc6.d
> > -rwxr-xr-x. 1 root root   39 Mar 25 23:36 rc.local
> > 
> > with
> > 
> > #!/bin/sh -e
> > 
> > #exit 0
> > 
> > touch /tmp/XXXX
> > 
> > 
> > And it on reboot a file with name XXXX was in /tmp
> > 
> > [egreshko@f16-1 rc.d]$ ll /tmp/XXXX
> > -rw-r--r--. 1 root root 0 Mar 25 23:37 /tmp/XXXX
> 
> what does 
> systemctl status rc-local.service shows?
> try
> systemctl enable rc-local.service show?

both the above statements fail with and error messagwe : No such file or
directory.


-- 
=======================================================================
Get hold of portable property. -- Charles Dickens, "Great Expectations"
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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