Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223929 - net-misc/dhcpcd-4.0.0_beta5: missing /etc/dhcpcd/dhcpcd.sh file?
Summary: net-misc/dhcpcd-4.0.0_beta5: missing /etc/dhcpcd/dhcpcd.sh file?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-28 09:58 UTC by Paweł Zaskórski
Modified: 2008-05-29 06:03 UTC (History)
1 user (show)

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 Paweł Zaskórski 2008-05-28 09:58:11 UTC
After upgrade net-misc/dhcpcd to latest beta relase, I've found in my /var/log/messages repeated entries like this:

May 28 11:27:08 arrakis dhcpcd[2321]: eth1: /etc/dhcpcd/dhcpcd.sh: No such file or directory

Something is misconfigured or what?

Reproducible: Always

Steps to Reproduce:
1. upgrade net-misc/dhcpcd to 4.0.0_beta5
2. after a while watch entries in /var/log/messages
3. 




Portage 2.1.5.2 (default/linux/amd64/2008.0, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Wed, 28 May 2008 08:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -finline-functions"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl"
LC_ALL="pl_PL.UTF8"
LDFLAGS=""
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip S3TC X a52 aac acl alsa amd64 apache2 bash-completion berkdb branding bzip2 cairo cdparanoia cdr cli colordiff cracklib crypt css dbus divx dri dvd dvdnav dvdr dvdread emerald encode exif extras ffmpeg firefox flac fontconfig ftp gd gdbm gecko geoip gif gimp gnome gnutls gpg gphoto2 gtk gzip hal iconv id3tag imagemagick ipv6 jabber javascript jpeg jpeg2k lame libnotify lm_sensors lzo lzw maps matroska mbox midi mmx mmxext mng mp3 mp4 mplayer mplayer-bin mudflap multilib musepack musicbrainz mysql nautilus ncurses nls nowin nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl php png python qt3support qt4 query-browser quicktime readline realmedia scenarios session slang sou spl sqlite sqlite3 srt sse sse2 ssl startup-notification svg symlink tcpd theora thunderbird tiff trayicon truetype unicode usb vcd vim-syntax vorbis wma wmf wmp workbench x264 xcomposite xorg xscreensaver xv xvid zip zlib zsh-completion" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest autoindex authn_dbm authn_file authz_host authz_user deflate dir filter headers log_config mime mime_magic setenvif negotiation rewrite status userdir" APACHE2_MPMS="worker" CAMERAS="sony_dscf1" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Grzegorz Wiechula 2008-05-28 11:24:13 UTC
I have the same problem - after each renewing:

May 28 11:59:39 xxx dhcpcd[2731]: eth0: renewing lease of x.x.x.x
May 28 11:59:39 xxx dhcpcd[2731]: eth0: leased x.x.x.x for 28800 seconds
May 28 11:59:39 xxx dhcpcd[32622]: eth0: /etc/dhcpcd/dhcpcd.sh: No such file or directory

Portage 2.1.5.2 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Timestamp of tree: Wed, 28 May 2008 04:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl ftp://gentoo.po.opole.pl http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.po.opole.pl http://gentoo.zie.pg.gda.pl ftp://mirror.switch.ch/mirror/gentoo/ http://src.gentoo.pl"
LDFLAGS=""
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acpi aften aiglx alsa amarok amazon amrnb apache2 archive arts asf bash-completion berkdb branding bzip2 cairo cdaudio cdparanoia cdr chm cli commercial cracklib crypt css ctype cups curl dbus dia divx4linux dri dts dvd dvdr dvdread eds emboss encode esd evo exif extramodules extras fam ffmpeg firefox flac foomaticdb fortran ftp fuse gadu gdbm gif gimpprint glitz gpm graphviz gstreamer gtk hal hddtemp iconv icq imagemagick innodb ipv6 isdnlog java jpeg kde kerberos lame latex libnotify libsamplerate libwww lm_sensors logitech-mouse mad mbox midi mikmod mmx mmxext mng mono mp3 mpeg mpeg4 mudflap musepack musicbrainz mysql ncurses network nls nptl nptlonly nsplugin ntlm nvidia nxclient ogg opengl openmp openssh openssl opensslcrypt oracle oscar pam pcre pdf perl php pmu png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection rss samba sasl sdl server session sid slang sms spell splsqlite sse sse2 ssl startup-notification stream svg tcpd tetex theora tiff truetype unicode usb vcd vidix vim-syntax vim-with-x vnc voice vorbis win32codecs wma wmf wmp x264 x86 xcb xcomposite xine xinerama xml xorg xscreensaver xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipciemu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc"INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Roy Marples 2008-05-28 16:18:27 UTC
You'll need to restart dhcpcd.
The file was moved to /lib/dhcpcd/dhcpcd-run-hooks

Although in hind-sight, /lib/dhcpcd-run-hooks was probably a better place for it.
Comment 3 Paweł Zaskórski 2008-05-29 06:03:00 UTC
(In reply to comment #2)
> You'll need to restart dhcpcd.

I have done:
# /etc/init.d/net.eth1 stop
# /etc/init.d/net.eth1 start

and now is OK. Thanks for advice!