Because udev starting from 197 changed naming of network adapters, headless ssh installation failed, because of no network is auto-configured. Nir sshd, nor passwd is started. was (before udev 197): eth0, eth1, ... now: enp1s0, enp2s0, enp?s? enp* should be added to auto-search list
What exactly fails? There shouldn't be a difference that causes a headless installation to fail. I'm not sure which auto search list you are talking about?
Look at line 504 /etc/init.d/autoconfig For each network device in list for headless installation dhcpcd is started. If there is no network device, matching this list, network will be down, sshd is not started and passwd will be random.
My solution 1,nano -w /etc/conf.d/net (config_enp?s?="dhcp") add in /etc/conf.d/net 2,ln -s /etc/init.d/net.lo /etc/init.d/net.enp?s? rc-update add net.enp?s? default 3,install dhcpcd
Created attachment 351292 [details, diff] use /sys/class/net to determine available network devices I attached a patch so it uses /sys/class/net to determine which network devices there are instead of /proc/net/dev.
(In reply to Alexey from comment #2) > Look at line 504 /etc/init.d/autoconfig > > For each network device in list for headless installation dhcpcd is started. > If there is no network device, matching this list, network will be down, > sshd is not started and passwd will be random. Actually my plan is to start dhcpcd in standalone mode which means it will detect any non-configured network device on its own and try to get an address for it, so we may not need to look for specific devices by name.
WilliamH we have to also look at livedvd media as that uses network manager for the desktop and currently it's being started by udev and when network manager is not present then dhcpcd is started, same goes if wicd was in present. Keep in mind NetworkManager is not in runlevel.
I spoke with jmbsvicetto about a patch I had im my local repo, and he thinks it is related to this bug. This patch is in commit bf37db7.