Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69694 - ppp 2.4.2-r7 breaks name resolution for all but group "users"
Summary: ppp 2.4.2-r7 breaks name resolution for all but group "users"
Status: RESOLVED DUPLICATE of bug 37886
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-01 00:21 UTC by Oliver Schoett
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Oliver Schoett 2004-11-01 00:21:43 UTC
ppp 2.4.2-r7 introduces new(*) code in /etc/ppp/ip-up that manipulates /etc/resolv.conf, among it

	# correct permissions
	chmod 640 /etc/resolv.conf
	chown root:users /etc/resolv.conf

This means that name resolution (and hence networking) breaks for every non-root user that is not in group "users", creating a new requirement to keep users in that group to enable networking for them.

For users that have not been a member of that group (my primary group is different for NFS compatibility with company systems), it suddenly breaks networking and hence becomes a blocker, as one loses access to forum and bug database that might help solve the problem.

(*) I am running a mostly stable gentoo system, hence the change was introduced to my system by portage yesterday (Oct 31).


# emerge --info
Portage 2.0.51-r2 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
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-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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 fixpackages noauto notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.inode.at/ http://gentoo.mirror.sdv.fr http://www.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.de.gentoo.org/gentoo-portage/"
USE="X acpi alsa avi berkdb bitmap-fonts cdr crypt cups dvd emacs encode esd f77 foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mbox mikmod mmx mmx2 motif mozilla mpeg nas ncurses network nptl oggvorbis opengl pam pdflib perl png python qt quicktime readline rtc samba sdl slang spell sse sse2 ssl svga tcpd tetex theora tiff truetype usb x86 xml2 xmms xv xvid zlib"
Comment 1 Oliver Schoett 2004-11-01 00:51:06 UTC
Please reopen Bug 37886 (I am not allowed to do that)

ppp 2.4.2-r7 contains "chmod 640 /etc/resolv.conf" in /etc/ppp/ip-up.d, which according to that bug should have been fixed already.


*** This bug has been marked as a duplicate of 37886 ***