Summary: | wrong permissions and group(?) on /dev/null => regular users scripts fail | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anders Grönlund <a_gronlund> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Anders Grönlund
2005-07-26 04:12:51 UTC
you neglected to post `emerge info` so i'm just gonna assume you have an older version of binutils/gcc which tends to screw around with /dev/null when emerging stuff Gentoo Base System version 1.6.12 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 Pentium III (Coppermine) Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jul 12 2005, 02:33:49)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.4_p6, 1.8.5-r3, 1.6.3, 1.9.5, 1.7.9-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo" LC_ALL="sv_SE.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups curl eds emacs emboss encode esd f77 fam foomaticdb fortran ftp gb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mozilla mp3 mpeg mule ncurses nls nptl ogg oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline samba sdl spell sse ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts unicode vcd vorbis x86 xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY (In reply to comment #0) > From > # ls -l /dev/null > i get > # crw-rw---- 1 root root 1, 3 26 jul 12.22 /dev/null > > so that only root can write to /dev/null and consequently regular users > startup/login/xerver scripts fails. > If I chmod and chown it, it will have its incorrect values at next boot again. > > I have > baselayout 1.11.12-r4 and > kernel 2.6.12-gentoo-r4x > > My system runs on an Intel PIII. > > Best regards, > Anders. > > Reproducible: Always > Steps to Reproduce: > 1. Start system > 2. > 3. > > Actual Results: > # ls -l /dev/null > # crw-rw---- 1 root root 1, 3 26 jul 12.22 /dev/null > > > Expected Results: > # ls -l /dev/null > # crw-rw---- 1 root users 1, 3 26 jul 12.22 /dev/null > > I would think that the group users should should have rw privilegies... (In reply to comment #0) > From > # ls -l /dev/null > i get > # crw-rw---- 1 root root 1, 3 26 jul 12.22 /dev/null > > so that only root can write to /dev/null and consequently regular users > startup/login/xerver scripts fails. > If I chmod and chown it, it will have its incorrect values at next boot again. > > I have > baselayout 1.11.12-r4 and > kernel 2.6.12-gentoo-r4x > > My system runs on an Intel PIII. > > Best regards, > Anders. > > Reproducible: Always > Steps to Reproduce: > 1. Start system > 2. > 3. > > Actual Results: > # ls -l /dev/null > # crw-rw---- 1 root root 1, 3 26 jul 12.22 /dev/null > > > Expected Results: > # ls -l /dev/null > # crw-rw---- 1 root users 1, 3 26 jul 12.22 /dev/null > > I would think that the group users should should have rw privilegies... yeah, newer versions of binutils/gcc should not screw around with /dev/null you're prob running udev so this should fix things: cd /dev udevstart ls -l /dev/null Or the udev rules file was not updated properly ... emerge --noconfmem udev and etc-update again. |