Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147227

Summary: net-dialup/pptpclient-1.7.1 - pptp-command Insecure directory error
Product: Gentoo Linux Reporter: Cyril Lashkevich <lorca_not_orca>
Component: Current packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cyril Lashkevich 2006-09-11 13:32:48 UTC
# pptp-command
1.) start
2.) stop
3.) setup
4.) quit
What task would you like to do?: 1
Insecure directory in $ENV{PATH} while running with -T switch at /usr/sbin/pptp-command line 125, <STDIN> line 1.
# emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.4
Last Sync: Mon, 11 Sep 2006 14:00:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF8"
LC_ALL=""
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/packages"
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/overlays/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli crypt cups dbus dlloader dri dvd dvdr dvdread elibc_glibc emboss encode fam fbcon ffmpeg gif gpm hal ieee1394 imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics irda isdnlog jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux ldap libcaca libg++ linguas_en linguas_ru live lm_sensors mad mikmod mmx mmxext mp3 mpeg multislot ncurses nls nptl nptlonly nsplugin ogg opengl pam pcmcia pcre pdf pdflib png pppd profile python qt3 quicktime readline real reflection rtc samba sasl sdl session socks5 spell spl sse sse2 ssl symlink tcpd tetex tga threads tiff truetype truetype-fonts type1-fonts udev unicode urandom usb userland_GNU userlocales video_cards_i810 video_cards_i915 vorbis wifi win32codecs wmf xcomposite xine xml xml2 xorg xosd xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# equery l -i ppp
[ Searching for package 'ppp' in all categories among: ]
 * installed packages
[I--] [ ~] net-dialup/ppp-2.4.4-r1 (0)

# equery l -i pptpclient
[ Searching for package 'pptpclient' in all categories among: ]
 * installed packages
[I--] [  ] net-dialup/pptpclient-1.7.1 (0)

# emerge -pv perl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/perl-5.8.8-r2  USE="berkdb -build -debug -doc -gdbm -ithreads -perlsuid" 0 kB
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-09-11 22:35:05 UTC
Please don't use bugs.g.o for support requests. Our forums is the place for that.

For fixing the problem, read perlsec manual page. A quick fix would be to build your perl with perlsuid USE flag enabled.
Comment 2 Cyril Lashkevich 2006-09-13 12:16:25 UTC
Thanks, problem solved.