Bug#457900: xfs: upgrade from xterm freezes X server
* Brice Goglin [Mon, 24 Mar 2008 17:31:42 +0100]: What do you have in /etc/X11/fs/xfs.options ? I don't have such file (only a config one in the same directory). Cheers, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Love in your heart wasn't put there to stay. Love isn't love 'til you give it away. -- Oscar Hammerstein II
Bug#457900: xfs: upgrade from xterm freezes X server
Adeodato Simó wrote: * Brice Goglin [Sun, 16 Mar 2008 01:35:05 +0100]: Are you sure that these programs were actually stuck? Or were they just unable to display and receive events from you? Seemed stuck to me. There was no HD activity whatsoever, and when I changed to a VT, I could see no dpkg process running with ps. As soon as I did xfs start, dpkg processes appeared. What do you have in /etc/X11/fs/xfs.options ? Brice
Bug#457900: xfs: upgrade from xterm freezes X server
Adeodato Simó wrote: * Brice Goglin [Mon, 24 Mar 2008 17:31:42 +0100]: What do you have in /etc/X11/fs/xfs.options ? I don't have such file (only a config one in the same directory). Ok, thanks. xfs isn't supposed to restart in this case. I guess the bug is caused by the postinst script being the default one provided by dh_installinit and thus restarting the daemon on each upgrade. We have some specific scripts to avoid this (only restart on upgrade if specified in /etc/X11/fs/xfs.options) but it looks like we don't actually use them, I am looking at fixing this. Brice
Bug#457900: xfs: upgrade from xterm freezes X server
* Brice Goglin [Mon, 24 Mar 2008 17:58:57 +0100]: Adeodato Simó wrote: * Brice Goglin [Mon, 24 Mar 2008 17:31:42 +0100]: What do you have in /etc/X11/fs/xfs.options ? I don't have such file (only a config one in the same directory). Ok, thanks. xfs isn't supposed to restart in this case. I guess the bug is caused by the postinst script being the default one provided by dh_installinit and thus restarting the daemon on each upgrade. We have some specific scripts to avoid this (only restart on upgrade if specified in /etc/X11/fs/xfs.options) but it looks like we don't actually use them, I am looking at fixing this. Aha. Well, what the scripts really ought to do is stop prior to unpacking and starting on configure, but just restart on configure (so that there's a minimum time when there is not a font server). And if you do that, maybe that behavior could be made the default for xfs.options. Cheers, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Any life, no matter how long and complex it may be, is made up of a single moment: the moment in which a man finds out, once and for all, who he is. -- Jorge Luis Borges
Bug#457900: xfs: upgrade from xterm freezes X server
* Brice Goglin [Sun, 16 Mar 2008 01:35:05 +0100]: Are you sure that these programs were actually stuck? Or were they just unable to display and receive events from you? Seemed stuck to me. There was no HD activity whatsoever, and when I changed to a VT, I could see no dpkg process running with ps. As soon as I did xfs start, dpkg processes appeared. Cheers, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Arguing with an engineer is like wrestling with a pig in mud: after a while, you realize the pig is enjoying it.
Bug#457900: xfs: upgrade from xterm freezes X server
On 2008-03-16 01:35 +0100, Brice Goglin wrote: Last time I saw problems while upgrading xfs, my xterm/dist-upgrade was unable to display anything, but it was still upgrading things in background. So xfs finally got restarted at the end of the upgrade and I got everything working as before. Not nice meanwhile, but seems to be working fine iirc. As long as it does not ask any questions during the upgrade, e.g. by dpkg's conffile prompt, otherwise you lose. :-( BTW, the restart-on-upgrade option mentioned in xfs.options(5) appears to be completely ignored, and your prerm script unconditionally stops the font server before the upgrade. Some people seem to think that this is a bad idea because the service is then down for several minutes (see [1], [2]). Regards, Sven [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471060 [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471051 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#457900: xfs: upgrade from xterm freezes X server
Paul Evans wrote: Package: xfs Version: 1:1.0.5-2 Severity: normal During a normal 'dist-upgrade' of my system, the xfs package was upgraded. Early on in 'dist-upgrade', the old XFS was stopped. This caused the xterm that dist-upgrade was running from to stop responding, as well as other X programs stopping. To fix this, I ssh'ed in from another machine and ran: /etc/init.d/xfs start This woke up the xterm and allowed me to finish the upgrade Are you sure that these programs were actually stuck? Or were they just unable to display and receive events from you? Last time I saw problems while upgrading xfs, my xterm/dist-upgrade was unable to display anything, but it was still upgrading things in background. So xfs finally got restarted at the end of the upgrade and I got everything working as before. Not nice meanwhile, but seems to be working fine iirc. Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#457900: xfs: upgrade from xterm freezes X server
Package: xfs Version: 1:1.0.5-2 Severity: normal During a normal 'dist-upgrade' of my system, the xfs package was upgraded. Early on in 'dist-upgrade', the old XFS was stopped. This caused the xterm that dist-upgrade was running from to stop responding, as well as other X programs stopping. To fix this, I ssh'ed in from another machine and ran: /etc/init.d/xfs start This woke up the xterm and allowed me to finish the upgrade -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.23-mh1.ket Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xfs depends on: ii libc6 2.7-4 GNU C Library: Shared libraries ii libfs62:1.0.0-4 X11 Font Services library ii libxfont1 1:1.3.1-1 X11 font rasterisation library xfs recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]