[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#601235: marked as done (xinit clashes with displaymanagers when using persistency)



Your message dated Thu, 28 Oct 2010 08:34:03 +0000
with message-id <E1PBNvv-0002Ag-Bf@franck.debian.org>
and subject line Bug#601235: fixed in live-config 3.0~a11-1
has caused the Debian Bug report #601235,
regarding xinit clashes with displaymanagers when using persistency
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
601235: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601235
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-config
Version: 2.0.8-1
Severity: important


When live-snapshot is used, and live-sn.cpio,gz is created, live-config installs the shell script from /lib/live/config/012-xinit on the system.  If any display manager has been spawned during bootup, 012-xinit spawns a runaway script that:
1.  spikes CPU usage (due to spawning of hundreds of instances of startx)
2.  disables the display by alteringspikes CPU usage (due to spawning of hundreds of instances of startx)
2.  disables the display by altering xauth

suggest:
1. removal of 012-xinit as unnecessary
2. changing 012-xinit:

currently:
if [ -z "\${DISPLAY}" ] && [ \$(tty) = /dev/tty1 ]
then
	while true
	do
		startx
	done
fi

suggest changing to:
if [ -s /etc/X11/default-display-manager ]
then
	if [ ! "$(pidof $(cat /etc/X11/default-display-manager)" ]
		then
			startx
	fi
	else
			startx
fi

--end

this eliminates the while loop, preventing thousands of startx processes from being spawned, and adds a check for a currently running display manager to prevent the behavior seen in this bug report


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (999, 'testing'), (900, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-config depends on:
pn  live-config-sysvinit | live-c <none>     (no description available)

Versions of packages live-config recommends:
ii  sudo                          1.7.4p4-2  Provide limited super user privile
ii  user-setup                    1.34       Set up initial user and password

Versions of packages live-config suggests:
ii  wget                          1.12-2.1   retrieves files from the web



--- End Message ---
--- Begin Message ---
Source: live-config
Source-Version: 3.0~a11-1

We believe that the bug you reported is fixed in the latest version of
live-config, which is due to be installed in the Debian FTP archive:

live-config-runit_3.0~a11-1_all.deb
  to main/l/live-config/live-config-runit_3.0~a11-1_all.deb
live-config-systemd_3.0~a11-1_all.deb
  to main/l/live-config/live-config-systemd_3.0~a11-1_all.deb
live-config-sysvinit_3.0~a11-1_all.deb
  to main/l/live-config/live-config-sysvinit_3.0~a11-1_all.deb
live-config-upstart_3.0~a11-1_all.deb
  to main/l/live-config/live-config-upstart_3.0~a11-1_all.deb
live-config_3.0~a11-1.debian.tar.gz
  to main/l/live-config/live-config_3.0~a11-1.debian.tar.gz
live-config_3.0~a11-1.dsc
  to main/l/live-config/live-config_3.0~a11-1.dsc
live-config_3.0~a11-1_all.deb
  to main/l/live-config/live-config_3.0~a11-1_all.deb
live-config_3.0~a11.orig.tar.gz
  to main/l/live-config/live-config_3.0~a11.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 601235@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated live-config package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 28 Oct 2010 10:09:58 +0200
Source: live-config
Binary: live-config live-config-runit live-config-systemd live-config-sysvinit live-config-upstart
Architecture: source all
Version: 3.0~a11-1
Distribution: experimental
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 live-config - Debian Live - System Configuration Scripts
 live-config-runit - Debian Live - System Configuration Scripts (runit backend)
 live-config-systemd - Debian Live - System Configuration Scripts (systemd backend)
 live-config-sysvinit - Debian Live - System Configuration Scripts (sysvinit backend)
 live-config-upstart - Debian Live - System Configuration Scripts (upstart backend)
Closes: 601235
Changes: 
 live-config (3.0~a11-1) experimental; urgency=low
 .
   * Disabling xinit hack when using persistency and another display
     manager has been configured (Closes: #601235).
   * Removing deep link to bug page in the manual, since we don't have
     stable references yet.
Checksums-Sha1: 
 6ab9cd6a127725fc096b23dc2eed397908fa4371 1355 live-config_3.0~a11-1.dsc
 afe8217efe3a9eafef0def9ae161108ad124cef9 73489 live-config_3.0~a11.orig.tar.gz
 752633c6035190c497827694e4d41a7f574489b5 7023 live-config_3.0~a11-1.debian.tar.gz
 06e1a8b862dcce8f6774c55bd34fc64f68444e92 38996 live-config_3.0~a11-1_all.deb
 4e871294b17128b03053ce7adfb8b4e9fc6cfa90 6706 live-config-runit_3.0~a11-1_all.deb
 97297d3f9ac6b5370457ef588a4e90127c529d73 6458 live-config-systemd_3.0~a11-1_all.deb
 6450468fdacd4a15c4216d26c70596f2b48d4634 7438 live-config-sysvinit_3.0~a11-1_all.deb
 33ff165ca99165902076735a5482ec965279dcec 6624 live-config-upstart_3.0~a11-1_all.deb
Checksums-Sha256: 
 c06dfaf5996dff64d4a37452ab53fa08e2c08311d18e2ebfa664f67225a1f579 1355 live-config_3.0~a11-1.dsc
 7338ca0573a88d51b6517581eed3852c4eff5d83dce3bcee560a6fa7333a192f 73489 live-config_3.0~a11.orig.tar.gz
 b8458cca5fb64add79bae4e2e4a7b99e81bd1b088f56ae0bf3748026a0cdd925 7023 live-config_3.0~a11-1.debian.tar.gz
 305a3988b98e0d88c2ef2189cf06d4670e254a3202b4ce7a133d5e43929ca82c 38996 live-config_3.0~a11-1_all.deb
 b0d4d7892ace055612ad8d57f8e8b26244abce301eba13d19b7953c3d2552a3e 6706 live-config-runit_3.0~a11-1_all.deb
 2b0cd6ff7d7d2cc39eb05f469735fa79c6faf7933b7be2d3e0251be673b4424d 6458 live-config-systemd_3.0~a11-1_all.deb
 4e71884075fb86fb2e39ddde381725869f75ff23281e01253cffafdac30bb666 7438 live-config-sysvinit_3.0~a11-1_all.deb
 892939a80b3962eb62c7ddb260bcbe0ab63423ceefd5b8b514a3b33559650129 6624 live-config-upstart_3.0~a11-1_all.deb
Files: 
 fc1e99ed8eb20997f69c69620330fae9 1355 misc optional live-config_3.0~a11-1.dsc
 f20a33713ed915a3183396b50f2e00d0 73489 misc optional live-config_3.0~a11.orig.tar.gz
 fc99fb4edbb3d36df6be9a7e54666160 7023 misc optional live-config_3.0~a11-1.debian.tar.gz
 a657e1f5d29bbaae12b12d5ec5e89f94 38996 misc optional live-config_3.0~a11-1_all.deb
 782ca53b2655e2a7c10fb2ba22a0384c 6706 misc optional live-config-runit_3.0~a11-1_all.deb
 bafc65ac1607c964ec86dc673f993fe2 6458 misc optional live-config-systemd_3.0~a11-1_all.deb
 6ace89c9890ec7d7322587c7654f1ed8 7438 misc optional live-config-sysvinit_3.0~a11-1_all.deb
 b3fc3147e310716b1400807dfaf1743f 6624 misc optional live-config-upstart_3.0~a11-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkzJMEcACgkQ+C5cwEsrK56+wACginsvjp1SI7PBzq86Ob6dg9Mh
XQAAn1y6HKMFP6NrWDyOgaNF8CpzFhFc
=vbjV
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: