0 size xorg.conf after 20050816 breezy install
Bug #19774 reported by
Jørgen Salvesen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Fix Released
|
Critical
|
Matt Zimmerman |
Bug Description
After the installer has fininshed and gdm is to be launched, the resulting
xorg.conf has zero size.
Corresponding error:
Setting up xserver-xorg (6.8.2-49) ...
xserver-
the X server with "dpkg-reconfigure xserver-xorg" to correct this problem.
xserver-xorg postinst warning: error while preparing new Xorg X server
The language selected is english and keyboard layout is norwegian
To post a comment you must log in.
This is caused by /model being auto_answered with a default of '' (empty string_ db_input to catch this, since
string). I would expect validate_
MAY_BE_NULL is empty:
MAY_BE_NULL= auto_answer validate_ string_ db_input "$(priority_ceil $PRIORITY)" xorg/config/ inputdevice/ keyboard/ model "$DEFAULT"
xserver-
but it doesn't:
+ auto_answer validate_ string_ db_input medium xorg/config/ inputdevice/ keyboard/ model '' validate_ string_ db_input xserver- xorg/config/ inputdevice/ keyboard/ model string_ db_input medium xorg/config/ inputdevice/ keyboard/ model" with default ""' xorg/config/ inputdevice/ keyboard/ model seen xorg/config/ inputdevice/ keyboard/ model' seen xorg/config/ inputdevice/ keyboard/ model' seen xorg/config/ inputdevice/ keyboard/ model '' xorg/config/ inputdevice/ keyboard/ model' '' xorg/config/ inputdevice/ keyboard/ model' '' string_ db_input medium xorg/config/ inputdevice/ keyboard/ model+ '[' 2 -ne 2 ']' xserver- xorg/config/ inputdevice/ keyboard/ model xorg/config/ inputdevice/ keyboard/ model xorg/config/ inputdevice/ keyboard/ model' xorg/config/ inputdevice/ keyboard/ model' xorg/config/ inputdevice/ keyboard/ model xorg/config/ inputdevice/ keyboard/ model xorg/config/ inputdevice/ keyboard/ model xorg/config/ inputdevice/ keyboard/ model' xorg/config/ inputdevice/ keyboard/ model xorg/config/ inputdevice/ keyboard/ model' xorg/config/ inputdevice/ keyboard/ model' xorg/config/ inputdevice/ keyboard/ model is
xserver-
+ '[' 4 -ne 4 ']'
+ INPUT_COMMAND=
+ PRIORITY=medium
+ TEMPLATE=
+ DEFAULT_ANSWER=
+ set +e
+ debug_echo 'auto_answer() "validate_
xserver-
+ '[' -n '' ']'
+ '[' '' = user ']'
+ '[' '' = '.*' ']'
+ db_fget xserver-
+ _db_cmd 'FGET xserver-
+ echo 'FGET xserver-
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ return 0
+ '[' -z yes ']'
+ '[' false = true ']'
+ debug_echo 'auto_answer: auto-answering with ""'
+ '[' -n '' ']'
+ '[' '' = user ']'
+ '[' '' = '.*' ']'
+ db_set xserver-
+ _db_cmd 'SET xserver-
+ echo 'SET xserver-
+ IFS='
'
+ read -r _db_internal_line
+ RET='value set'
+ return 0
+ validate_
xserver-
+ PRIORITY=medium
+ TEMPLATE=
+ db_get xserver-
+ _db_cmd 'GET xserver-
+ echo 'GET xserver-
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ return 0
+ SAFE=
+ set +e
+ :
+ db_input medium xserver-
+ _db_cmd 'INPUT medium' xserver-
+ echo 'INPUT medium' xserver-
+ IFS='
'
+ read -r _db_internal_line
+ RET='30 question skipped'
+ return 30
+ '[' 30 -eq 30 ']'
+ break
+ set -e
+ '[' 0 -eq 30 ']'
+ debug_echo 'auto_answer: asking xserver-
+ '[' -n '' ']'
+ '[' '' = user ']'
+ '[' '' = '.*' ']'
+ set -e
+ db_go
+ _db_cmd 'GO '
+ echo 'GO '
+ IFS='
'
+ read -r _db_internal_line
+ RET=ok
+ return 0
+ db_get xserver-
+ _db_cmd 'GET xserver-
+ echo 'GET xserver-
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ return 0
+ debug_echo 'auto_answer: xserver-
""'+ '[' -n '' ']'