Menu

Can dnsmasq work instead of dhcpd?

2009-05-19
2013-04-05
  • Robert J Townley

    On a Fedora Core 9 machine, i am trying to use libvirt virtual machine.  It is the virtual machine packaged from Yum.  It seems to have a dependency on dnsmasq.  dnsmasq provides its own dhcp service which of course is a little problematic because CloneZilla is using dhcpd. 

    What do you do when you want to run libvirt on the same machine as CloneZilla?

    Loaded plugins: refresh-packagekit
    Setting up Remove Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package dnsmasq.i386 0:2.45-1.fc9 set to be erased
    --> Processing Dependency: dnsmasq for package: NetworkManager
    --> Processing Dependency: dnsmasq for package: libvirt
    --> Running transaction check
    ---> Package NetworkManager.i386 1:0.7.1-1.fc9 set to be erased
    --> Processing Dependency: NetworkManager = 1:0.7.1-1.fc9 for package: NetworkManager-glib
    --> Processing Dependency: NetworkManager = 1:0.7.1-1.fc9 for package: NetworkManager-gnome
    ---> Package libvirt.i386 0:0.5.1-2.fc9 set to be erased
    --> Processing Dependency: libvirt.so.0 for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.0.3) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.0.5) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.0) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.1) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.4) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.5) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.9) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.2.0) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.2.1) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.2.3) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.3.0) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.3.2) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.3.3) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.4.0) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.4.1) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.4.5) for package: libvirt-python
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.5.0) for package: libvirt-python
    --> Processing Dependency: libvirt = 0.5.1 for package: libvirt-python
    --> Running transaction check
    ---> Package NetworkManager-glib.i386 1:0.7.1-1.fc9 set to be erased
    --> Processing Dependency: libnm_glib.so.0 for package: krb5-auth-dialog
    --> Processing Dependency: libnm_glib.so.0 for package: PackageKit
    --> Processing Dependency: libnm_glib.so.0 for package: evolution
    ---> Package NetworkManager-gnome.i386 1:0.7.1-1.fc9 set to be erased
    ---> Package libvirt-python.i386 0:0.5.1-2.fc9 set to be erased
    --> Processing Dependency: libvirt-python >= 0.4.5 for package: virt-manager
    --> Processing Dependency: libvirt-python >= 0.4.5-2.fc9 for package: python-virtinst
    --> Running transaction check
    ---> Package PackageKit.i386 0:0.3.12-1.fc9 set to be erased
    --> Processing Dependency: PackageKit = 0.3.12-1.fc9 for package: PackageKit-yum
    --> Processing Dependency: PackageKit = 0.3.12-1.fc9 for package: PackageKit-glib
    --> Processing Dependency: PackageKit for package: PackageKit-udev-helper
    --> Processing Dependency: PackageKit for package: PackageKit-yum-plugin
    --> Processing Dependency: PackageKit >= 0.3.11 for package: gnome-packagekit
    ---> Package evolution.i386 0:2.22.3.1-1.fc9 set to be erased
    --> Processing Dependency: evolution = 2.22.3.1-1.fc9 for package: evolution-help
    ---> Package krb5-auth-dialog.i386 0:0.7-7.fc9 set to be erased
    ---> Package python-virtinst.noarch 0:0.400.0-1.fc9 set to be erased
    ---> Package virt-manager.i386 0:0.6.0-1.fc9 set to be erased
    --> Running transaction check
    ---> Package PackageKit-glib.i386 0:0.3.12-1.fc9 set to be erased
    --> Processing Dependency: PackageKit-glib = 0.3.12-1.fc9 for package: PackageKit-gstreamer-plugin
    ---> Package PackageKit-udev-helper.i386 0:0.3.12-1.fc9 set to be erased
    ---> Package PackageKit-yum.i386 0:0.3.12-1.fc9 set to be erased
    ---> Package PackageKit-yum-plugin.i386 0:0.3.12-1.fc9 set to be erased
    ---> Package evolution-help.i386 0:2.22.3.1-1.fc9 set to be erased
    ---> Package gnome-packagekit.i386 0:0.3.12-3.fc9 set to be erased
    --> Running transaction check
    ---> Package PackageKit-gstreamer-plugin.i386 0:0.3.12-1.fc9 set to be erased
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================================================
    Package                        Arch      Version            Repository    Size
    ================================================================================
    Removing:
    dnsmasq                        i386      2.45-1.fc9         installed    351 k
    Removing for dependencies:
    NetworkManager                 i386      1:0.7.1-1.fc9      installed    3.1 M
    NetworkManager-glib            i386      1:0.7.1-1.fc9      installed    356 k
    NetworkManager-gnome           i386      1:0.7.1-1.fc9      installed    1.1 M
    PackageKit                     i386      0.3.12-1.fc9       installed    1.1 M
    PackageKit-glib                i386      0.3.12-1.fc9       installed    305 k
    PackageKit-gstreamer-plugin    i386      0.3.12-1.fc9       installed    136 k
    PackageKit-udev-helper         i386      0.3.12-1.fc9       installed    126 k
    PackageKit-yum                 i386      0.3.12-1.fc9       installed    333 k
    PackageKit-yum-plugin          i386      0.3.12-1.fc9       installed    128 k
    evolution                      i386      2.22.3.1-1.fc9     installed     39 M
    evolution-help                 i386      2.22.3.1-1.fc9     installed     52 M
    gnome-packagekit               i386      0.3.12-3.fc9       installed    9.0 M
    krb5-auth-dialog               i386      0.7-7.fc9          installed     52 k
    libvirt                        i386      0.5.1-2.fc9        installed    6.1 M
    libvirt-python                 i386      0.5.1-2.fc9        installed    310 k
    python-virtinst                noarch    0.400.0-1.fc9      installed    979 k
    virt-manager                   i386      0.6.0-1.fc9        installed    4.5 M

    Transaction Summary

    Install      0 Package(s)        
    Update       0 Package(s)        
    Remove      18 Package(s)        

    Is this ok [y/N]: Exiting on user Command
    Complete!

     
    • Steven Shiau

      Steven Shiau - 2009-05-20

      DRBL does need dhcpd, not sure the one from dnsmasq can provide the same function which dhcpd has. One more thing, /etc/dhcpd.conf is required for DRBL, since a lot of programs from DRBL will parse the file /etc/dhcpd.conf. Does the service dnsmasq use /etc/dhcpd.conf ? Or it uses another config file ?

      Steven.

       

Log in to post a comment.

MongoDB Logo MongoDB