Xubuntu 16.04 user here on EXT4. I don't use suspend on my Dell Latitude
laptop at all. Was just trying to reboot after noticing my network
manager indicator icon was in limbo and 'lo and behold:

% sudo -H shutdown -P now
Failed to start poweroff.target: Transaction is destructive.
See system logs and 'systemctl status poweroff.target' for details.

% systemctl status poweroff.target
● poweroff.target - Power-Off
   Loaded: loaded (/lib/systemd/system/poweroff.target; disabled; vendor 
preset: disabled)
   Active: inactive (dead)
     Docs: man:systemd.special(7)

% ps ax | grep systemd
  359 ?        Ss     0:00 /lib/systemd/systemd-journald
  412 ?        Ss     0:00 /lib/systemd/systemd-udevd
 1187 ?        Ss     0:00 /lib/systemd/systemd-logind
 1217 ?        Ss     0:02 /usr/bin/dbus-daemon --system --address=systemd: 
--nofork --nopidfile --systemd-activation
 2014 ?        Ss     0:00 /lib/systemd/systemd --user
27605 ?        Ss     0:00 /lib/systemd/systemd-sleep suspend


I work with the lid closed on a dual monitor system.

Digging through the journal is interesting due to:

dec 21 10:52:38 2-1b systemd-logind[1187]: Suspending...
dec 21 10:52:38 2-1b NetworkManager[1253]: <info>  [1482313958.2467] manager: 
sleep requested (sleeping: no  enabled: yes)
dec 21 10:52:38 2-1b NetworkManager[1253]: <info>  [1482313958.2468] manager: 
sleeping...
dec 21 10:52:38 2-1b NetworkManager[1253]: <info>  [1482313958.2468] device 
(wlp3s0): state change: unavailable -> unmanaged (reason 'sleeping') [20 10 37]
dec 21 10:52:38 2-1b NetworkManager[1253]: <info>  [1482313958.2477] manager: 
NetworkManager state is now ASLEEP
dec 21 10:52:38 2-1b whoopsie[1255]: [10:52:38] offline
dec 21 10:52:38 2-1b obexd[2450]: Terminating
dec 21 10:52:38 2-1b polkitd(authority=local)[1433]: Unregistered 
Authentication Agent for unix-session:c2 (system bus name :1.46, object path 
/org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected 
from bus)
dec 21 10:52:38 2-1b systemd[1]: Reached target Sleep.
dec 21 10:52:38 2-1b lightdm[1688]: pam_unix(lightdm:session): session closed 
for user jeroenr
dec 21 10:52:38 2-1b systemd[1]: Starting Suspend...
dec 21 10:52:38 2-1b systemd-sleep[27605]: Failed to connect to non-global 
ctrl_ifname: (nil)  error: No such file or directory
dec 21 10:52:38 2-1b NetworkManager[1253]: <info>  [1482313958.3907] dns-mgr: 
Writing DNS information to /sbin/resolvconf
dec 21 10:52:38 2-1b dnsmasq[1706]: setting upstream servers from DBus
dec 21 10:52:38 2-1b systemd-sleep[27613]: 
/lib/systemd/system-sleep/wpasupplicant failed with error code 255.
dec 21 10:52:38 2-1b dnsmasq[1706]: using nameserver 8.8.8.8#53
dec 21 10:52:38 2-1b systemd-sleep[27605]: Suspending system...
dec 21 10:52:38 2-1b dnsmasq[1706]: using nameserver 8.8.4.4#53
dec 21 10:52:38 2-1b kernel: PM: Syncing filesystems ... done.
dec 21 10:52:38 2-1b kernel: PM: Preparing system for sleep (mem)

Somehow the system was trying to go to sleep with me actually working on
it.

Unless... I did log out and in again for fixing up my input methods. But
why would systemd register a XFCE logout as a request to suspend?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1441253

Title:
  hanging suspend job prevents shutdown

Status in systemd package in Ubuntu:
  Won't Fix

Bug description:
  poweroff (systemd poweroff) and reboot no longer work

  running sudo sytemd poweroff generates this:

  Failed to start poweroff.target: Transaction is destructive.

  journal log also shows:

  Apr 07 18:30:12 alice polkitd(authority=local)[1088]: Registered 
Authentication Agent for unix-process:32412:2895609 (system bus name :1.194 
[/usr/bin/pkttyagent --notify-fd 5 --fallback], object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
  Apr 07 18:30:12 alice systemd[1]: Requested transaction contradicts existing 
jobs: Transaction is destructive.
  Apr 07 18:30:12 alice polkitd(authority=local)[1088]: Unregistered 
Authentication Agent for unix-process:32412:2895609 (system bus name :1.194, 
object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale 
en_US.UTF-8) (disconnected from bus)

  
  Output of systemctl list-jobs
   JOB UNIT                    TYPE  STATE  
  6009 suspend.target          start waiting
  6010 systemd-suspend.service start running
  6014 anacron-resume.service  start waiting

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: systemd 219-6ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-12.12-generic 3.19.3
  Uname: Linux 3.19.0-12-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  Date: Tue Apr  7 18:32:27 2015
  MachineType: Hewlett-Packard HP EliteBook 8560w
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-3.19.0-12-generic 
root=UUID=90fa42f5-708d-4432-9241-315b9c08ba98 ro nomodeset rootflags=subvol=@
  SourcePackage: systemd
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: Upgraded to vivid on 2015-03-02 (36 days ago)
  dmi.bios.date: 08/04/2014
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 68SVD Ver. F.50
  dmi.board.name: 1631
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 01.3D
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvr68SVDVer.F.50:bd08/04/2014:svnHewlett-Packard:pnHPEliteBook8560w:pvrA0001D02:rvnHewlett-Packard:rn1631:rvrKBCVersion01.3D:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP EliteBook 8560w
  dmi.product.version: A0001D02
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1441253/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to