Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290733 - Stabilize x11-libs/libgksu-2.0.12
Summary: Stabilize x11-libs/libgksu-2.0.12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 291837
Blocks: 263408
  Show dependency tree
 
Reported: 2009-10-27 12:08 UTC by Pacho Ramos
Modified: 2009-12-15 19:24 UTC (History)
2 users (show)

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


Attachments
01_revert_forkpty.patch (01_revert_forkpty.patch,10.06 KB, patch)
2009-11-05 18:12 UTC, Pacho Ramos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2009-10-27 12:08:28 UTC
Works fine here since was added to the tree

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-zen4 x86_64)
=================================================================
System uname: Linux-2.6.31-zen4-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13
Timestamp of tree: Sat, 24 Oct 2009 10:30:17 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  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=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
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=native -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache cvs distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms sign strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/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/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb branding bzip2 cairo cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick isdnlog java jpeg kdeenablefinal kdehiddenvisibility kpathsea latex libnotify lyx lzma mad mikmod mmx mmxext modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd threads thunar tiff truetype unicode usb v4l2 vcd vorbis webkit x264 xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-28 21:14:10 UTC
Hi arches, x11-libs/libgksu-2.0.12 has been in tree since 20 Jul 2009.

Please do your magic, target keywords are:  alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86

Thanks in advance
Comment 2 Markus Meier gentoo-dev 2009-10-30 19:21:36 UTC
amd64/x86 stable
Comment 3 dE 2009-11-05 17:43:31 UTC
This package has a bug...request moving to unstable branch.

Emerging this will result in gksu saying - 

"sudo: sorry, a password is required to run sudo
Comment 4 Pacho Ramos gentoo-dev 2009-11-05 18:01:07 UTC
How do you run or configure it? Sorry, I never use sudo :-S, I checked that it works fine for running gdmsetup and launching gnome-terminal, but I use "su" "mode"
Comment 5 Pacho Ramos gentoo-dev 2009-11-05 18:05:20 UTC
Seems related with:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540176
https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/394261

but I am not sure if it's a regression :-/, I am going to look at ubuntu package
Comment 6 Pacho Ramos gentoo-dev 2009-11-05 18:12:20 UTC
Created attachment 209356 [details, diff]
01_revert_forkpty.patch

Can any of you try attached patch? It's being applied by ubuntu for:
  * debian/patches/01_revert_forkpty.patch:
    - revert the upstream change to run sudo in a forkpty() 
      environment, this is incompatible with our default
      sudo tty_tickets configuration 

Seems that a configure option has been added by upstream for being able to choose proper option on each distribution, but it will come in next release
Comment 7 dE 2009-11-06 02:27:49 UTC
"How do you run or configure it? Sorry, I never use sudo :-S, I checked that it
works fine for running gdmsetup and launching gnome-terminal, but I use "su"
"mode""

Configure gksu?...I know sudoers but no configuration for gksu...it's just a front end to sudo how can it have a configuration?

The problem lies with gksu only.

I'm using xfce and xfce terminal with xdm.

Using libgksu-2.0.9 resolves the issue.
Comment 8 Pacho Ramos gentoo-dev 2009-11-06 22:00:44 UTC
(In reply to comment #7)
> "How do you run or configure it? Sorry, I never use sudo :-S, I checked that it
> works fine for running gdmsetup and launching gnome-terminal, but I use "su"
> "mode""
> 
> Configure gksu?...I know sudoers but no configuration for gksu...it's just a
> front end to sudo how can it have a configuration?
> 

Sorry, I misexplained it, I was really referring to gksu-properties
 
> Using libgksu-2.0.9 resolves the issue.
> 

Have you tried to apply attached patch to libgksu-2.0.12?
Comment 9 dE 2009-11-07 07:00:18 UTC
"Have you tried to apply attached patch to libgksu-2.0.12?"

No...I think that patch should be in the repository.

I'll try.
Comment 10 Pacho Ramos gentoo-dev 2009-11-07 14:53:55 UTC
The patch will be added if it really solves this bug ;-)
Comment 11 nixnut (RETIRED) gentoo-dev 2009-11-08 20:07:06 UTC
ppc stable
Comment 12 dE 2009-11-09 06:31:04 UTC
How do you apply this patch...sorry, I'm not a developer.
Comment 13 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-11-14 18:35:05 UTC
Copy the patch into /usr/portage/x11-libs/libgksu/files and add another epatch line for it to the ebuild.  Then run "ebuild libgksu-2.0.12.ebuild manifest" from the directory (as root). Then just emerge it.  Note, this will go away next time you sync, but that's fine for testing it.
Comment 14 dE 2009-11-15 14:48:12 UTC
Issue resolves when patch applied.

So please add this to the portage tree so I can sync safely.



And aa...there're not security issues right?
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-16 22:23:34 UTC
Stable for HPPA.
Comment 16 dE 2009-11-17 03:31:05 UTC
aaa...Can someone acknowledge if it has been merged with the main portage tree?
Comment 17 Brent Baude (RETIRED) gentoo-dev 2009-11-17 19:54:17 UTC
ppc64 done
Comment 18 Tobias Klausmann (RETIRED) gentoo-dev 2009-11-22 19:09:16 UTC
Stable on alpha.
Comment 19 Markus Meier gentoo-dev 2009-11-26 17:59:57 UTC
arm stable
Comment 20 Raúl Porcel (RETIRED) gentoo-dev 2009-12-15 19:24:54 UTC
ia64/sh/sparc stable, closing