[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 07:02:23 +0000
with message-id <E1PBMVD-0000vL-2e@franck.debian.org>
and subject line Bug#601235: fixed in live-config 2.0.10-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: 2.0.10-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_2.0.10-1_all.deb
  to main/l/live-config/live-config-runit_2.0.10-1_all.deb
live-config-systemd_2.0.10-1_all.deb
  to main/l/live-config/live-config-systemd_2.0.10-1_all.deb
live-config-sysvinit_2.0.10-1_all.deb
  to main/l/live-config/live-config-sysvinit_2.0.10-1_all.deb
live-config-upstart_2.0.10-1_all.deb
  to main/l/live-config/live-config-upstart_2.0.10-1_all.deb
live-config_2.0.10-1.diff.gz
  to main/l/live-config/live-config_2.0.10-1.diff.gz
live-config_2.0.10-1.dsc
  to main/l/live-config/live-config_2.0.10-1.dsc
live-config_2.0.10-1_all.deb
  to main/l/live-config/live-config_2.0.10-1_all.deb
live-config_2.0.10.orig.tar.gz
  to main/l/live-config/live-config_2.0.10.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.baumann@progress-technologies.net> (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: Wed, 27 Oct 2010 21:20:45 +0200
Source: live-config
Binary: live-config live-config-runit live-config-systemd live-config-sysvinit live-config-upstart
Architecture: source all
Version: 2.0.10-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel.baumann@progress-technologies.net>
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 (2.0.10-1) unstable; urgency=medium
 .
   * Disabling xinit hack when using persistency and another display
     manager has been configured (Closes: #601235).
Checksums-Sha1: 
 0e598f5e2584f3381f5e28c99adc62a145b79ed0 1328 live-config_2.0.10-1.dsc
 5e1f6152922a49aae654cb532fff8de1edf7ee53 74975 live-config_2.0.10.orig.tar.gz
 447146fd9c741be006b1bb96531cad49e97aba98 6342 live-config_2.0.10-1.diff.gz
 4266dfda65701cefac6598a91c219dea9add75a6 39608 live-config_2.0.10-1_all.deb
 d384a2975334339a0e64280147a75b0820966681 6580 live-config-runit_2.0.10-1_all.deb
 fe3a421d4f0f71de23516c2871963b1c6f5e1531 6324 live-config-systemd_2.0.10-1_all.deb
 ce280bd248061ed7dabe4e23b1ce1b67fc113d5a 7318 live-config-sysvinit_2.0.10-1_all.deb
 38d71b3e16570120d8e8a571d7db3db237629b4d 6502 live-config-upstart_2.0.10-1_all.deb
Checksums-Sha256: 
 6e0924bad578cf4b4ee8580777e7481d7d38a4f40e6c50c5d9872f6fe627a588 1328 live-config_2.0.10-1.dsc
 12d5337341eef6de86351788243156c1063f3aa75cabe8505192a0a71caca6e6 74975 live-config_2.0.10.orig.tar.gz
 6766ad6beffff51c6d9ce00d2fb0dcf46c68eb59cc27369b7c71f105f13ccce5 6342 live-config_2.0.10-1.diff.gz
 78812f983889faf21bbcab3ff1719b5cb17c2767dba9161eec8a74ff511e2537 39608 live-config_2.0.10-1_all.deb
 a842355845ac2af57823173121c46b8e4d21ac6541c0c688a09406bf43d51488 6580 live-config-runit_2.0.10-1_all.deb
 66793a86499d44428e98090c76f865f470bd342c707c7688921011fa13d03ea8 6324 live-config-systemd_2.0.10-1_all.deb
 603db6cc933b8951a2145bf41e0d84f6123e09c569a618a52ab23eb9d238393b 7318 live-config-sysvinit_2.0.10-1_all.deb
 ebc158615e3e21046d0047d08ecfb4ce1754063cabde4dae0e10e5cde937ecc2 6502 live-config-upstart_2.0.10-1_all.deb
Files: 
 3af0fc811c141ee574ba32305c4453ee 1328 misc optional live-config_2.0.10-1.dsc
 21b6b057ce6ff1c8cbfec61bb0136640 74975 misc optional live-config_2.0.10.orig.tar.gz
 9f4baf24f5de5ccb5d1043131a24b278 6342 misc optional live-config_2.0.10-1.diff.gz
 1a4e7a99ef65b5ce08ec683b323a2168 39608 misc optional live-config_2.0.10-1_all.deb
 7df46f1de88885336313597c34493259 6580 misc optional live-config-runit_2.0.10-1_all.deb
 b9160c8fab9b03eafb32bafe46891850 6324 misc optional live-config-systemd_2.0.10-1_all.deb
 1d3460fbf97ba2f0970d384f0d019637 7318 misc optional live-config-sysvinit_2.0.10-1_all.deb
 dbdb347b8648fb1035d6fe5c79cc0e4b 6502 misc optional live-config-upstart_2.0.10-1_all.deb

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

iEYEARECAAYFAkzJHRUACgkQ+C5cwEsrK57aoACdEfMICjp0B1SfZQLv14Ae7UUt
DOYAoLNywaIZRUBt/FtgD56zcj1SkD1j
=XiVu
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: