Description of problem: In /etc/sysconfig/network-scripts/ifup-wireless line 183 is [ -n -n "$priv" ] && eval "/sbin/iwpriv $DEVICE $priv" The double "-n " between braces is wrong. One "-n " must be deleted. Steps to Reproduce: 1.Configure a Wireless NIC (ex : ra0) 2.Add the line IWPRIV="set NetworkType=Infra" at the end of the /etc/sysconfig/network-scripts/ifcfg-ra0 file 3.Launch tne command ifup ra0 boot and notice the error message Reproducible: Steps to Reproduce:
I propose to add the ${var} notation while fixing : [ -n "${priv}" ] && eval "/sbin/iwpriv ${DEVICE} ${priv}"
Assigning to maintainer.
Assignee: bugsquad => mageia
Could you make a git formatted patch against the distro/mga branch of our initscripts fork? http://gitweb.mageia.org/software/forks/initscripts/tree/sysconfig/network-scripts/ifup-wireless?h=distro/mga#n183 e.g. do the following: 1. git clone git://git.mageia.org/software/forks/initscripts 2. cd initscripts 3. git config user.name "Yves Demur" 4. git config user.email "youremailaddress" 5. git checkout -t origin/distro/mga 6. <make your changes> 7. git commit -am "ifup-wireless: Fix typo causing syntax error" 8. git format-patch HEAD^ 9. Attach the generated patch here. Note steps 3 & 4 may not be required if you've set this up globally already (and I may have the syntax slightly wrong too - working from memory!)
Created attachment 7258 [details] bug fix
Hi Yves, Thank you for having taken the needed time to report this issue! Did this bug get fixed? If so, please change its status to RESOLVED - FIXED If it didn't, then we regret that we weren't able to fix it in Mageia 5. Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/ It only continued to get important security updates since then, because we are waiting for a big Plasma5 update in Mageia 6, that'll fix many of the Mageia 5 => 6 upgrade issues. If you haven't seen that this bug got fixed, then please check whether this bug still exists in Mageia 6. If it does, then please change the Version (near the top, at the left) to "6". If you know it exists in Cauldron, then change Version to Cauldron. If you see it in both Cauldron and Mageia 6, then please set Version to Cauldron and add MGA6TOO on the Whiteboard. Thanks, Marja (In case this report needs to stay open for a supported release: Reassigning to the Base System maintainers, because Colin, the registered maintainer, is mostly unavailable)
CC: (none) => mageia, marja11, ngompa13Keywords: (none) => PATCHAssignee: mageia => basesystem
Version: 5 => 6
This message is a reminder that Mageia 6 is end of life. Mageia stopped maintaining and issuing updates for Mageia 6. At that time this bug will be closed as OLD (EOL). Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 6's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we cannot be able to fix it before Mageia 6 was end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete. -- Mageia Bugsquad
CC: (none) => ouaurelienStatus: NEW => RESOLVEDResolution: (none) => FIXED