Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144785 - baselayout-1.12.4-r6 does not process old style mtu specification correctly
Summary: baselayout-1.12.4-r6 does not process old style mtu specification correctly
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 13:43 UTC by David Fellows
Modified: 2006-08-22 16:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/conf.d/net that fails (net.001,1.01 KB, text/plain)
2006-08-22 16:08 UTC, David Fellows
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Fellows 2006-08-22 13:43:08 UTC
The non-comment part of my /etc/conf.d/net is as follows:
iface_eth0="192.168.0.3 broadcast 192.168.0.255 netmask 255.255.255.0 mtu 1492"
gateway="eth0/192.168.0.1"


If I boot and then do ifconfig eth0 I get
MTU 1500 reported.  I would expect (and used to get) MTU 1492 reported.

I am sorry to be vague as to when this behaviour first changed. Sometime after mid-April 2006.Whatever baselayout version was stable at that time was OK. 
1.12.4-r6 definitely ignores the mtu value given.

The workaround is to use the new syntax as shown in /etc/conf.d/net.example.
I file the bug mostly to document the behaviour.

emerge info:
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Pentium III (Katmai)
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.mirrored.ca/ http://gentoo.osuosl.org/ "
MAKEOPTS="-j2"
PKGDIR="/var/tmp/dmfportage/packages_86"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib ipv6 isdnlog java jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcltk tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_mach64 video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-08-22 15:28:17 UTC
Please attach your full conf.d/net as I cannot replicate this.
Comment 2 David Fellows 2006-08-22 16:08:04 UTC
Created attachment 94887 [details]
/etc/conf.d/net that fails

Here is the entire conf.d/net file int the form that failed.