xrandr gives incorrect exit code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
x11-xserver-utils (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Binary package hint: x11-xserver-utils
Running
xrandr --output NO_SUCH_THING --mode NOT_A_MODE
gives an exit code of 0. There is no output called NO_SUCH_THING, so it should give a non-zero exit code to indicate an error. I would report this upstream, but bugs.freedeskto
ProblemType: Bug
Architecture: amd64
Date: Fri Oct 16 11:54:35 2009
DistroRelease: Ubuntu 9.10
MachineType: Hewlett-Packard HP Pavilion dv2500 Notebook PC
Package: x11-xserver-utils 7.4+2ubuntu3
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
ProcVersionSign
RelatedPackageV
xserver-xorg 1:7.4+3ubuntu5
libgl1-mesa-glx 7.6.0-1ubuntu3
libdrm2 2.4.14-1ubuntu1
xserver-
xserver-
SourcePackage: x11-xserver-utils
Uname: Linux 2.6.31-13-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/
XsessionErrors:
(polkit-
(chromium-
(chromium-
(chromium-
(chromium-
dmi.bios.date: 08/10/2007
dmi.bios.vendor: Phoenix
dmi.bios.version: F.13
dmi.board.name: 30CD
dmi.board.vendor: Wistron
dmi.board.version: 80.39
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.
dmi.modalias: dmi:bvnPhoenix:
dmi.product.name: HP Pavilion dv2500 Notebook PC
dmi.product.
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
system:
distro: Ubuntu
architecture: x86_64kernel: 2.6.31-13-generic
---
Architecture: amd64
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
EcryptfsInUse: Yes
InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
MachineType: Hewlett-Packard HP Pavilion dv2500 Notebook PC
Package: x11-xserver-utils 7.5+1ubuntu2
PackageArchitec
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/usr/bin/zsh
ProcVersionSign
Tags: lucid lucid
Uname: Linux 2.6.32-21-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 08/10/2007
dmi.bios.vendor: Phoenix
dmi.bios.version: F.13
dmi.board.name: 30CD
dmi.board.vendor: Wistron
dmi.board.version: 80.39
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.
dmi.modalias: dmi:bvnPhoenix:
dmi.product.name: HP Pavilion dv2500 Notebook PC
dmi.product.
dmi.sys.vendor: Hewlett-Packard
system:
distro: Ubuntu
codename: lucid
architecture: x86_64
kernel: 2.6.32-21-generic
Changed in x11-xserver-utils (Ubuntu): | |
status: | New → Confirmed |
Changed in x11-xserver-utils (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
tags: | added: karmic |
tags: | added: kubuntu |
This bug is still present in Lucid, although there doesn't seem to be much of a reason to use xrandr for anything other than debugging these days.