Hello community,
here is the log from the commit of package sysconfig for openSUSE:Factory
checked in at Mon Oct 12 15:55:55 CEST 2009.
--------
--- sysconfig/sysconfig.changes 2009-10-06 16:41:25.000000000 +0200
+++ /mounts/work_src_done/STABLE/sysconfig/sysconfig.changes 2009-10-09 15:44:31.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Oct 9 15:33:27 CEST 2009 - mt@suse.de
+
+- version 0.72.6
+- Fixed support of eth0.VLAN interface name schema as well as custom
+ names, documented it in the ifcfg-vlan(5) manual page (bnc#534032,
+ fate#305947).
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
sysconfig-0.72.5.tar.bz2
New:
----
sysconfig-0.72.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sysconfig.spec ++++++
--- /var/tmp/diff_new_pack.AY4Cxb/_old 2009-10-12 15:53:41.000000000 +0200
+++ /var/tmp/diff_new_pack.AY4Cxb/_new 2009-10-12 15:53:41.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package sysconfig (Version 0.72.5)
+# spec file for package sysconfig (Version 0.72.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,7 +19,7 @@
Name: sysconfig
-Version: 0.72.5
+Version: 0.72.6
Release: 1
Summary: The sysconfig scheme
Group: System/Base
++++++ sysconfig-0.72.5.tar.bz2 -> sysconfig-0.72.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.72.5/ChangeLog new/sysconfig-0.72.6/ChangeLog
--- old/sysconfig-0.72.5/ChangeLog 2009-10-06 16:38:51.000000000 +0200
+++ new/sysconfig-0.72.6/ChangeLog 2009-10-09 15:43:05.000000000 +0200
@@ -1,11 +1,33 @@
------------------------------------------------------------------------
-r1949 | mt | 2009-10-06 16:35:09 +0200 (Tue, 06 Oct 2009) | 2 lines
+r1958 | mt | 2009-10-09 15:42:09 +0200 (Fri, 09 Oct 2009) | 2 lines
Changed paths:
- A /tags/version-0.72.5 (from /branches/opensuse-11.2:1948)
+ A /tags/version-0.72.6 (from /branches/opensuse-11.2:1957)
-Tagged sysconfig version 0.72.5
+Tagged sysconfig version 0.72.6 (opensuse-11.2 branch)
------------------------------------------------------------------------
+r1957 | mt | 2009-10-09 15:39:58 +0200 (Fri, 09 Oct 2009) | 1 line
+Changed paths:
+ M /branches/opensuse-11.2/VERSION
+ M /branches/opensuse-11.2/package/sysconfig.changes
+
+Updated sysconfig.changes file, version 0.72.6
+------------------------------------------------------------------------
+r1956 | mt | 2009-10-09 15:39:54 +0200 (Fri, 09 Oct 2009) | 2 lines
+Changed paths:
+ M /branches/opensuse-11.2/doc/ifcfg-vlan.5
+ M /branches/opensuse-11.2/scripts/ifup-802.1q
+
+Improved custom name support for vlan interfaces, documented
+it in the ifcfg-vlan(5) manual page (fate#305947).
+------------------------------------------------------------------------
+r1955 | mt | 2009-10-09 15:39:50 +0200 (Fri, 09 Oct 2009) | 2 lines
+Changed paths:
+ M /branches/opensuse-11.2/scripts/ifup-802.1q
+
+Implemented support of eth0.VLAN name schema as well as custom
+names for vlan interfaces (bnc#534032).
+------------------------------------------------------------------------
r1948 | mt | 2009-10-06 16:34:22 +0200 (Tue, 06 Oct 2009) | 3 lines
Changed paths:
M /branches/opensuse-11.2/VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.72.5/VERSION new/sysconfig-0.72.6/VERSION
--- old/sysconfig-0.72.5/VERSION 2009-10-06 16:35:54.000000000 +0200
+++ new/sysconfig-0.72.6/VERSION 2009-10-09 15:42:26.000000000 +0200
@@ -1 +1 @@
-0.72.5
+0.72.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.72.5/configure new/sysconfig-0.72.6/configure
--- old/sysconfig-0.72.5/configure 2009-10-06 16:38:36.000000000 +0200
+++ new/sysconfig-0.72.6/configure 2009-10-09 15:42:46.000000000 +0200
@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.in Revision: 1.13 .
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for sysconfig 0.72.5.
+# Generated by GNU Autoconf 2.63 for sysconfig 0.72.6.
#
# Report bugs to http://www.suse.de/feedback/.
#
@@ -746,8 +746,8 @@
# Identity of this package.
PACKAGE_NAME='sysconfig'
PACKAGE_TARNAME='sysconfig'
-PACKAGE_VERSION='0.72.5'
-PACKAGE_STRING='sysconfig 0.72.5'
+PACKAGE_VERSION='0.72.6'
+PACKAGE_STRING='sysconfig 0.72.6'
PACKAGE_BUGREPORT='http://www.suse.de/feedback/'
ac_unique_file="scripts/ifup"
@@ -1479,7 +1479,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures sysconfig 0.72.5 to adapt to many kinds of systems.
+\`configure' configures sysconfig 0.72.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1549,7 +1549,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of sysconfig 0.72.5:";;
+ short | recursive ) echo "Configuration of sysconfig 0.72.6:";;
esac
cat <<\_ACEOF
@@ -1649,7 +1649,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-sysconfig configure 0.72.5
+sysconfig configure 0.72.6
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1663,7 +1663,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by sysconfig $as_me 0.72.5, which was
+It was created by sysconfig $as_me 0.72.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2383,7 +2383,7 @@
# Define the identity of the package.
PACKAGE='sysconfig'
- VERSION='0.72.5'
+ VERSION='0.72.6'
cat >>confdefs.h <<_ACEOF
@@ -12360,7 +12360,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by sysconfig $as_me 0.72.5, which was
+This file was extended by sysconfig $as_me 0.72.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -12414,7 +12414,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-sysconfig config.status 0.72.5
+sysconfig config.status 0.72.6
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.72.5/doc/ifcfg-vlan.5 new/sysconfig-0.72.6/doc/ifcfg-vlan.5
--- old/sysconfig-0.72.5/doc/ifcfg-vlan.5 2009-10-06 16:35:53.000000000 +0200
+++ new/sysconfig-0.72.6/doc/ifcfg-vlan.5 2009-10-09 15:42:26.000000000 +0200
@@ -10,38 +10,101 @@
.B /etc/sysconfig/network/ifcfg-vlan*
.SH Virtual LANs (802.1q)
-To setup a vlan interface you need a configuration file ifcfg-vlan<X> with the
-usual network settings. Additionally there must be the variable
+To setup a vlan interface you need a configuration file that contains at
+least the mandatory
+.TP
.B ETHERDEVICE
-that contains the real interface for the virtual LAN. The real interface will be
-set UP automatically and doesn't need a config file. (But without a config file
-YaST will consider this interface as unused. To avoid that just provide and
-empty config file for it.)
+variable with the real interface used for the virtual LAN.
-Example that sets up vlan3 on top of eth0:
+.PP
+Further, it may contain the optional
+.TP
+.B VLAN_ID
+variable that specifies the VLAN ID.
+
+.PP
+By default and when the \fBVLAN_ID\fR variable is \fInot\fR set, the
+number at the end of the interface name is the VLAN ID.
+
+Preferably the interface name and the configuration file follow the
+VLAN interface name scheme (type), that is either:
+.RS
+.PD 0
+.P
+ifcfg-\fBvlan\fR<\fBVLAN-ID\fR> (e.g. ifcfg-\fIvlan42\fR)
+
+or
+
+.P
+ifcfg-\fBname\fR.<\fBVLAN-ID\fR> (e.g. ifcfg-\fIeth0.42\fR)
+.PD
+.RE
+
+The VLAN-ID can be also 0-padded (e.g. ifcfg-vlan0042 or ifcfg-eth0.0042).
+
+Also in case of custom names, trailing digits are interpreted as VLAN-ID
+by default (e.g. ifcfg-dmz42). When \fBVLAN_ID\fR is set in the config,
+the interface name have any name (e.g. ifcfg-foobar).
+
+Note: The drawback of custom interface names and VLAN_ID usage is,
+that a rename of the interface is required and that they violate
+the name scheme.
+
+.PP
+The real interface will be set UP automatically and doesn't need a config
+file in case of a physical interface. But without a config file YaST will
+consider this interface as unused, if will not follow hotplug events and
+you're unable to apply any settings, e.g. ETHTOOL_OPTIONS. To avoid that,
+provide an config file with at least STARTMODE='auto'.
+
+The rest of the VLAN interface IP and routes configuration do not differ
+from ordinary interfaces. See also \fIman\ ifcfg\fR and \fIman\ routes\fR
+for details.
+
+.SH EXAMPLES
+.TP
+Sets up \fIvlan3\fR vlan interface on top of \fBeth0\fR:
.I ifcfg-vlan3
.nf
- STARTMODE=onboot
- ETHERDEVICE=eth0
- IPADDR=192.168.3.27/24
+ STARTMODE='auto'
+ ETHERDEVICE='\fBeth0\fR'
+ IPADDR='192.168.3.27/24'
.fi
-The configuration of routes for this kind of interface does not differ from
-ordinary interfaces. See
-.I man routes
-for details.
+.TP
+Sets up \fIeth0.3\fR vlan interface on top of \fBeth0\fR:
+
+.I ifcfg-eth0.3
+.nf
+ STARTMODE='auto'
+ ETHERDEVICE='\fBeth0\fR'
+ IPADDR='192.168.3.27/24'
+.fi
+
+.TP
+Sets up \fIlan1\fR vlan interface with ID \fB42\fR on top of \fBeth0\fR:
+
+.I ifcfg-lan1
+.nf
+ STARTMODE='auto'
+ ETHERDEVICE='\fBeth0\fR'
+ VLAN_ID='\fB42\fR'
+ IPADDR='192.168.3.27/24'
+.fi
.SH BUGS
Please report bugs at http://www.suse.de/feedback
.SH AUTHOR
.nf
-Christian Zoz