Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145753 - dhcpcd-2.0.5-r1 init script appears not start
Summary: dhcpcd-2.0.5-r1 init script appears not start
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-31 12:25 UTC by Michele Schiavo
Modified: 2006-09-04 04:46 UTC (History)
0 users

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


Attachments
/etc/conf.d/dhcpd (dhcpd,1.06 KB, text/plain)
2006-09-04 03:53 UTC, Michele Schiavo
Details
/etc/dhcp/dhcpd.conf (dhcpd.conf,1.39 KB, text/plain)
2006-09-04 03:54 UTC, Michele Schiavo
Details
/etc/conf.d/net (net,199 bytes, text/plain)
2006-09-04 04:36 UTC, Michele Schiavo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Schiavo 2006-08-31 12:25:27 UTC
/etc/init.d/dhcpd start
 * Starting chrooted dhcpd ...                                            [ !! ]



tail /var/log/messages
Aug 31 21:23:25 nocona dhcpd: DHCPACK on 192.168.26.12 to 00:50:56:00:00:12 via eth0
Aug 31 21:23:25 nocona dhcpd: DHCPREQUEST for 192.168.26.12 (192.168.26.252) from 00:50:56:00:00:12 via eth0
Aug 31 21:23:25 nocona dhcpd: DHCPACK on 192.168.26.12 to 00:50:56:00:00:12 via eth0
Aug 31 21:23:25 nocona dhcpd: DHCPREQUEST for 192.168.26.12 (192.168.26.252) from 00:50:56:00:00:12 via 192.168.26.254
Aug 31 21:23:25 nocona dhcpd: DHCPACK on 192.168.26.12 to 00:50:56:00:00:12 via 192.168.26.254
Aug 31 21:23:25 nocona dhcpd: DHCPREQUEST for 192.168.26.12 (192.168.26.252) from 00:50:56:00:00:12 via 192.168.26.254
Aug 31 21:23:25 nocona dhcpd: DHCPACK on 192.168.26.12 to 00:50:56:00:00:12 via 192.168.26.254
Aug 31 21:24:32 nocona dhcpd: Wrote 0 deleted host decls to leases file.
Aug 31 21:24:32 nocona dhcpd: Wrote 0 new dynamic host decls to leases file.
Aug 31 21:24:32 nocona dhcpd: Wrote 9 leases to leases file.


emerge --info
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 Intel(R) Pentium(R) D CPU 3.40GHz
Gentoo Base System version 1.12.4
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=nocona -march=nocona -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -mtune=nocona -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distcc_ distlocks maketest_ metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LINGUAS="en_GB es_ES it it_IT pt pt_BR"
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.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa apache2 audiofile avi b bash-completion berkd berkdb bidi bitmap-fonts bluetooth bonobo boss browserplugin bzip2 cairo caps cdda cddb cdr cgi chroot cjk cli crypt cups curl dbus directfb dlloader dri dts dv dvd dvdr dvdread eds em emboss encode esd ethereal evo exif expat fam fame fbcon ffmpeg firefox flac flash foomaticdb fortran freetds freetype gd gdbm gif gimp gimpprint glut gmp gno gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl idea idn ieee1394 imagemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads java jpeg lcms libcaca libclamav libedit libwww live lm_sensors lzo lzw lzw-tiff mad matroska me mhash mikmod ming mjpeg mng motif mozilla mozsvg mp3 mpeg mule musicbrainz mysql nautilus ncurses nfs ng nls nptl nptlonly nsplugin ogg oggvorbis opengl oss p pam pcre pda pdflib perl php pic png ppds pppd python qmail qt qt3 qt4 quicktime quotas readline recode reflection rtc samba scanner sdl server session slang smp sndfile speex spell spl ssl svg symlink tcltk tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vhosts video_cards_fglrx vorbis wxgtk1 wxwindows xine xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc kernel_linux linguas_en_GB linguas_es_ES linguas_it linguas_it_IT linguas_pt linguas_pt_BR userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-09-04 00:13:45 UTC
dhcpcd is a client only daemon and does not have an init script.

dhcp is a dhcp server and client which does have an init script called dhcpd. What version of dhcp do you have installed?

Also, please attach your dhcpd.conf, /etc/conf.d/dhcpd and /etc/conf.d/net files.
Comment 2 Michele Schiavo 2006-09-04 03:53:39 UTC
Created attachment 95948 [details]
/etc/conf.d/dhcpd
Comment 3 Michele Schiavo 2006-09-04 03:54:09 UTC
Created attachment 95949 [details]
/etc/dhcp/dhcpd.conf
Comment 4 Michele Schiavo 2006-09-04 03:55:17 UTC
 emerge dhcpcd -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-misc/dhcpcd-2.0.5-r1  USE="-build -debug -static" 0 kB
Comment 5 Roy Marples (RETIRED) gentoo-dev 2006-09-04 03:56:50 UTC
(In reply to comment #4)
>  emerge dhcpcd -pv

I said dhcp

emerge -pv net-misc/dhcp
Comment 6 Michele Schiavo 2006-09-04 04:34:49 UTC
Sorry

 emerge dhcp -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-misc/dhcp-3.0.3-r9  USE="-doc -minimal -static" 849 kB
Comment 7 Michele Schiavo 2006-09-04 04:36:10 UTC
Created attachment 95953 [details]
/etc/conf.d/net
Comment 8 Michele Schiavo 2006-09-04 04:45:23 UTC
# /etc/init.d/dhcpd start
 * Starting chrooted dhcpd ...                                            [ !! ]

# ps aux | grep dhcp
dhcp     28519  0.0  0.0  10712  1552 ?        Ss   13:43   0:00 /usr/sbin/dhcpd -q -pf /var/run/dhcp/dhcpd.pid -cf /etc/dhcp/dhcpd.conf -user dhcp -group dhcp -chroot /chroot/dhcp

Comment 9 Michele Schiavo 2006-09-04 04:46:42 UTC
 tail /var/log/messages
Sep  4 13:43:51 nocona dhcpd: Wrote 0 deleted host decls to leases file.
Sep  4 13:43:51 nocona dhcpd: Wrote 0 new dynamic host decls to leases file.
Sep  4 13:43:51 nocona dhcpd: Wrote 9 leases to leases file.
Sep  4 13:44:22 nocona su(pam_unix)[28442]: session closed for user root