Bug#504692: dexconf generates invalid files

Cyril Brulebois kibi at debian.org
Fri Jan 28 13:04:43 UTC 2011

tag 589512 upstream
found 589512 2:

Hi Andreas.

Andreas Beckmann <debian at abeckmann.de> (18/07/2010):
> According to xorg.conf(5), Device without Driver is not valid:
>     The Identifier and Driver entries are required in all Device
>     sections.  All other entries are optional.
> But the xorg.conf created by dexconf (I could only get the lenny version
> to actually output an xorg.conf) has a Device section without Driver and
> X starts with this configuration without complaining about the missing
> "required" entry. In squeeze, X starts with a manually generated
> xorg.conf with a Device Section without a Driver line without problems
> (or any errors in Xorg.0.log), too.

Ditto for experimental:
| $ cat /etc/X11/xorg.conf
| Section "Device"
| 	Identifier "foo"
| EndSection

> I don't know whether this liberalization was done by upstream or
> some patch only applied in the Debian version (the autoconfiguration
> stuff?).  Anyway, the documentation needs to be updated (I don't
> expect a rollback).

| $ git describe
| xorg-server-
| $ git grep -C 4 'required in all' -- ./hw/xfree86/doc/man/xorg.conf.man.pre|tail
| --
| hw/xfree86/doc/man/xorg.conf.man.pre-The
| hw/xfree86/doc/man/xorg.conf.man.pre-.B Identifier
| hw/xfree86/doc/man/xorg.conf.man.pre-and
| hw/xfree86/doc/man/xorg.conf.man.pre-.B Driver
| hw/xfree86/doc/man/xorg.conf.man.pre:entries are required in all
| hw/xfree86/doc/man/xorg.conf.man.pre-.B Device
| hw/xfree86/doc/man/xorg.conf.man.pre-sections.  All other entries are optional.
| hw/xfree86/doc/man/xorg.conf.man.pre-.PP
| hw/xfree86/doc/man/xorg.conf.man.pre-The

> As a result programs that parse xorg.conf more strictly (expecting it to
> conform to xorg.conf(5)) break on this change and need to be updated.
> One of these packages is nvidia-xconfig:
>     VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
>                       Device section "Configured Video Device" must have
>                       Driver line.

(as always?) better trust the code.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20110128/563b3824/attachment.pgp>

More information about the pkg-nvidia-devel mailing list