Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70319 - A typo in 50-udev.rules
Summary: A typo in 50-udev.rules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-06 19:28 UTC by John Gluck
Modified: 2004-11-10 11:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Gluck 2004-11-06 19:28:25 UTC
emerge --search sys-fs/udev     output:

*  sys-fs/udev
      Latest version available: 043
      Latest version installed: 043
      Size of downloaded files: 372 kB
      Homepage:    http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
      Description: Linux dynamic and persistent device naming support (aka userspace devfs)
      License:     GPL-2

Line 69 reads: 
KERNEL="tty[p-za-e][0-9a-f]*", NAME="pty/s%n", SYMLINK="%k"

Should read:
KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"


Note : NAME="pty/s%n"  is incorrect



Reproducible: Always
Steps to Reproduce:
1. Install the package
2.
3.

Actual Results:  
See details

Expected Results:  
See details


I'm pasting this because it's asked for but I think it's irrelevant


john@tachyon ~> emerge --info sys-fs/udev
--- Invalid atom in /etc/portage/package.keywords:
x11-base/opengl-update/opengl-update-1.8.1
--- Invalid atom in /etc/portage/package.keywords:
media-video/nvdia-kernel/nvdia-kernel-1.0.6111-r2
--- Invalid atom in /etc/portage/package.keywords:
media-video/nvdia-glx/nvdia-glx-1.0.6111
Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/openjms/config /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77
foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib java jpeg kde ldap
libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png postgres python qt quicktime readline scanner sdl slang
spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xvzlib"
Comment 1 John Gluck 2004-11-06 19:33:41 UTC
Severity is at major because this screws up the /dev tree.
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-11-06 20:29:17 UTC
Why is the name incorrect?  It is different from the pty nodes.

And how come no one has noticed this is a problem yet? :)
Comment 3 John Gluck 2004-11-06 20:41:00 UTC
Reply to  Greg Kroah-Hartman:

I have no idea why no one noticed this. Actually I only found this because I stumbled upon it while looking for something else.

The name is only different because of the change change I made:

# pty devices
KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"
                                     ^
                                     |
--------------------------------------

On the bottom line the "p" is changed to a "t"
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-11-10 11:19:25 UTC
Will be fixed in next release.