I have made a fix (patch) for this bug for trusty, tested on Ubuntu-Gnome trusty and attached it as trusty-gdm_3.10.0.1-0ubuntu3.2.debdiff to this comment:
This is a very simple change to the code in debian/gdm.init - I removed line 78 which has an extra unmatched "fi"
Tested as follows:
Built binaries using sbuild in latest trusty environment on a trusty machine. Fired up an Ubuntu-Gnome trusty 14.04.2 release build LiveCD in a virtual machine. Verified the bug failure on the plain vanilla vivid LiveCD as follows:
Copied all the .deb files from the trusty sbuild on the trusty build machine onto the Ubuntu-Gnome trusty livecd vm. Installed the four .deb files using "dpkg -i ..." Install succeeded, and visually inspecting /etc/init.d/gdm showed original line 78 was indeed removed. Typed:
cd /etc/init.d
./gdm
(worked as expected - no syntax error)
./gdm start
(worked as expected - no syntax error)
This confirms that the bug fix works for the 14.04.2 release version of Ubuntu-Gnome.
I have made a fix (patch) for this bug for trusty, tested on Ubuntu-Gnome trusty and attached it as trusty- gdm_3.10. 0.1-0ubuntu3. 2.debdiff to this comment:
This is a very simple change to the code in debian/gdm.init - I removed line 78 which has an extra unmatched "fi"
Tested as follows:
Built binaries using sbuild in latest trusty environment on a trusty machine. Fired up an Ubuntu-Gnome trusty 14.04.2 release build LiveCD in a virtual machine. Verified the bug failure on the plain vanilla vivid LiveCD as follows:
cd /etc/init.d
./gdm
(gave syntax error)
./gdm start
(gave syntax error)
Copied all the .deb files from the trusty sbuild on the trusty build machine onto the Ubuntu-Gnome trusty livecd vm. Installed the four .deb files using "dpkg -i ..." Install succeeded, and visually inspecting /etc/init.d/gdm showed original line 78 was indeed removed. Typed:
cd /etc/init.d
./gdm
(worked as expected - no syntax error)
./gdm start
(worked as expected - no syntax error)
This confirms that the bug fix works for the 14.04.2 release version of Ubuntu-Gnome.