~ubuntu-branches/ubuntu/raring/consolekit/raring

« back to all changes in this revision

Viewing changes to data/console-kit-log-system-stop.service.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-11-20 18:17:28 UTC
  • mfrom: (0.1.16 sid)
  • Revision ID: james.westby@ubuntu.com-20101120181728-8e5bwe4ttgmk4j41
Tags: 0.4.3-2
Add 01-retry-console-open-on-EIO.patch: As reported in LP: #544139,
ConsoleKit sometimes fails to track the active VT. This particular case
was tracked down to a race condition that happens if you try to open
/dev/console while the current TTY is currently being closed. This yields
an -EIO error, in which case CK should just try again. Thanks Colin Watson
for the patch!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
[Unit]
2
2
Description=Console System Shutdown Logging
3
3
DefaultDependencies=no
4
 
Before=poweroff.service reboot.service halt.service killall.service
5
 
After=console-kit-system-start.service
 
4
Wants=sysinit.target
 
5
After=sysinit.target console-kit-system-start.service
 
6
Before=shutdown.service
6
7
 
7
8
[Service]
8
9
Type=oneshot