Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143633 - net-misc/dhcp-3.0.3-r9 does not migrate /etc/conf.d/dhcp to dhcpd
Summary: net-misc/dhcp-3.0.3-r9 does not migrate /etc/conf.d/dhcp to dhcpd
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 21:25 UTC by Arthur Hagen
Modified: 2006-08-12 02:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Hagen 2006-08-11 21:25:22 UTC
The latest stable net-misc/dhcp (3.0.3-r9 at the time of posting this) uses /etc/conf.d/dhcp instead of /etc/conf.d/dhcpd as earlier versions.

Problem:  The settings are not merged, and the dhcp server will start with defaults instead of the previous settings.

Portage 2.1-r2 (selinux/2005.1/x86, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4
i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4 -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=pentium4 -momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox selinux sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://prometheus.cs.wmich.edu/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 berkdb caps crypt cups dri eds fam gdbm gif gnome gstreamer gtk idn ipv6 jpeg logrotate mad mbox mikmod mmap mmx motif ncurses nfs nis nls nptl offensive pam pcre perl pic png posix python qt4 readline sdl selinux spell spl sse sse2 ssl tcpd threads truetype vorbis x86 xml xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon video_cards_vesa"

Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 01:06:08 UTC
So, read the messages you get and do it?
<snip>
       if [[ -e "${ROOT}"/etc/init.d/dhcp ]] ; then
                ewarn
                ewarn "WARNING: The dhcp init script has been renamed to dhcpd"
                ewarn "/etc/init.d/dhcp and /etc/conf.d/dhcp need to be removed and"
                ewarn "and dhcp should be removed from the default runlevel"
                ewarn
        fi

        einfo "You can edit /etc/conf.d/dhcpd to customize dhcp settings."
        einfo
        einfo "If you would like to run dhcpd in a chroot, simply configure the"
        einfo "DHCPD_CHROOT directory in /etc/conf.d/dhcpd and then run:"
        einfo "  emerge --config =${PF}"
</snip>
Comment 2 Arthur Hagen 2006-08-12 01:52:25 UTC
That doesn't MIGRATE the existing settings, like most apps do when you upgrade them.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 02:08:38 UTC
It's not intended to migrate anything, it tells you exactly what to do when relevant.