[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-04-20 Thread Colin Watson
cjwatson jhunt: is anything happening with bug 580319 for 11.04?
jhunt not at the present. I spoke to Daviey earlier and since we are unsure 
if it occurs with isc-dhcp (v4) at this stage, we don't think it's in the 
running.
jhunt Presumably the milestone might need changing?
cjwatson jhunt: yes, that sounds like a good idea if it's no longer believed 
to occur
cjwatson probably simply unmilestone it

** Changed in: dhcp3 (Ubuntu Natty)
Milestone: ubuntu-11.04 = None

** Changed in: upstart (Ubuntu Natty)
Milestone: ubuntu-11.04 = None

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-04-19 Thread carloslp
And what happens with users of Ubuntu 10.04 LTS???

I am running a server with Ubuntu 10.04 *LTS* which I thought that was
supported for up to 5 years and now you are telling me that you will not
fix this because you are replacing dhcp3 with dhcp4 on the next Ubuntu
release?  Isn't this crazy?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-04-19 Thread Clint Byrum
Carlos, apologies if our status change has alarmed you. The status is
invalid in Natty only, because its been removed from natty.

Notice that it is status == Triaged in Lucid which means we plan to
fix it. I've also targetted it at 10.04.3, which is the next stable
point release for 10.04.

This is actually good news for an update to 10.04 because it means the
fix can be done since it is resolved in the development release. We
always make sure that the dev release is resolved first so that the
issue does not regress in future releases.

Note that you can work around the issue by changing /etc/init/rc-
sysinit.conf to be

start on filesystem and started networking

But of course, *TEST* that configuration fully before putting it into
production!

** Changed in: dhcp3 (Ubuntu Lucid)
Milestone: None = ubuntu-10.04.3

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-04-19 Thread carloslp
That finally fixed the issue. I had tested it and now dhcp3-server
starts properly at boot.  Thanks!

Nevertheless smbd daemon still fails to bind to the interface and I had
to start it manually.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-04-18 Thread Dave Walker
dhcp3 is no longer in Natty archive, it's been replaced by a
transitional package to isc-dhcp (v4), marking Natty task invalid for
dhcp3.

** Changed in: dhcp3 (Ubuntu Natty)
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-04-15 Thread Colin Watson
** Changed in: dhcp3 (Ubuntu Natty)
Milestone: ubuntu-11.04-beta-2 = ubuntu-11.04

** Changed in: upstart (Ubuntu Natty)
Milestone: ubuntu-11.04-beta-2 = ubuntu-11.04

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-04-15 Thread Dave Walker
Please can someone confirm if they have encountered this with isc-dhcp
(v4)?

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-04-02 Thread Colin Watson
** Changed in: upstart (Ubuntu Natty)
Milestone: ubuntu-11.04-beta-1 = ubuntu-11.04-beta-2

** Changed in: dhcp3 (Ubuntu Natty)
Milestone: ubuntu-11.04-beta-1 = ubuntu-11.04-beta-2

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-03-15 Thread carloslp
I am running a server with Ubuntu 10.04 LTS and I switched eth0 into br0
in order to be able to use it as a bridge for OpenVPN TAP device.

Since I did the change dhcpd refuses to start at boot time with this
message but not only dhcp fails, also Samba stop working.

Both nmbd and smbd daemons (from Samba) don't bind the tcp ports to the
interface correctly at boot time and a manual restart is required.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-03-14 Thread Clint Byrum
I spoke with Keybuk briefly about changing the startup conditions for
runlevel 2, and he warned that there may be one unforseen circumstance.

Its possible right now to have a sysvinit script that supports a network
interface coming up. Meaning that there may be an interface that will
spin while coming up until a sysvinit daemon starts, blocking ifup -a
from completing (and therefor delaying 'started networking'). This can
happen because we start runlevel 2 as soon as we have a loopback device,
so ifup continues beyond that in parallel with sysvinit.

So, we may need to review all ifup pre/post scripts to make sure they
don't wait on sysvinit scripts, and if they do, change them to fork into
the background to do so. We'd also need to document this behavioral
change in the release notes so people can test any custom setups before
upgrade.

On Mon, 2011-03-14 at 23:37 +, Dave Walker wrote:
 Does this specific issue also relate to isc-dhcp ?


-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-03-11 Thread Dave Walker
** Tags added: server-nro

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-03-02 Thread Robbie Williamson
** Changed in: upstart (Ubuntu Natty)
 Assignee: Canonical Foundations Team (canonical-foundations) = Robbie 
Williamson (robbie.w)

** Changed in: upstart (Ubuntu Natty)
 Assignee: Robbie Williamson (robbie.w) = James Hunt (jamesodhunt)

** Changed in: upstart (Ubuntu Natty)
   Status: New = Triaged

** Changed in: upstart (Ubuntu Natty)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-03-01 Thread Martin Pitt
If we are going to change the rc-sysinit startup condition, this needs
to happen before beta-1.

** Changed in: upstart (Ubuntu Natty)
Milestone: None = ubuntu-11.04-beta-1

** Changed in: upstart (Ubuntu Natty)
 Assignee: (unassigned) = Canonical Foundations Team 
(canonical-foundations)

** Changed in: dhcp3 (Ubuntu Natty)
Milestone: natty-alpha-3 = ubuntu-11.04-beta-1

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-03-01 Thread Brian Murray
Adding a Lucid task as I've run into this on Lucid.

** Also affects: dhcp3 (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Also affects: upstart (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Changed in: dhcp3 (Ubuntu Lucid)
   Importance: Undecided = Medium

** Changed in: dhcp3 (Ubuntu Lucid)
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-02-25 Thread Dave Walker
** Changed in: dhcp3 (Ubuntu Natty)
Milestone: None = natty-alpha-3

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-02-25 Thread Clint Byrum
Seems to me that the appropriate time to start dhcpd is when all of the
devices it is configured on are up.

The issue here is that /etc/rc2.d/S* are run after this condition is
met:


start on filesystem and net-device-up IFACE=lo


Because ifup -a is run in parallel with mountall essentially this is a race 
between ifup -a bringing up its interfaces and all filesystems mounting. It 
probably works fine w/ a regular ethernet interface, but like the reporter 
says, this takes a bit longer for a bridge.

We probably do need to move dhcp server to upstart, *or* rethink the
start on for rc-sysinit. In fact, since lo is always configured when
ifup -a is run, and 'started networking' is emitted after ifup -a exits
with success, it would make sense to change rc-sysinit to this:

start on filesystem and started networking

This would probably solve a lot of issues with server network services
that need all interfaces to be up and configured. On the desktop, this
could slow the boot by the time between emitting 'net-device-up' for lo
and ifup -a exitting.. which I would suspect is in the ballpark of a
few milliseconds at the most. However there are plenty of other things
happening in parallel at this point so its not a total loss.

This is a somewhat radical change, and probably not going to be SRU-
able. For the stable releases, it may be better for users to modify
/etc/init/rc-sysinit.conf themselves to enact this behavior now.

** Also affects: upstart (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2011-02-25 Thread Clint Byrum
Adding upstart task since rc-sysinit.conf is owned by the upstart
package, and IMO, its running too soon.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus
  failing to start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-12-14 Thread Ben Selinger
Confirmed here as well.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus failing to 
start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-12-12 Thread rafalmag
I wrote such upstart script :

description Dhcp server
author Rafal Magda

start on filesystem and net-device-up IFACE=br0
stop on runlevel[!2345]

respawn

expect fork
exec dhcpd3

Put in in /etc/init/dhcp.conf
dhcpd will be started when interface br0 will be up.

Iface (br0) should be the same as in /etc/default/dhcp3-server . Maybe
there is way to put it there automatically... ?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.
https://bugs.launchpad.net/bugs/580319

Title:
  dhcp3-server launches before upstart brings all interface, thus failing to 
start

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-11-29 Thread Brian Murray
** Also affects: dhcp3 (Ubuntu Natty)
   Importance: Medium
   Status: Confirmed

** Changed in: dhcp3 (Ubuntu Natty)
   Status: Confirmed = Triaged

** Changed in: dhcp3 (Ubuntu Maverick)
   Status: Confirmed = Triaged

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-11-19 Thread Rubens de Souza Matos Júnior
The workaround pointed out by Ian McMichael  worked for me, using Ubuntu
Server 10.04 (Lucid).

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-10-25 Thread Brian Murray
** Also affects: dhcp3 (Ubuntu Maverick)
   Importance: Undecided
   Status: New

** Changed in: dhcp3 (Ubuntu Maverick)
   Status: New = Confirmed

** Changed in: dhcp3 (Ubuntu Maverick)
   Importance: Undecided = Medium

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-10-16 Thread KBios
Please note that simply making an upstart config file starting on
started networking will NOT work, as that signal is emitted before
bridges are brought up. The problem may be solved by integrating upstart
conversion with Ian McMichael solution, and making dhcp3 start when net-
device-up has been emitted for the interfaces specified in
/etc/default/dhcp3-server.

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-10-05 Thread Ian McMichael
Confirmed as still being an issue on a fresh installation of Maverick
(10.10) RC AM64 server.

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-10-05 Thread Ian McMichael
As another proposed workaround, I have found that editing /etc/init/rc-
sysinit.conf to change the line:

start on filesystem and net-device-up IFACE=lo

to:

start on filesystem and net-device-up IFACE=br0

also appears to produce the desired result by delaying running of legacy
/etc/init.d scripts until after the bridge interface comes up.  I am not
sure if this will have any other undesirable effects and clearly it
would not work on a system without a bridge configured.

The best solution still has to be to migrate dhcp3-server to upstart but
I hope this helps someone else out in the interim.

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-08-25 Thread Nick_Hill
Perhaps the best way to fix this is to make a
/etc/init/dhcp3-server.conf file for upstart,, and remove
/etc/rc2.d/Sxxdhcp3-server.

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-07-24 Thread Dan Dofton
My work-around for this problem was to remove network-manager, then
configure /etc/networking/interfaces.

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-06-30 Thread Ulrik Hørlyk Hjort
I made the following (hmm ... ugly ) workaround on my system until an
update for dhcp3 is available:

Install a service for following python script in init.d. The script will
spin until the bridge interface is up and running (looking for the
routing table) and will the start the dhcp server. Remember to change
your bridge interface name in the line:

  find_res = res.find(dev br0)

if it is different from dr0


/Ulrik



#!/usr/bin/python

import os
import subprocess

cmd = ip route ls

find_res = -1

while find_res == -1:   
   
  p = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, 
stdout=subprocess.PIPE, close_fds=True)

  fin, fout = p.stdin, p.stdout

  res = fout.read()

  find_res = res.find(dev br0)

  time.sleep(1)

os.system(/etc/init.d/dhcp3-server start)

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-05-17 Thread Chuck Short
Thanks for the bug report, Ill take a closer look at this.

Regards
chuck

** Changed in: dhcp3 (Ubuntu)
   Importance: Undecided = Medium

** Changed in: dhcp3 (Ubuntu)
   Status: New = Confirmed

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580319] Re: dhcp3-server launches before upstart brings all interface, thus failing to start

2010-05-13 Thread Michael R. Head
Relevant section of /var/log/syslog showing failure of dhcp3 server to
start

** Attachment added: /var/log/syslog section
   http://launchpadlibrarian.net/48427309/syslog

-- 
dhcp3-server launches before upstart brings all interface, thus failing to start
https://bugs.launchpad.net/bugs/580319
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs