Page 1 of 1

DHCP, OpenVPN cannot be deactivated

Posted: Mon Mar 07, 2011 7:33 am
by jayrock
Hi,

this issue doesn't seem to have a natural place to go, so I put it cause it's related to DHCP service.

I cannot deactivate the service anymore. In the dashboard, the two checkboxes "Watchdog... " and "Start at boot time..." are of course deactivated. I can see in the logs however that dhcpd is started. When I stop it via dashboard, it is restarted shortly after. Same if I stop it via terminal.

It seems as if there is still some watchdog active restarting the service.

All on Amahi 6 / F14. Note that OpenVPN shows the same behaviour.

Any clues? Which logs are required? (If I knew where to search I had probably figured out myself already..)

If, however, anyone can confirm this pattern I'll just file a bug.

Cheers,
jayrock

Re: DHCP, OpenVPN cannot be deactivated

Posted: Mon Mar 07, 2011 2:08 pm
by sgden
Yes, I can confirm that behaviour - at least for the DHCP service.

I did find a work-around until this gets fixed.
If you enable, then disable the check-boxes (Watchdog and start at boot-up), then kill the service, it stays stopped. If you reboot, you have to do this over again.

Re: DHCP, OpenVPN cannot be deactivated

Posted: Mon Mar 07, 2011 2:17 pm
by jayrock
Thanks for the confirmation. I added this to the bug tracker: http://bugs.amahi.org/issues/show/783

/jayrock

Re: DHCP, OpenVPN cannot be deactivated

Posted: Thu Mar 17, 2011 4:51 pm
by rjwaldren
Hmmm... Thought I was going crazy, I noticed this in the RC's leading up to release but never had the time to T/S and I've been working on other things recently.

I noted that after disabling the DHCP and DNS services - they would come back up a day or so later. I started checking occasionally but never found what was triggering it, I assumed it stemmed from the update scripts in some way, but never dug into it.

Re: DHCP, OpenVPN cannot be deactivated

Posted: Thu Mar 17, 2011 10:00 pm
by jayrock
Thanks rjwaldren.

I think it's important that people who are affected by this post it here, so that we can demonstrate the relevance of this issue.

/jayrock

Re: DHCP, OpenVPN cannot be deactivated

Posted: Sun Apr 10, 2011 1:20 pm
by ressel
yeah i hate this too!

i have just removed the dnsmasq package, and messed up with the config file to dhcp, so that it will not start.

This is really annoying :P

Re: DHCP, OpenVPN cannot be deactivated

Posted: Wed Apr 27, 2011 5:47 pm
by kiwibean
Same issue here. I'm able to turn off DHCP through the web console, but on reboot it comes on again. Both watchdog and start at boot time are unchecked.

Re: DHCP, OpenVPN cannot be deactivated

Posted: Sat Apr 30, 2011 7:25 am
by frankhaas
can i uninstall the dhcp-service ?? i have same issues. when my server reboots (power-failure) i have troubles with my disabled-dhcp :(

plz help!
thx

Re: DHCP, OpenVPN cannot be deactivated

Posted: Thu May 19, 2011 10:50 am
by rhubarb
I have the problem too: DHCP starts even though it is diabled in the dashboard

Peter

Re: DHCP, OpenVPN cannot be deactivated

Posted: Thu May 19, 2011 7:31 pm
by bigfoot65
To permanently stop DHCP from starting on reboot, do the following as root user in terminal:

/sbin/service dhcpd stop
/sbin/chkconfig dhcpd off

This should prevent it from restart. You can do this with any service in Fedora that you do not want running or want to start on boot.

Also request you file a bug so we can try to track this one done and fix it properly.