View previous topic :: View next topic |
Author |
Message |
pepi55 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Oct 2013 Posts: 37 Location: The Internet
|
Posted: Fri Aug 22, 2014 1:48 am Post subject: [SOLVED] Layman not working after dhcpcd update |
|
|
Okay, so here's the deal: I have been on vacation for a couple of months and wasn't able to update my Gentoo system. When I came back home and just ran my usual:
Code: | sudo emerge-webrsync && sudo layman -S && sudo emerge --autounmask-write --update --deep --newuse --with-bdeps=y world && sudo emerge --depclean && sudo revdep-rebuild |
Everything updated and everything was OK. So then I decided that I want to add an overlay (qt5 to be exact) so I can build a program. Everything was okay then as well.
But after a few days I want to update everything again (I have some unstable packages which constantly update) And then right after layman claims that everything was synced my command exits with the following error:
Code: | * CLI: Errors occurred processing action sync_all
* RemoteDB.cache(); Failed to update the overlay list from: http://www.gentoo.org/proj/en/overlays/repositories.xml
* IOError was:<urlopen error [Errno -2] Name or service not known> |
And does not execute any of the emerge updates.
I have no idea why that is happening I literally can't do anything with layman HOWEVER! Firefox, ping, steam practically everything else just seems to work fine. Somehow I found a work around that suggested that it has something to do with dns and resolf.conf and suggested to use:
To see if it fixes anything. As a fact to the matter, it did. It solved my problem BUTT! Only temporary. After the next reboot the old resolf.conf file has been reverted and the nameserver isn't 8.8.8.8 anymore.
Now my question is: why does this happen? I read the eselect news and didn't understand crap from it. More important: how can i make dhcpcd and layman work together again???
If you need any config files, emerge outputs etc. please say so all I can think of giving you right now is the default dhcpcd.conf file which I use for my configuration since I have not a single clue about this dhcpcd and dns shenanigans (all I did was comment the nohook line because to my understanding, it shouldn't be there? and the saac line because eselect news said so).
Code: | # A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# Inform the DHCP server of our hostname for DDNS.
hostname
# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
duid
# Persist interface configuration when dhcpcd exits.
persistent
# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit
# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU.
# Some interface drivers reset when changing the MTU so disabled by default.
#option interface_mtu
# A ServerID is required by RFC2131.
require dhcp_server_identifier
# Generate Stable Private IPv6 Addresses instead of hardware based ones
#slaac private
# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default. #<<<<<<<<<<<<<<<<<<<<<<<< I don't get this.
#nohook lookup-hostname |
Last edited by pepi55 on Sun Aug 24, 2014 12:21 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mackal Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Aug 2011 Posts: 92
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pepi55 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Oct 2013 Posts: 37 Location: The Internet
|
Posted: Sun Aug 24, 2014 12:20 am Post subject: |
|
|
Wow... I didn't know such a site existed! Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|