Colin Watson wrote:
reassign 475188 network-manager thanksOn Thu, Apr 10, 2008 at 08:44:13AM +0200, Jordi Pujol wrote:El Wednesday 09 April 2008 18:30:15 Colin Watson va escriure:Both we are sure of that is not very coherent, but a Debian testing release calls the programs in the directory if-up.d with this value when the interfaces are started from KDE Network Manager.On Wed, Apr 09, 2008 at 05:44:46PM +0200, Jordi Pujol wrote:using NetworkManager, the script /etc/network/if-up.d/openssh-server does not reload, because it is called with the variable ADDRFAM equal to "NetworkManager"That makes no sense. In what way is NetworkManager an address family?in this case the problem could be of Network Manager ?Unless the network-manager maintainer says otherwise, yes, I think this is a network-manager bug. It just doesn't make sense to set ADDRFAM like this.
I took over this code from the previous maintainer of network-manager (CCed), so I don't know the reasoning for choosing "NetworkManager" as ADDRFAM.
Some background details:NM provides it's own dispatcher mechanism to run scripts via /etc/NetworkManager/dispatcher.d. For interoperability with ifupdown, NM installs the 01ifupdown script by default, which calls the scripts in /etc/network/if-*.d/.
This 01ifupdown script sets ADDRFAM="NetworkManager".Say, ssh provided a native NM dispatcher script to reload ssh in /etc/NetworkManager/dispatcher.d besides the "legacy" ifupdown hook. To not reload ssh twice, you need a way to differentiate connections managed by ifupdown or NM.
This could be a reason for setting ADDRFAM="NetworkManager".I CCed the original maintainer of NM for his opinion on this matter and the historical reason for this setting.
I don't have a strong preference in either way (keeping or changing this setting).
As NM manages different types of connections (dialup (PPP,PPPOE,GSM,CDMA), ethernet/wlan, vpn), I was wondering, what the correct ADDRFAM should be, if not NetworkManager.
Maybe the ifupdown maintainers can comment on this (CCed). Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-utopia-maintainers mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-utopia-maintainers
