What to do with network/if-{down,up}.d and network/scripts?
Hi, we have: /etc/sysconfig/network/if-down.d /etc/sysconfig/network/if-up.d There are still several packages installing something into this directories, but as we found out, support for this directories got removed between openSUSE 13.1 and 13.2, so around January 2014. If your package installs scripts into this directory: please drop that completly. Else your package will stop building the next days, as we will remove this directories. Since this scripts didn't worked for the past 9 years, no need to find another solution for it: if nobody missed it for 9 years, it's not needed at all. More complicated is: /etc/sysconfig/network/scripts in theory, this scrips will still be called by wicked (not NetworkManager), if you know how to configure /etc/sysconfig/network/ifcfg-* config files correct. Does anybody here know how to do so? To be fair: it's documented in the manual pages ;) What should we do with this scripts? Keep them? But they are only from use for wicked, NetworkManager will not call them. And NetworkManager is the default and wicked will not be available e.g. for ALP. My personal opinion is, to drop them. I know samba is using it (but they will need to find another solution for NetworkManager anyways, if they really need it) and dhcp (but we don't use the dhcp package anymore anywhere, and to my knowledge ISC discontinued them). Opions what we should do here? Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman (HRB 36809, AG Nürnberg)
Am 15.12.22 um 10:57 schrieb Thorsten Kukuk:
Hi,
we have: /etc/sysconfig/network/if-down.d /etc/sysconfig/network/if-up.d
There are still several packages installing something into this directories, but as we found out, support for this directories got removed between openSUSE 13.1 and 13.2, so around January 2014.
If your package installs scripts into this directory: please drop that completly. Else your package will stop building the next days, as we will remove this directories. Since this scripts didn't worked for the past 9 years, no need to find another solution for it: if nobody missed it for 9 years, it's not needed at all.
More complicated is: /etc/sysconfig/network/scripts
in theory, this scrips will still be called by wicked (not NetworkManager), if you know how to configure /etc/sysconfig/network/ifcfg-* config files correct. Does anybody here know how to do so? To be fair: it's documented in the manual pages ;)
I do, via Bugzilla -> Help from max@suse and mt@suse -> reading "man 5 ifcfg" ;-) I fixed /etc/sysconfig/network/scripts/dhcpd-restart-hook some months ago, I can confirm that it is working now. But there was quite some bitrot in this script (was still in a pre systemd state before).
What should we do with this scripts?
I would suggest to keep /etc/sysconfig/network/scripts as long as wicked is available, otherwise some functionality may be missing. Cheers, Manfred
Keep them? But they are only from use for wicked, NetworkManager will not call them. And NetworkManager is the default and wicked will not be available e.g. for ALP.
My personal opinion is, to drop them. I know samba is using it (but they will need to find another solution for NetworkManager anyways, if they really need it) and dhcp (but we don't use the dhcp package anymore anywhere, and to my knowledge ISC discontinued them).
Opions what we should do here?
Thorsten
participants (2)
-
Manfred Schwarb
-
Thorsten Kukuk