Public bug reported: Whenever I reboot the system, it seems to hang for a long time towards the end of the shutdown. I found out it's because of the /etc/init.d/sendsigs script's do_stop() function where it waits up to 5 minutes for $(upstart_killed_jobs) to report that all the jobs have been killed.
When the server comes back up there's a dialog box prompting me to report a bug that was detected. The bug "summary" above was filled in automatically. I'm a bit surprised to find out that it's Xorg that's preventing the shutdown, since I see X exit and the shutdown sequence displayed on a terminal. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: xserver-xorg-core 2:1.15.1-0ubuntu2.6 ProcVersionSignature: Ubuntu 3.13.0-44.73-generic 3.13.11-ckt12 Uname: Linux 3.13.0-44-generic x86_64 NonfreeKernelModules: nvidia .proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 304.125 Mon Dec 1 19:58:28 PST 2014 GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) .tmp.unity.support.test.0: ApportVersion: 2.14.1-0ubuntu3.6 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: kwin Date: Tue Jan 13 22:32:50 2015 DistUpgraded: 2014-12-25 15:05:48,543 DEBUG enabling apt cron job DistroCodename: trusty DistroVariant: ubuntu ExecutablePath: /usr/bin/Xorg ExtraDebuggingInterest: Yes, including running git bisection searches GraphicsCard: NVIDIA Corporation G92 [GeForce 9800 GT] [10de:0605] (rev a2) (prog-if 00 [VGA controller]) Subsystem: eVga.com. Corp. Device [3842:c981] InstallationDate: Installed on 2010-07-15 (1645 days ago) InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429) MachineType: Gigabyte Technology Co., Ltd. GA-890FXA-UD5 OmitPids: 16340 1775 16464 1810 1715 10716 1689 16485 1816 813 1719 2839 1587 1775 16464 1810 1715 10716 1689 16485 1816 813 1719 2839 1587 ProcCmdline: /usr/bin/X :2 -background none -verbose -auth /var/run/gdm/auth-for-gdm-SmYspb/database -seat seat0 -nolisten tcp ProcEnviron: LANG=en_US.UTF-8 TERM=linux PATH=(custom, no user) ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-44-generic root=UUID=26ded80d-11df-4efd-80cb-57e0919395fd ro acpi=force SourcePackage: xorg-server Title: Xorg does not terminate at computer shutdown UpgradeStatus: Upgraded to trusty on 2014-12-25 (20 days ago) dmi.bios.date: 05/14/2010 dmi.bios.vendor: Award Software International, Inc. dmi.bios.version: F2 dmi.board.name: GA-890FXA-UD5 dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: x.x dmi.chassis.type: 3 dmi.chassis.vendor: Gigabyte Technology Co., Ltd. dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF2:bd05/14/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-890FXA-UD5:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-890FXA-UD5:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr: dmi.product.name: GA-890FXA-UD5 dmi.sys.vendor: Gigabyte Technology Co., Ltd. version.compiz: compiz 1:0.9.11.3+14.04.20141104-0ubuntu1 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.56-1~ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.3-0ubuntu0.2 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.3-0ubuntu0.2 version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2.6 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3.1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1.3 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2 xserver.bootTime: Thu Jan 15 12:02:38 2015 xserver.configfile: /etc/X11/xorg.conf xserver.errors: xserver.logfile: /var/log/Xorg.0.log xserver.outputs: xserver.version: 2:1.15.1-0ubuntu2.6 ** Affects: xorg-server (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug shutdown-hang trusty ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1411375 Title: Xorg does not terminate at computer shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1411375/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs