[Bug 471253] New: yast: remove interface alias
https://bugzilla.novell.com/show_bug.cgi?id=471253 Summary: yast: remove interface alias Classification: openSUSE Product: openSUSE 11.2 Version: unspecified Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de Found By: Beta-Customer Aliases are terribly confusing, users attempt to do bad stuff with them like trying to feed them to various programs like iptables and such. Let's just remove that from yast; the runlevel/network scripts used in opensuse can cope perfectly fine with it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471253 User jengelh@medozas.de added comment https://bugzilla.novell.com/show_bug.cgi?id=471253#c1 --- Comment #1 from Jan Engelhardt <jengelh@medozas.de> 2009-01-30 20:26:44 MST --- Created an attachment (id=269061) --> (https://bugzilla.novell.com/attachment.cgi?id=269061) first step change Maybe more is needed, but this seems like that first thing that's gonna be needed. Now yast also needs to be instructed not to emit LABEL_ lines for /etc/sysconfig/network/ifcfg-xyz if this patch does not already imply that. YCP is an absolute mystery language so far. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471253 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mzugec@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471253 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=471253#c2 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mt@novell.com --- Comment #2 from Michal Zugec <mzugec@novell.com> 2009-02-23 06:14:01 MST --- Marius, what's your opinion about alias labels? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471253 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=471253#c3 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |mt@novell.com Info Provider|mt@novell.com | --- Comment #3 from Marius Tomaschewski <mt@novell.com> 2009-02-24 03:10:33 MST --- I agree that we shouldn't "promote them" in any way -- it is legacy code to preserve compatibility with Linux-2.0 net aliases. But I don't know if it makes sense to remove the support from yast2 or not. I think, it makes more sense to say the people, that they are legacy code. A better way would be IMO to display a "legacy code" warning before every save when labels are in use... But please: let the user enough time to read what's about, but close the popup box automatically after some time and continue. I've adopted the "ifcfg" manual page in svn to make it clear: "[...] LABEL[suffix] Each IPv4 address may be tagged with a label string in order to preserve compatibility with Linux-2.0 net aliases. This string must coincide with the name of the interface or must be prefixed with the interface name followed by colon. Labels are ignored for IPv6 addresses. Note: Labels and ifconfig are legacy code and should not be used any more. The resulting "alias" interfaces are not true inter- faces and can't be used e.g. in firewall scripts. The total length of interface name (inclusive of the colon and label) is limited to 15 characters and the obsolete ifconfig utility trun- cates it after 9 characters. See also Multiple addresses (see below). [...] Multiple addresses You can extend the variable name IPADDR by any string you like. For example IPADDR_1, IPADDR-FOO or IPADDRxxx. Use these variables for your IP addresses. If you need some additional parameters for these addresses, then just add the same extension to these variable names: BROADCAST, NETMASK, PREFIXLEN, REMOTE_IPADDR, LABEL, SCOPE, IP_OPTIONS. Example: IPADDR=10.10.0.1/16 IPADDR_1=10.10.1.1 NETMASK_1=255.255.0.0 BROADCAST_1=10.10.255.255 IPADDR_2=10.10.2.1/16 IPADDR_3=10.10.3.1/16 IPADDR_6=2001:DB8:BEEF::1/64 ... and so on ... You do not need to set labels for any address. Please use the ip com- mand (ip addr show) to manage interface addresses instead of the obso- lete ifconfig command. If you want to use ifconfig and label, then omit the label for your main address and use a number as label for every additional address. [...]" OK? Feedback to improve manual pages is always welcome! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471253 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=471253#c4 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #4 from Michal Zugec <mzugec@novell.com> 2009-02-24 10:28:49 MST --- fixed in yast2-2.18.12, yast2-network-2.18.12 I'll add there some text about legacy labels before closing bug -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471253 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=471253#c5 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Michal Zugec <mzugec@novell.com> 2009-03-02 07:41:36 MST --- added help text -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com