Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266619 - [gnome-overlay] gnome-base/gdm-2.26.1 ebuild freezes in postinst
Summary: [gnome-overlay] gnome-base/gdm-2.26.1 ebuild freezes in postinst
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.26
  Show dependency tree
 
Reported: 2009-04-18 05:59 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2009-06-09 11:23 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 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-04-18 05:59:47 UTC
When upgrading from gdm-2.26.0 to gdm-2.26.1, the ebuild freezes during postinst:

# emerge gdm
[...]
>>> Original instance of package unmerged safely.
 * Installing GNOME 2 GConf schemas
 * Reloading GConf schemas ...                                                                                          [ ok ]
 * Updating desktop mime database ...
 * Updating shared mime info database ...
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

 * Updating icons cache ...                                                                                             [ ok ]
 * Updating scrollkeeper database ...
 * 
 * This is an EXPERIMENTAL release, please bear with its bugs and
 * visit us on #gentoo-desktop if you have problems.
 * 
 * To make GDM start at boot, edit /etc/conf.d/xdm
 * and then execute 'rc-update add xdm default'.
 * For autologin to unlock your keyring, you need to set an empty
 * password on your keyring. Use app-crypt/seahorse for that.

-- and then nothing happens --

Presumably, it hangs somewhere in the soft reset code.

This error is reproducible, and I have observed it on two different machines.


# ls -la /var/gdm/
total 4
drwxrwx--T  2 root gdm   64 2009-04-18 01:36 .
drwxr-xr-x 15 root root 157 2008-05-02 11:20 ..
-rw-------  1 root root  33 2009-03-31 17:27 .cookie
prw-rw----  1 root root   0 2009-03-31 17:27 .gdmfifo
-rw-r--r--  1 root root   0 2009-04-18 01:35 .keep_gnome-base_gdm-0
# cat /var/run/gdm.pid
7866
# ps aux |grep 7866
root      7866  0.0  0.0  30524   900 ?        Ss   Apr15   0:00 /usr/bin/gdm
root     32461  0.0  0.0   9332   884 pts/0    S+   01:58   0:00 grep --colour=auto 7866
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-04-18 06:01:57 UTC
# emerge --info
Portage 2.2_rc30 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Sat, 18 Apr 2009 03:30:16 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.16.1-r3, 2.17-r2, 2.18-r4, 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~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/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j -l4.0"
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"
Comment 2 Philipp Leonhardt 2009-05-24 19:27:12 UTC
Same here on my system

emerge --info


Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.5.0-alpha20090521, glibc-2.8_p20080602-r1, 2.6.30-rc6-git7 i686)
=================================================================
System uname: Linux-2.6.30-rc6-git7-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-glibc2.0
Timestamp of tree: Sat, 23 May 2009 16:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=atom -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=atom -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en es ja"
MAKEOPTS="-j6"
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/local/portage/layman/desktop-effects /usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/portage/layman/gnome /usr/local/portage/layman/roslin /usr/local/portage/layman/gcc-porting /usr/local/portage/layman/toolchain /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi aim alsa amr beagle berkdb bluetooth bzip2 cddb cdparanoia cdr cli cracklib crypt dbus divx dri dvb dvd dvdr dvdread emerald encode exif fam fbcon fbcondecor ffmpeg flac fortran ftp gdbm gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv icq imagemagick imap imlib ipv6 irda isdnlog jabber java javascript joystick jpeg jpeg2k lame laptop libnotify libsamplerate lirc mad midi mikmod mmx mng modplug mp3 mpeg mplayer msn mtp mudflap nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcre pdf perl png pppd pulseaudio python qq quicktime rar rdesktop readline reflection samba sdl session smp spell spl sse sse2 ssl ssse3 svg sysfs syslog tcpd theora tiff truetype unicode usb v4l v4l2 vcd videos vorbis wavpack wifi win32codecs wma wmf wxwindows x264 x86 xcomposite xine xml xmp xorg xosd xpm xulrunner xvid yahoo zlib" ALSA_CARDS="hda-intel" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en es ja" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Philipp Leonhardt 2009-05-25 06:17:55 UTC
It works now.
You have to stop gdm to merge it properly.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-25 22:14:37 UTC
this is crazy, this piece of code worked for years and now it just stops working... Hum well, we will just get rid of it. That'll be more fun for user if we just put up a message here :)
Comment 5 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-06-09 11:23:40 UTC
Fix0red, soft restart code removed, message added.