| Summary: | dhcp-client missing when performing a minimal install (no suggest) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Georges Eckenschwiller <paiiou> |
| Component: | Installer | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | mageia, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakx-net | CVE: | |
| Status comment: | |||
| Attachments: | report.bug | ||
|
Description
Georges Eckenschwiller
2013-10-21 17:14:39 CEST
The problem remains present with a minimal installation with the DVD of beta1. I think that a control of dhcp-client presence should take place during the configuration of the network. does'nt it install the package when requested ? Version:
3 =>
Cauldron A manual installation works well. When I choose to install an office such as Xfce, dhcp-customer is automatically installed. It is only with the minimal installation that there is problem. Please attach your /root/drakx/report.bug.xz Keywords:
(none) =>
NEEDINFO Created attachment 4521 [details]
report.bug
New test, this morning, with boot-nonfree.iso of 21-11-2013.
Defect always present.
Appendix: report.bug
looks like the no suggest option was selected, but if it's directly selected (rpmsrate ?) and suggest by something else (initscripts), should it not be keep ? * selecting dhcp-client-4.2.5P1-2.mga4.i586 * requiring dhcp-common[== 3:4.2.5P1-2.mga4] for dhcp-client-4.2.5P1-2.mga4.i586 * chosen dhcp-common-4.2.5P1-2.mga4.i586 for dhcp-common[== 3:4.2.5P1-2.mga4] * selecting dhcp-common-4.2.5P1-2.mga4.i586 * requested dhcp-client suggested by initscripts-9.41-19.mga4.i586 * install settings: no_suggests=1, excludedocs=, really_minimal_install= * unselecting all packages... * unselecting suggested package dhcp-common * unselecting suggested package dhcp-client Summary:
dhcp-client missing when performing a minimal install =>
dhcp-client missing when performing a minimal install (no suggest) It is exact. For a little bit old computers, I try not to install the useless packages. I think that the control could be made during the configuration of the network You didn't try to configure the network during stage2 so it didn't picked a dhcp client as this was uneeded.
On the other hand, report.bug.xz shows that stage1 has done a dhcp request but stage2 didn't remember all settings.
A little checking shows this is b/c of install::install2::read_stage1_net_conf() which reads only the first file returned by glob_('/tmp/ifcfg-*')...
... which heppens to be /tmp/ifcfg-leases in your logs as well as in my tests
thus eg: /tmp/ifcfg-enp0s3 is ignored
/tmp/ifcfg & /tmp/ifcfg-leases are two new directories created by dracut which is now used for stage1 (bad Colin!)
I've make stage2 ignore non regular /tmp/ifcfg-* files.
I could have made it read all /tmp/ifcfg-files but stage1 will leave only one file.Keywords:
NEEDINFO =>
(none) I guess that's what we get for using a global /tmp namespace rather than our own /tmp/mga/ (or perhaps better a /run/mga/) folder to keep all our stuff in. One for mga5 perhaps! Thanks for the investigation and fix Thierry!! Why not? But for mga5 indeed. Hello, Further to the current problems with stage2 of cauldron, I used the DVD i586 alpha2. I have again a failure in the network connection. I was able to verify that dhcp-client is not installed, in spite of the fact of having configured the network by using dhcp. Status:
RESOLVED =>
REOPENED This is a different issue as this one was fixed (ie same result, but different cause). So please open a new bug report and attach your /root/drakx/report.bug.xz Status:
REOPENED =>
RESOLVED |