Re: ifup/ifdown

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

 



On 12/10/18 6:28 AM, ToddAndMargo via users wrote:
> On 12/8/18 11:24 AM, Samuel Sieb wrote:
>> On 12/8/18 10:46 AM, Matthew Miller wrote:
>>> On Sat, Dec 08, 2018 at 01:31:34PM -0500, Sam Varshavchik wrote:
>>>> I'm trying to understand what prevents having a shell script, or
>>>> two, that takes a single parameter, and turns on or off the
>>>> specified network interface. And then calling those scripts "ifup"
>>>> and "ifdown".
>>>>
>>>> Why does this have to stop working, as it does now?
>>>
>>> Oh -- those shell scripts exist. They're there now. The person who maintains
>>> them isn't interested in doing so forever, so there's a warning. If you'd
>>> like, I'm sure you could step up and say "I want to maintain these commands
>>> as a compatibility layer".
>>
>> The NetworkManager package contains ifup and ifdown scripts.  I don't see how there's
>> any maintenance involved, since they just call nmcli. The warning message just says to
>> use the scripts from NetworkManager instead of network-scripts, not that they're going
>> away.
>
> Where are NetworkManager's located?

/usr/libexec/nm-ifup

I described what happens in an earlier post.

[egreshko@f29bk ~]$ which ifup
/usr/sbin/ifup

[egreshko@f29bk ~]$ ll /usr/sbin/ifup
lrwxrwxrwx. 1 root root 22 Nov  7 10:35 /usr/sbin/ifup -> /etc/alternatives/ifup

[egreshko@f29bk ~]$ ll /etc/alternatives/ifup
lrwxrwxrwx. 1 root root 20 Nov  7 10:35 /etc/alternatives/ifup -> /usr/libexec/nm-ifup

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


-- 
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