Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286424 - app-admin/eselect-python: Process names of directly executed Python scripts are argv[0] instead of argv[1] or argv[2]
Summary: app-admin/eselect-python: Process names of directly executed Python scripts a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-09-25 16:01 UTC by Arne Babenhauserheide
Modified: 2010-03-23 20:19 UTC (History)
2 users (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 Arne Babenhauserheide 2009-09-25 16:01:50 UTC
Hi, 

Since I updated to Python2.6, emerge gets shown in "top" only as python2.6 instead of being shown as "emerge". 

Reproducible: Always

Steps to Reproduce:
1. emerge -p world &
2. top




Expected Results:  
The name in top should stay emerge, since I often have more than one Python program running in parallel. 

# emerge --info                                                                                
Portage 2.2_rc41 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-hh2 x86_64)                                                                                                   
=================================================================                                      
System uname: Linux-2.6.30-hh2-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.11.1          
Timestamp of tree: Fri, 25 Sep 2009 00:45:01 +0000                                                     
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                              
ccache version 2.4 [enabled]                                                                           
app-shells/bash:     4.0_p28                                                                           
dev-java/java-config: 2.1.8-r1                                                                         
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1, 3.1.1-r1                                               
dev-python/pycrypto: 2.0.1-r8                                                                          
dev-util/ccache:     2.4-r7                                                                            
dev-util/cmake:      2.6.4                                                                             
sys-apps/baselayout: 1.12.11.1                                                                         
sys-apps/sandbox:    1.6-r2                                                                            
sys-devel/autoconf:  2.13, 2.63-r1                                                                     
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                         
sys-devel/binutils:  2.18-r3                                                                           
sys-devel/gcc-config: 1.4.1                                                                            
sys-devel/libtool:   2.2.6a                                                                            
virtual/os-headers:  2.6.27-r2                                                                         
ACCEPT_KEYWORDS="amd64"                                                                                
CBUILD="x86_64-pc-linux-gnu"                                                                           
CFLAGS="-march=k8 -O2 -pipe"                                                                           
CHOST="x86_64-pc-linux-gnu"                                                                            
CONFIG_PROTECT="/etc /usr/share/config"                                                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                             
CXXFLAGS="-march=k8 -O2 -pipe"                                                                         
DISTDIR="/var/tmp/portage/distfiles"                                                                   
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps y"                                                      
FEATURES="assume-digests ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                               
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://de-mirror.org/distro/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://gentoo.cs.nctu.edu.tw/gentoo/ "                           
LANG="de_DE.UTF-8"                                                                                     
LDFLAGS="-Wl,-O1"                                                                                      
LINGUAS="de es eo en us"                                                                               
MAKEOPTS="-j2"                                                                                         
PKGDIR="/var/tmp/portage/packages"                                                                     
PORTAGE_CONFIGROOT="/"                                                                                 
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                
PORTAGE_TMPDIR="/var/tmp"                                                                              
PORTDIR="/usr/portage"                                                                                 
PORTDIR_OVERLAY="/usr/local/overlays/genbab /usr/portage/local/layman/berkano /usr/portage/local/layman/sunrise /usr/portage/local/layman/qting-edge /usr/portage/local/layman/sping /usr/portage/local/layman/zugaina /usr/portage/local/layman/interactive-fiction /usr/portage/local/layman/science /usr/portage/local/layman/gnustep /usr/portage/local/layman/kde-testing /usr/portage/local/layman/gnome /usr/portage/local/layman/python /usr/portage/local/layman/emacs /usr/portage/local/layman/tove/repo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi akode akonadi alias alsa amd64 amrnb amrwb autoreplace avahi bash-completion berkdb blender-game bonjour branding bzip2 cairo cdaudio cdr cli contactnotes cracklib crypt cups cupsddk curl dbus dri dts dv dvd dvdnav dvdr eds emacs emboss encode esd espeak evo examples fam festival ffmpeg firefox flac flite fortran gadu gdbm gif gnustep gnutls gpg gpm groupwise gstreamer hal highlight history iconv id3tag ipod ipv6 isdnlog jabber java5 java6 jingle jpeg kde kqemu ktts ladspa latex ldap libcaca libnotify lm_sensors mad mdnsresponder-compat midi mikmod mmx mng modules mp2 mp3 mp4 mpeg mudflap multilib musepack mysql ncurses nemesi network nls nptl nptlonly nsplugin objc offensive ogg openal openexr opengl openmp oscar otr pam pcre pdf perl phonon png pnm ppds pppd privacy pvr python qt3support qt4 quicktime readline reflection rss scanner schroedinger sdl semantic semantic-desktop session smartcard snmp sound speex spell spl sql sse sse2 ssl startup-notification statistics svg sysfs taglib tcpd theora threads thunar tiff tk toolkit-scroll-bars tools truetype unicode urlpicpreview usb v4l2 vhook vorbis webkit x264 xanim xml xorg xpm xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev input_devices_wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de es eo en us" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd ati vesa mesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-21 11:50:36 UTC
Fixed in r312.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-21 22:01:57 UTC
Fixed in app-admin/eselect-python-20100321.
Comment 3 Arne Babenhauserheide 2010-03-23 20:19:13 UTC
You're great! Many thanks!