Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
Old 13th July 2012, 04:28 AM
SRA223 Offline
Registered User
Join Date: Jun 2012
Location: United States
Posts: 1
Post DNSCrypt at launch [SOLVED]

First time posting on the forum so I apologize if I leave out anything. I recently installed dnscrypt for Fedora and it is working fine. But I have to start it with the /usr/sbin/dnscrypt-proxy –daemonize command. I would ike to automate this. If I enter it in the terminal everything runs fine. However if I create a rc.local file that looks like this my boot process locks up on the fedora logo. I then have to use a live disk to delete rc.local to boot properly.

/usr/sbin/dnscrypt-proxy –daemonize
exit 0

So my question is how can I get this command to run at boot. I am using linux to learn more about computers so I am willing to try any method, I just need pointed in the right direction. I made sure to run systemctl enable rc-local.service but recieve the following error: "The unit files have no [Install] section. They are not meant to be enabled using systemctl"

When I run systemctl status rc-local.service I recieve the following output:

rc-local.service - /etc/rc.d/rc.local Compatibility
Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static)
Active: inactive (dead)
CGroup: name=systemd:/system/rc-local.service

If I remove exit 0 from rc.local I get the same result.

When Fedora is booting if I hit F2 I can see that everything is getting the green [ ok ] except.

[FAILED] Failed to start LSB: init script for TCSD
[FAILED] Failed to start A Perl Client Used To Update Dynamic DNS
the lockup occurs at
[ok] Started Cleanup of Temporary Directories

*****Okay I made some more headway*******
I switched to arch and used the same script in rc.local, what happened is the service did start however the start up stopped after the service started. Just like when you launch firefox in the terminal by just typing firefox and cannot type any commands after it. What I did on arch was I just added & after /usr/sbin/dnscrypt-proxy –daemonize. Now everything is working here is an example of the working script (again this was on arch):

/usr/sbin/dnscrypt-proxy –daemonize &
exit 0

Last edited by SRA223; 19th July 2012 at 09:28 PM. Reason: Additional information
Reply With Quote

dnscrypt, launch, rc.local, startup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE launch failure Tikhon03 Using Fedora 3 9th March 2012 10:42 PM
KDE will not launch Tikhon03 Using Fedora 16 21st August 2010 11:52 AM
OOo won't launch JohnJasonJordan Using Fedora 4 19th January 2010 11:59 PM
Shuttle Launch rerushg Wibble 6 9th August 2007 11:44 PM
Quick Launch thesoracle Using Fedora 3 3rd June 2006 07:51 AM

Current GMT-time: 20:27 (Friday, 22-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat