Description of problem:
The file /usr/bin/startx contains a number of empty lines before the so called shebang, the line starting with #!. This makes execve() fail on this command, the #! has to be on the first line.
Version-Release number of selected component (if applicable):
When run from a shell, this is pretty harmless. The shell will start a bash on its own when the execve() fails. But if one for example use /usr/bin/startx as the ExecStart command in a systemd.service file, it will not be as forgiving as the shell. Rather it will report
Failed at step EXEC spawning /usr/bin/startx: Exec format error
And the service will fail.
(In case you wonder: we use startx to bring up mythfrontend in a MythTV box.)
*** Bug 1072051 has been marked as a duplicate of this bug. ***
xorg-x11-xinit-1.3.4-1.fc21 has been submitted as an update for Fedora 21.
xorg-x11-xinit-1.3.4-1.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xorg-x11-xinit-1.3.4-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
xorg-x11-xinit-1.3.4-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
xorg-x11-xinit-1.3.4-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.