Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Layman not working after dhcpcd update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pepi55
n00b
n00b


Joined: 28 Oct 2013
Posts: 34
Location: The Internet

PostPosted: Fri Aug 22, 2014 1:48 am    Post subject: [SOLVED] Layman not working after dhcpcd update Reply with quote

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:
Code:
nameserver 8.8.8.8

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
View user's profile Send private message
mackal
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2011
Posts: 87

PostPosted: Fri Aug 22, 2014 3:02 am    Post subject: Reply with quote

http://infra-status.gentoo.org/

As I'm posting this, it says they're under going maintenance.
Back to top
View user's profile Send private message
pepi55
n00b
n00b


Joined: 28 Oct 2013
Posts: 34
Location: The Internet

PostPosted: Sun Aug 24, 2014 12:20 am    Post subject: Reply with quote

Wow... I didn't know such a site existed! Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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