Re: ifup/ifdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/9/18 3:27 AM, Samuel Sieb wrote:
> On 12/8/18 8:33 AM, sean darcy wrote:
>> I also missed the memo. If this stackexchange post is correct,all the ifcfg-*
>> configurations remain, but not the executable scripts (ifup,ifdown,..). Which is a LOT
>> different than "'network-scripts' will be removed from distribution in near future."
>>
>> But who knows ? Maybe there is a memo.
>>
>> https://unix.stackexchange.com/questions/483354/rhel-8-deprecated-network-scripts 
>
> You misunderstood the post.  The ifup-* scripts in /etc/sysconfig/network-scripts will
> become ineffective, but the "ifup" script still exists.  Just remove the network-scripts
> package and everything will keep on working the same, unless you have some very unusual
> special configuration that you have manually changed.

When I posted earlier I missed something.

Yes, if you remove network-scripts you can still run ifup/ifdown.  What will happen is
that that appropriate /etc/alternatives will be created.  So, for example, ifdown will
point to /usr/libexec/nm-ifdown.  (NetworkManager-ifdown).

And if you look at that you'd see.

[egreshko@meimei ~]$ cat /usr/libexec/nm-ifdown
#!/usr/bin/sh
nmcli connection load "/etc/sysconfig/network-scripts/ifcfg-$1" &&
exec nmcli connection down filename "/etc/sysconfig/network-scripts/ifcfg-$1"

I've just become used to using "nmcli".  Just like I've become used to using "ip" instead
of "ipconfig".

Thanks for making me take a deeper look.

-- 
Right: I dislike the default color scheme Wrong: What idiot picked the default color scheme
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux