DHCP, OpenVPN cannot be deactivated

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

DHCP, OpenVPN cannot be deactivated

Postby jayrock » Mon Mar 07, 2011 7:33 am

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

sgden
Posts: 10
Joined: Mon Mar 07, 2011 2:02 pm

Re: DHCP, OpenVPN cannot be deactivated

Postby sgden » Mon Mar 07, 2011 2:08 pm

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.

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: DHCP, OpenVPN cannot be deactivated

Postby jayrock » Mon Mar 07, 2011 2:17 pm

Thanks for the confirmation. I added this to the bug tracker: http://bugs.amahi.org/issues/show/783

/jayrock

rjwaldren
Posts: 71
Joined: Mon Jan 17, 2011 7:15 pm

Re: DHCP, OpenVPN cannot be deactivated

Postby rjwaldren » Thu Mar 17, 2011 4:51 pm

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.
Amahi 6.1 x86_64 ExpressCD - Intel D510MO, 2GB, Promise TX300
1x 500GB 2.5" WD Black (OS and LZ). Pool: 1x 1.5TB Samsung F2, 1x 1.5TB Samsung F3, 1x 2TB Samsung F4EG
Apps: uShare, uTorrent, Amahi Energy Saver

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: DHCP, OpenVPN cannot be deactivated

Postby jayrock » Thu Mar 17, 2011 10:00 pm

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

ressel
Posts: 3
Joined: Fri Feb 04, 2011 5:26 pm

Re: DHCP, OpenVPN cannot be deactivated

Postby ressel » Sun Apr 10, 2011 1:20 pm

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

kiwibean
Posts: 17
Joined: Sun Dec 05, 2010 7:29 am

Re: DHCP, OpenVPN cannot be deactivated

Postby kiwibean » Wed Apr 27, 2011 5:47 pm

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.

frankhaas
Posts: 18
Joined: Fri Dec 10, 2010 6:31 am

Re: DHCP, OpenVPN cannot be deactivated

Postby frankhaas » Sat Apr 30, 2011 7:25 am

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

rhubarb
Posts: 54
Joined: Wed May 05, 2010 1:59 pm

Re: DHCP, OpenVPN cannot be deactivated

Postby rhubarb » Thu May 19, 2011 10:50 am

I have the problem too: DHCP starts even though it is diabled in the dashboard

Peter

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: DHCP, OpenVPN cannot be deactivated

Postby bigfoot65 » Thu May 19, 2011 7:31 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 22 guests