Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450252 - Networkmager and dhclient: can't create /var/lib/dhclient/*-eth0.lease
Summary: Networkmager and dhclient: can't create /var/lib/dhclient/*-eth0.lease
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-04 15:01 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2014-03-29 09:09 UTC (History)
2 users (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 Andreis Vinogradovs ( slepnoga ) 2013-01-04 15:01:28 UTC
I'm build NM with use dhclient USE due I have ipv6 dhcp feature.
After enabled ipv dhcp configuration ( over kde widget kde-misc/networkmanagement ) ipv6 configuration fail and I found in syslog follow message:

anager[6461]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jan  4 16:53:57 adm NetworkManager[6461]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jan  4 16:53:57 adm NetworkManager[6461]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jan  4 16:53:57 adm NetworkManager[6461]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jan  4 16:53:57 adm NetworkManager[6461]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jan  4 16:53:57 adm NetworkManager[6461]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Jan  4 16:53:57 adm NetworkManager[6461]: <info> Activation (eth0) Beginning DHCPv6 transaction (timeout in 45 seconds)
Jan  4 16:53:57 adm avahi-daemon[1204]: Joining mDNS multicast group on interface eth0.IPv4 with address 10.10.30.120.
Jan  4 16:53:57 adm NetworkManager[6461]: <info> dhclient started with pid 7124
Jan  4 16:53:57 adm NetworkManager[6461]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jan  4 16:53:57 adm NetworkManager[6461]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) started...
Jan  4 16:53:57 adm avahi-daemon[1204]: New relevant interface eth0.IPv4 for mDNS.
Jan  4 16:53:57 adm avahi-daemon[1204]: Registering new address record for 10.10.30.120 on eth0.IPv4.
Jan  4 16:53:57 adm dhclient: Internet Systems Consortium DHCP Client 4.2.4-P2 Gentoo-r1
Jan  4 16:53:57 adm dhclient: Copyright 2004-2012 Internet Systems Consortium.
Jan  4 16:53:57 adm dhclient: All rights reserved.
Jan  4 16:53:57 adm dhclient: For info, please visit https://www.isc.org/software/dhcp/
Jan  4 16:53:57 adm dhclient: 
Jan  4 16:53:57 adm dhclient: can't create /var/lib/dhclient/dhclient6-a1a5b3d2-2e82-bbd6-f878-d26feacc2c7d-eth0.lease: No such file or directory
Jan  4 16:53:57 adm dhclient: Bound to *:546
Jan  4 16:53:57 adm dhclient: Listening on Socket/eth0
Jan  4 16:53:57 adm dhclient: Sending on   Socket/eth0
Jan  4 16:53:57 adm dhclient: can't create /var/lib/dhclient/dhclient6-a1a5b3d2-2e82-bbd6-f878-d26feacc2c7d-eth0.lease: No such file or directory
Jan  4 16:53:58 adm dhclient: XMT: Solicit on eth0, interval 1070ms.
Jan  4 16:53:58 adm NetworkManager[6461]: <info> (eth0): device state change: ip-config -> activated (reason 'none') [70 100 0]
Jan  4 16:53:58 adm NetworkManager[6461]: <info> Clearing nscd hosts cache.
Jan  4 16:53:58 adm NetworkManager[6461]: <info> Policy set 'eth0' (eth0) as default for IPv4 routing and DNS.
Jan  4 16:53:58 adm NetworkManager[6461]: <info> Activation (eth0) successful, device activated.
Jan  4 16:53:58 adm NetworkManager[6461]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.
Jan  4 16:53:58 adm NetworkManager[6461]: <info> (eth0): DHCPv6 state changed nbi -> preinit6
Comment 1 Andreis Vinogradovs ( slepnoga ) 2013-01-04 15:02:58 UTC
Maybe add follow ebuild  keepdir call ?
net-misc/dhcp or net-misc/networkmanager ?
Comment 2 Andreis Vinogradovs ( slepnoga ) 2013-01-04 15:03:25 UTC
[I] net-misc/networkmanager
     Available versions:  (~)0.9.4.0-r5 0.9.4.0-r6 (~)0.9.4.0-r7 (~)0.9.6.0 (~)0.9.6.4 {avahi bluetooth connection-sharing dhclient +dhcpcd doc gnutls +introspection modemmanager +nss +ppp resolvconf systemd vala +wext wimax KERNEL="linux"}
     Installed versions:  0.9.6.4(16:44:04 04.01.2013)(avahi bluetooth dhclient introspection modemmanager nss ppp wext -connection-sharing -dhcpcd -doc -gnutls -resolvconf -systemd -vala -wimax KERNEL="linux")
     Homepage:            http://www.gnome.org/projects/NetworkManager/
     Description:         Network configuration and management in an easy way. Desktop environment independent.


 net-misc/dhcp
     Available versions:  3.1.2_p1 3.1.3_p1 (~)4.2.1_p1 (~)4.2.2 4.2.2-r1 4.2.2-r2 (~)4.2.2-r3 4.2.3_p1 (~)4.2.3_p2 4.2.4_p1 4.2.4_p2 (~)4.2.4_p2-r1 {+client doc ipv6 ldap minimal selinux +server ssl static vim-syntax KERNEL="linux"}
     Installed versions:  4.2.4_p2-r1(19:55:09 22.11.2012)(client ipv6 ldap server ssl -selinux -vim-syntax KERNEL="linux")
     Homepage:            http://www.isc.org/products/DHCP
     Description:         ISC Dynamic Host Configuration Protocol (DHCP) client/server
Comment 3 Andreis Vinogradovs ( slepnoga ) 2013-01-04 15:03:58 UTC
emerge --info
Portage 2.1.11.38 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.6.6-gentoo-4 x86_64)
=================================================================
System uname: Linux-3.6.6-gentoo-4-x86_64-Intel-R-_Pentium-R-_CPU_G620_@_2.60GHz-with-gentoo-2.2
Timestamp of tree: Fri, 04 Jan 2013 07:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo my-dev rion
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=native -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles merge-sync metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tups.lv/source"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/slep/slep/portage /home/slep/rion"
SYNC="rsync://gentoo.tups.lv/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 ao apache2 attica autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr chm cli conntrack consolekit cracklib crypt cups cxx dbus declarative dia djvu dri dts dvd dvdr emboss encode exif extras fam fax fbcon ffmpeg fftw firefox flac fontconfig fortran freerdp freetds ftp g3dvl gbm gdbm geonames gif git glamor gles gles1 gles2 gmp google google-gadgets gphoto2 gpm gps graphviz gs gstreamer gtk hpijs iconv icu idn imagemagick inotify iproute2 ipv6 jpeg jpeg2k kde kdepim kerberos kipi kontact kvm lcms ldap lensfun libkms libnotify libusb0 lm_sensors lua lzma mad maildir marble mdnsresponder-compat mercurial minizip mmx mng modemmanager modules mp3 mp4 mpeg mudflap multilib multimedia mysql natspec ncurses netlink networkmanager nfs nls nptl nsplugin offensive ogg opengl openipmi openmp openvg osmesa pam pango parport pch pcre pdf phonon plasma pmu png policykit postscript ppds pppd python qt3support qt4 rdesktop readline rfc3779 rle samba sasl scanner sdl semantic-desktop session slp smp sna spell spidermonkey sse sse2 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode unlock-notify upower usb uxa vdpau vnc vorbis webkit wmf wps wxwidgets x264 xa xcb xcomposite xft xinerama xml xorg xpm xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="hde-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog cpu disk email libvirt match_empty_counter match_hashed match_regex match_timediff match_value notify_desktop notify_email routeros rrdcached sensors target_notification target_replace target_scale target_set" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-32 efi-64 emu multiboot pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq tarpit dnetmap echo gradm"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Andreis Vinogradovs ( slepnoga ) 2013-01-04 15:06:00 UTC
P.S adm slep # LC_ALL=C ls /var/lib/dhclient/
ls: cannot access /var/lib/dhclient/: No such file or directory
Comment 5 Pacho Ramos gentoo-dev 2014-03-11 20:14:57 UTC
Please retry with net-misc/networkmanager-0.9.8.8, also show "emerge -Opv networkmanager dhclient" if still valid