Bug 11954 - stage2, updates are not proposed after summary
Summary: stage2, updates are not proposed after summary
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: release_blocker normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard: 4beta2
Keywords:
Depends on: 11592
Blocks: 11704
  Show dependency treegraph
 
Reported: 2013-12-11 15:41 CET by Manuel Hiebel
Modified: 2014-01-11 01:18 CET (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
report.bug (114.43 KB, application/x-xz)
2013-12-11 15:41 CET, Manuel Hiebel
Details

Description Manuel Hiebel 2013-12-11 15:41:29 CET
Created attachment 4602 [details]
report.bug

using last pre-beta2 dvd x86_64
Comment 1 Manuel Hiebel 2013-12-11 15:46:17 CET
(it's in a Virtualbox VM)

* starting step `configureNetwork'
* adding alias enp0s3 to e1000
* running: /lib/udev/write_net_rules 08:00:27:56:d2:83 with root /mnt
* program not found: /lib/udev/write_net_rules
* neither domain name nor dns server are configured

* step "configureNetwork" took: 0:00:02
* step `configureNetwork' finished

* starting step `installUpdates'
* no network seems to be configured for internet (,yes)
* step "installUpdates" took: 0:00:00
* step `installUpdates' finished


Didn't found something other that could be interesting.

Assignee: bugsquad => thierry.vignaud
Summary: stage2, updates are proposed after summary => stage2, updates are not proposed after summary

Comment 2 Dick Gevers 2013-12-11 16:03:09 CET
For me, on real hw, it was working well, in both 64 bit and 32 bit installers.

HTH

CC: (none) => dvgevers
Whiteboard: (none) => 4beta2

claire robinson 2013-12-11 16:30:35 CET

CC: (none) => eeeemail

Comment 3 Manuel Hiebel 2013-12-11 23:48:42 CET
in beta2 notes I see "network interfaces are renamed by udev during installation too" 
but it looks not the case after running ifconfig on the installed box, I don't know if it's help

CC: (none) => mageia

Comment 4 Thierry Vignaud 2013-12-12 09:53:59 CET
We need to include /lib/udev/write_net_rules after introduction of network renaming...

Source RPM: (none) => drakx-net

Comment 5 Thierry Vignaud 2013-12-12 09:56:49 CET
See drakx/perl-install/install/share/list.xml:
http://gitweb.mageia.org/software/drakx/tree/perl-install/install/share/list.xml
Comment 6 Colin Guthrie 2013-12-12 11:01:27 CET
(In reply to Thierry Vignaud from comment #4)
> We need to include /lib/udev/write_net_rules after introduction of network
> renaming...

This file should not exist any more... the whole writing of net rules is a broken concept which is what the network renaming was introduced to solve.

@Manuel Is this an upgrade or a fresh install?

What does udevadm info say about the network device? (e.g. try: udevadm info /sys/class/net/eth0) Particularly interesting is the ID_NET_NAME_PATH attribute.

If it was an upgrade, then you should have a /etc/udev/rules.d/80-net-name-slot.rules symlink to /dev/null that disables the rules.

If things are not getting renamed for you after boot and it's not an upgrade then something is indeed wrong and we need to work out why - you can play around with "udevadm test --action=add /sys/class/net/eth0" and post the output as an attachment to try and work it out.
Comment 7 Manuel Hiebel 2013-12-12 18:39:08 CET
It was a new install, ifconfig give only enp0s3 and lo

# udevadm info /sys/class/net/enp0s3 
P: /devices/pci0000:00/0000:00:03.0/net/enp0s3
E: DEVPATH=/devices/pci0000:00/0000:00:03.0/net/enp0s3
E: ID_BUS=pci
E: ID_MODEL_FROM_DATABASE=PRO/1000 MT Desktop Adapter
E: ID_MODEL_ID=0x100e
E: ID_NET_NAME_MAC=enx08002756d283
E: ID_NET_NAME_PATH=enp0s3
E: ID_OUI_FROM_DATABASE=CADMUS COMPUTER SYSTEMS
E: ID_PCI_CLASS_FROM_DATABASE=Network controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller
E: ID_VENDOR_FROM_DATABASE=Intel Corporation
E: ID_VENDOR_ID=0x8086
E: IFINDEX=2
E: INTERFACE=enp0s3
E: SUBSYSTEM=net
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/enp0s3
E: TAGS=:systemd:
E: USEC_INITIALIZED=47605

# udevadm test --action=add /sys/class/net/eth0
calling: test
version 208
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

=== trie on-disk ===
tool version:          208
file size:         5889573 bytes
header size             80 bytes
strings            1300733 bytes
nodes              4588760 bytes
load module index
read rules file: /usr/lib/udev/rules.d/10-dm.rules
read rules file: /usr/lib/udev/rules.d/13-dm-disk.rules
read rules file: /usr/lib/udev/rules.d/40-libgphoto2.rules
read rules file: /usr/lib/udev/rules.d/42-usb-hid-pm.rules
read rules file: /usr/lib/udev/rules.d/50-firmware.rules
read rules file: /usr/lib/udev/rules.d/50-udev-default.rules
read rules file: /usr/lib/udev/rules.d/50-udev-mageia.rules
read rules file: /usr/lib/udev/rules.d/60-cdrom_id.rules
read rules file: /usr/lib/udev/rules.d/60-drm.rules
read rules file: /usr/lib/udev/rules.d/60-keyboard.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-alsa.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-input.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-serial.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-storage-tape.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-storage.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-v4l.rules
read rules file: /usr/lib/udev/rules.d/60-raw.rules
read rules file: /usr/lib/udev/rules.d/61-accelerometer.rules
read rules file: /usr/lib/udev/rules.d/61-mobile-zte-drakx-net.rules
read rules file: /usr/lib/udev/rules.d/64-btrfs.rules
read rules file: /usr/lib/udev/rules.d/69-cd-sensors.rules
read rules file: /usr/lib/udev/rules.d/69-floppy-acl.rules
read rules file: /usr/lib/udev/rules.d/69-printeracl.rules
read rules file: /usr/lib/udev/rules.d/69-udisks-acl.rules
read rules file: /usr/lib/udev/rules.d/70-infrared.rules
read rules file: /usr/lib/udev/rules.d/70-power-switch.rules
read rules file: /usr/lib/udev/rules.d/70-uaccess.rules
read rules file: /usr/lib/udev/rules.d/71-seat.rules
read rules file: /usr/lib/udev/rules.d/73-seat-late.rules
read rules file: /usr/lib/udev/rules.d/75-net-description.rules
read rules file: /usr/lib/udev/rules.d/75-probe_mtd.rules
read rules file: /usr/lib/udev/rules.d/75-tty-description.rules
read rules file: /usr/lib/udev/rules.d/78-sound-card.rules
read rules file: /usr/lib/udev/rules.d/80-drivers.rules
read rules file: /usr/lib/udev/rules.d/80-net-name-slot.rules
read rules file: /usr/lib/udev/rules.d/80-udisks.rules
read rules file: /usr/lib/udev/rules.d/80-udisks2.rules
read rules file: /usr/lib/udev/rules.d/81-net.rules
read rules file: /usr/lib/udev/rules.d/85-regulatory.rules
read rules file: /usr/lib/udev/rules.d/88-clock.rules
read rules file: /usr/lib/udev/rules.d/91-drm-modeset.rules
read rules file: /usr/lib/udev/rules.d/95-cd-devices.rules
read rules file: /usr/lib/udev/rules.d/95-dm-notify.rules
read rules file: /usr/lib/udev/rules.d/95-udev-late.rules
read rules file: /usr/lib/udev/rules.d/99-systemd.rules
read rules file: /usr/lib/udev/rules.d/alsa.rules
rules contain 196608 bytes tokens (16384 * 12 bytes), 20426 bytes strings
16180 strings (133851 bytes), 14177 de-duplicated (115429 bytes), 2004 trie nodes used
unable to open device '/sys/class/net/eth0'
unload module index
Comment 8 Colin Guthrie 2013-12-12 18:49:09 CET
(In reply to Manuel Hiebel from comment #3)
> in beta2 notes I see "network interfaces are renamed by udev during
> installation too" 
> but it looks not the case after running ifconfig on the installed box, I
> don't know if it's help

I think I was maybe confused by this comment. I thought you were suggesting that your devices where NOT renamed on the installed box (i.e. they got kernel-default names of eth0 etc.

From your other reply it seems this is OK.

But I've read the bug a bit more fully now and I see what you mean. We seem to have some stale rules somewhere to run the "write_net_rules" thing... will dig out where it's coming from and nuke it!
Comment 9 Thierry Vignaud 2013-12-12 19:06:53 CET
see lib/network/connection/ethernet.pm in drakx-net:
http://gitweb.mageia.org/software/drakx-net/tree/lib/network/connection/ethernet.pm#n511
Comment 10 Thierry Vignaud 2013-12-27 16:02:55 CET
Wrong package

Source RPM: drakx-net => (none)

Comment 11 Manuel Hiebel 2013-12-29 14:56:07 CET
Looks to be fixed with first dual of the RC build, will try with dvd when other bugs are fixed with the next build.

BUT the connection was not automatically set, cf bug 11592
Comment 12 Manuel Hiebel 2013-12-29 15:08:19 CET
(In reply to Manuel Hiebel from comment #11)
> Looks to be fixed with first dual of the RC build
too fast, from logs: (if you need full one free fell to ask)

(from summary step)
* adding alias pci:v00008086d0000100Fsv000015ADsd00000750bc02sc00i00 to e1000
* written enp0s17 interface configuration in /mnt/etc/sysconfig/network-scripts/ifcfg-enp0s17
* running: /lib/udev/write_net_rules 08:00:27:59:4a:3a with root /mnt
* program not found: /lib/udev/write_net_rules
* running: /lib/udev/write_net_rules 08:00:27:56:d2:83 with root /mnt
* program not found: /lib/udev/write_net_rules
* running: /bin/mountpoint -q /sys/fs/cgroup/systemd with root /mnt
* running: /bin/rpm -q systemd with root /mnt

* starting step `configureServices'
* step "configureServices" took: 0:00:00
* step `configureServices' finished
* starting step `installUpdates'
* to put in /mnt/etc/modprobe.preload evdev
* starting network (ppp: network::connection::ethernet)
* running: /sbin/modprobe ppp
modprobe: FATAL: Module ppp not found.
* running: /sbin/modprobe -n ppp
modprobe: FATAL: Module ppp not found.
* running: /sbin/modprobe bsd_comp
* running: /sbin/modprobe ppp_deflate
* running: /etc/rc.d/init.d/syslog start with root /mnt
* program not found: /etc/rc.d/init.d/syslog
* running: /usr/sbin/ifup  with root /mnt
Usage: ifup <device name>
* no network connexion!
* step "installUpdates" took: 0:02:49
* step `installUpdates' finished

Priority: Normal => release_blocker
Blocks: (none) => 11704
Depends on: (none) => 11592

Comment 13 Manuel Hiebel 2014-01-11 01:18:05 CET
Fixed with bug 11592 too, Thanks !

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.