sets xserver-xorg/config/display/modes to value not in choices

Bug #20689 reported by James Troup
10
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
High
Daniel Stone

Bug Description

With current (20050831.2) breezy live CD, X fails to start as no xorg.conf is
created. I've attached the casper post.log. There is the cirrus_laguna thing,
but also some confusion with MAXRES. Hopefully the post.log is enough
information, but if not, let me know and I can easily retest.

Revision history for this message
James Troup (elmo) wrote :

Created an attachment (id=3482)
casper post.log

Revision history for this message
Daniel Stone (daniels) wrote :

part of this is #14410, but Matt, part of this *has* to be a Debconf bug:
+ db_subst xserver-xorg/config/display/modes choices '1920x1440, 1856x1392,
1792x1344, 1680x1050, 1600x1200, 1440x900, 1400x1050, 1280x1024, 1200x800,
1152x864, 1024x768, 832x624, 800x600, 720x400, 640x480'
[..]
+ db_set xserver-xorg/config/display/modes 1280x800
[...]
+ db_get xserver-xorg/config/display/modes
[...]
+ RET=

Revision history for this message
Matt Zimmerman (mdz) wrote :

Colin, any ideas about what could cause debconf to behave this way?

Revision history for this message
Colin Watson (cjwatson) wrote :

(In reply to comment #2)
> part of this is #14410, but Matt, part of this *has* to be a Debconf bug:
> + db_subst xserver-xorg/config/display/modes choices '1920x1440, 1856x1392,
> 1792x1344, 1680x1050, 1600x1200, 1440x900, 1400x1050, 1280x1024, 1200x800,
> 1152x864, 1024x768, 832x624, 800x600, 720x400, 640x480'
> [..]
> + db_set xserver-xorg/config/display/modes 1280x800
> [...]
> + db_get xserver-xorg/config/display/modes
> [...]
> + RET=

You're setting xserver-xorg/config/display/modes to a value not in its list of
choices. That's out of spec for select questions so debconf is fully entitled to
ignore you; when performing the INPUT that comes in between the SET and the GET
above, debconf looks up the default, sees that it's not in the list of choices,
shrugs its metaphorical shoulders, and uses a blank default instead.

(Your serve.)

Revision history for this message
Daniel Stone (daniels) wrote :

man, it would be handy if I could BLOODY READ. thanks.

(note to self: 1280 != 1200.)

Revision history for this message
Daniel Stone (daniels) wrote :

game, set, match. fixed in fiddy eight.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.