Bug 31094

Summary: ifconfig bash command not found
Product: Mageia Reporter: William Kenney <wilcal.int>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, ftg
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description William Kenney 2022-11-08 18:18:41 CET
Description of problem:

[wilcal@localhost ~]$ ifconfig
bash: ifconfig: command not found

[root@localhost wilcal]# ifconfig
bash: ifconfig: command not found

Mageia-9-alpha1-i586.iso installed in Vbox client
md5sum: 079945803a70ce19a48581a49b74175a

Mageia-9-alpha1-x86_64.iso installed in Vbox client
md5sum: 6f83c036c50747d5e76e3a50411fc2ac

Mageia-9-alpha1-Live-Plasma-x86_64.iso installed in Vbox client
md5sum: e5664769a22394f2fa8125694fa43321

Mageia-9-alpha1-Live-GNOME-x86_64.iso seems to be fine installed in Vbox client
3e52c463cbf2630d7c910104b16932b9
Comment 1 Frank Griffin 2022-11-08 18:34:04 CET
ifconfig is /usr/sbin/ifconfig, and it's normal for it not to be found from a user prompt (users don't normally get sbin in their path).  But if it's not found for root, it's because net-tools isn't installed.

CC: (none) => ftg

Comment 2 William Kenney 2022-11-08 19:04:51 CET
(In reply to Frank Griffin from comment #1)
> ifconfig is /usr/sbin/ifconfig, and it's normal for it not to be found from
> a user prompt (users don't normally get sbin in their path).  But if it's
> not found for root, it's because net-tools isn't installed.

ifconfig ran as a default in past Mageia versions
Plus some of the new isos run it as default some do not ( Gnome live )

One way or another
Comment 3 Dave Hodgins 2022-11-08 19:19:17 CET
User's should get used to running the ip commands instead, such as "ip link",
"ip addr", etc.

The ifconfig command is being deprecated, though not quite obsoleted yet.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX
CC: (none) => davidwhodgins