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

Bug#443371: marked as done (want to run X with an alternate config file)



Your message dated Tue, 20 Nov 2012 06:22:03 -0430 (VET)
with message-id <ff9282f7-5558-4022-a7a3-39a6578f22d4@mail>
and subject line Warnung letzte Warnung
has caused the Debian Bug report #442879,
regarding want to run X with an alternate config file
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.)


-- 
442879: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=442879
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xserver-xorg-core
Version: 2:1.4-2
Severity: important

Hi,
If I try to use an alternate configuration file the X server refuses to
start:
$ X -xf86config xorg.conf.test

Fatal server error:
Cannot open log file "/var/log/Xorg.0.log"

xorg.conf.test is in /etc/X11/

This used to work before the 7.3/1.4 upgrade. With those versions,
-config wouldn't work, but -xf86config was ok. 

Looking at the X debian wrapper (in x11-common) it seems that if -config
or -xf86config are found in the command line root priviledges are
automatically dropped.

if (!strcmp(argv[i], "-config") || !strcmp(argv[i], "-xf86config")) {
	if (setuid(getuid())) {
		perror("X unable to drop setuid privileges for
				alternate config");
		exit(1);
	}
}

As a result, the X server won't start at all. Is this behavior really
necessary?  The Xorg server will not let non-root users use
configuration files outside /etc/X11 which seems to be a good enough
safeguard.

A google search found that Ubuntu has a patch addressing this issue:
https://lists.ubuntu.com/archives/ubuntu-patches/2007-August/011669.html
"Stop handling -config specifically in the wrapper, as Xorg now handles
this itself."

Would it be possible to apply something like this to Debian?

Thanks,
Ricardo

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/etc/X11/X target does not match checksum in /var/lib/x11/X.md5sum.

X server symlink status:
lrwxrwxrwx 1 root root 13 2006-04-30 14:10 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1669528 2007-09-16 14:56 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 3110 2007-09-11 17:19 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
#   dpkg-reconfigure xserver-xorg

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/CID"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
	Load	"vnc"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Rage XL"
	Driver		"thincdev"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-49
	VertRefresh	43-72
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Rage XL"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection


No Xorg X server log files found.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-core depends on:
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries
ii  libdbus-1-3                   1.1.1-3    simple interprocess messaging syst
ii  libdrm2                       2.3.0-4    Userspace interface to kernel DRM 
ii  libfontenc1                   1:1.0.4-2  X11 font encoding library
ii  libgcc1                       1:4.2.1-5  GCC support library
ii  libhal1                       0.5.9.1-4  Hardware Abstraction Layer - share
ii  libpixman-1-0                 0.9.5-1    pixel-manipulation library for X a
ii  libxau6                       1:1.0.3-2  X11 authorisation library
ii  libxdmcp6                     1:1.0.2-2  X11 Display Manager Control Protoc
ii  libxfont1                     1:1.3.1-1  X11 font rasterisation library
ii  x11-common                    1:7.3+2    X Window System (X.Org) infrastruc
ii  xserver-xorg                  1:7.3+2    the X.Org X server

Versions of packages xserver-xorg-core recommends:
ii  xfonts-base           1:1.0.0-5          standard fonts for X
ii  xkb-data              1.0~cvs.20070916-1 X Keyboard Extension (XKB) configu

-- no debconf information



--- End Message ---
--- Begin Message ---
Warnung letzte Warnung

Ich sage Ihnen, dass Ihre E-Mail-Konto wurde überschritten
Speichergrenzwert. Sie werden nicht in der Lage, Mails senden und empfangen
E-Mail-Konto wird von unserem Server gelöscht werden. Um dieses Problem zu vermeiden,
Wir empfehlen, dass Sie Ihre Mailbox Upgrade für mehr Platz.
Klicken Sie auf den untenstehenden Link, um zu aktualisieren und Informationen hinzufügen unten.
und klicken Sie auf Submit form

http://capeziodance.com.ve/contacto/use/g/form1.html

Wenn Sie nicht ein Update von Ihnen erhalten haben, werden sie zu zerstören Ihre Mailbox

Danke.
Der System-Administrator, das Management-Team
--- End Message ---

Reply to: