| Summary: | spaces in ifcfg- file name confuse network-up service | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Guillaume Rousse <guillomovitch> |
| Component: | RPM Packages | Assignee: | Colin Guthrie <mageia> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, tmb |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | initscripts | CVE: | |
| Status comment: | |||
I have not follow your discussion on irc but i guess it's alredy fixed no CC:
(none) =>
mageia, tmb Yeah I have a patch in the pipeline. Status:
NEW =>
ASSIGNED Forgot about this one but I pushed a patch for it the other day. Status:
ASSIGNED =>
RESOLVED |
My logs are full of the following error message: Apr 10 16:11:14 localhost network-up[7653]: fgrep: ifcfg-ifcfg-Auto_orange1: Aucun fichier ou dossier de ce type Actually, the complex sed expression in line 36 of network-up service is confused with filenames with space inside, such as 'ifcfg-Auto_orange 1', resulting in the ifcfg prefix not being stripped. Adding a space to the character class in regexp from line 39 is enough to fix the issue: -e '/ifcfg-[A-Za-z0-9\._-]\+$/ { s/^ifcfg-//g;s/[0-9]/ &/}' | \ -> -e '/ifcfg-[ A-Za-z0-9\._-]\+$/ { s/^ifcfg-//g;s/[0-9]/ &/}' | \