You are not logged in.
The system reboots/shutdowns itself when the lid is closed. I haven't had this problem before.
This has started to happening just recently. Can't remember when, maybe, after the last system update.
Jul 13 13:51:57 archer systemd-logind[560]: Lid closed.
Jul 13 13:51:57 archer systemd-logind[560]: Suspending...
Jul 13 13:51:57 archer NetworkManager[561]: <info> [1563015117.8667] manager: sleep: sleep requested (sleeping: no enabled: yes)
Jul 13 13:51:57 archer NetworkManager[561]: <info> [1563015117.8668] device (p2p-dev-wlp58s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Jul 13 13:51:57 archer NetworkManager[561]: <info> [1563015117.8680] manager: NetworkManager state is now ASLEEP
Jul 13 13:51:57 archer systemd[1]: Created slice system-netctl\x2dauto\x2dresume.slice.
Jul 13 13:51:57 archer systemd[1]: Starting TLP suspend/resume...
Jul 13 13:51:57 archer systemd[1]: Started Lock the screen on resume from suspend.
Jul 13 13:51:57 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 13 13:51:57 archer kernel: audit: type=1130 audit(1563015117.898:206): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 13 13:51:57 archer systemd[1]: Automatic wireless network connection using netctl profiles is not active.
Jul 13 13:51:57 archer systemd[1]: Dependency failed for restart netctl-auto on resume..
Jul 13 13:51:57 archer systemd[1]: netctl-auto-resume@wlp58s0.service: Job netctl-auto-resume@wlp58s0.service/start failed with result 'dependency'.
Jul 13 13:51:57 archer systemd[4794]: lockonsuspend.service: Failed to determine user credentials: No such process
Jul 13 13:51:57 archer systemd[4794]: lockonsuspend.service: Failed at step USER spawning /usr/bin/dm-tool: No such process
Jul 13 13:51:57 archer systemd[1]: lockonsuspend.service: Main process exited, code=exited, status=217/USER
Jul 13 13:51:57 archer systemd[1]: lockonsuspend.service: Failed with result 'exit-code'.
Jul 13 13:51:57 archer audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 13 13:51:57 archer kernel: audit: type=1131 audit(1563015117.908:207): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 13 13:51:59 archer systemd[1]: Started TLP suspend/resume.
Jul 13 13:51:59 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp-sleep comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 13 13:51:59 archer systemd[1]: Reached target Sleep.
Jul 13 13:51:59 archer kernel: audit: type=1130 audit(1563015119.708:208): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp-sleep comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 13 13:51:59 archer systemd[1]: Starting Suspend...
Jul 13 13:51:59 archer systemd-sleep[4913]: Suspending system...
Jul 13 13:51:59 archer kernel: PM: suspend entry (deep)
-- Reboot --
Jul 13 13:52:23 archer kernel: Linux version 5.1.6-arch1-1-ARCH (builduser@heftig-32683) (gcc version 8.3.0 (GCC)) #1 SMP PREEMPT Fri May 31 15:17:53 UTC 2019Last edited by amatika (2019-07-14 19:09:59)
Offline
Exciting.
Last edited by ackt1c (2022-11-05 12:33:25)
Offline
Now it reboots itself by acpid command.
What I did.
- Ignored HandleLidSwitch in /etc/systemd/logind.conf and verified closing the lid do not trigger reboot anymore.
- Then added sleep command into /etc/acpi/handler.sh
button/lid)
case "$3" in
close)
echo -n mem >/sys/power/state
logger 'LID closed'
;;
open)
logger 'LID opened'
;;
*)
logger "ACPI action undefined: $3"
;;Now it seems that acpid triggers the reboot.
Journal:
Jul 13 15:41:01 archer systemd-logind[499]: Lid closed.
Jul 13 15:41:01 archer kernel: PM: suspend entry (deep)
-- Reboot --Offline
Jul 13 13:51:59 archer systemd[1]: Started TLP suspend/resume.Just a hunch, drop TLP to see whether it's the culprit.
Offline
tlp-stat
--- TLP 1.2.2 --------------------------------------------
+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
DISK_DEVICES="nvme0n1 sda"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
AHCI_RUNTIME_PM_TIMEOUT=15
RADEON_POWER_PROFILE_ON_AC=default
RADEON_POWER_PROFILE_ON_BAT=default
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=1
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=0
RESTORE_DEVICE_STATE_ON_STARTUP=0
NATACPI_ENABLE=1
TPACPI_ENABLE=1
TPSMAPI_ENABLE=1
+++ System Info
System = Dell Inc. XPS 13 9350
BIOS = 1.7.0
Kernel = 5.1.6-arch1-1-ARCH #1 SMP PREEMPT Fri May 31 15:17:53 UTC 2019 x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=28a6a732-8fbf-4877-b9a2-dc5ad941d447 rw quiet
Init system = systemd
Boot mode = UEFI
+++ TLP Status
State = enabled
RDW state = enabled
Last run = 07:57:05 PM, 541 sec(s) ago
Mode = battery
Power source = battery
Notice: systemd-rfkill.service is not masked -- invoke "systemctl mask systemd-rfkill.service" to correct this!
Notice: systemd-rfkill.socket is not masked -- invoke "systemctl mask systemd-rfkill.socket" to correct this!
+++ Processor
CPU model = Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 14 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo = 0
/sys/devices/system/cpu/intel_pstate/turbo_pct = 21 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates = 25
x86_energy_perf_policy: program not installed.
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
+++ Undervolting
PHC kernel not available.
+++ Temperatures
CPU temp = 38 [°C]
Fan speed = (not available)
+++ File System
/proc/sys/vm/laptop_mode = 2
/proc/sys/vm/dirty_writeback_centisecs = 6000
/proc/sys/vm/dirty_expire_centisecs = 6000
/proc/sys/vm/dirty_ratio = 20
/proc/sys/vm/dirty_background_ratio = 10
+++ Storage Devices
Devices = nvme0n1 sda
/dev/nvme0n1: not present.
/dev/sda:
Type = ATA
Model = LITEON L8H-256V2G-11 M.2 2280 256GB
Firmware = F88110C
APM Level = none/disabled
Status = active/idle
TRIM = supported
Scheduler = [mq-deadline] kyber bfq none (multi queue)
Runtime PM: control = on, autosuspend_delay_ms = -1
+++ AHCI Link Power Management (ALPM)
/sys/class/scsi_host/host0/link_power_management_policy = med_power_with_dipm
/sys/class/scsi_host/host1/link_power_management_policy = med_power_with_dipm
/sys/class/scsi_host/host2/link_power_management_policy = med_power_with_dipm
+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:17.0/ata1/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata2/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata3/power/control = on
+++ Intel Graphics
/sys/module/i915/parameters/enable_dc = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc = 1 (enabled)
/sys/module/i915/parameters/enable_psr = -1 (use per-chip default)
/sys/module/i915/parameters/modeset = -1 (use per-chip default)
/sys/class/drm/card0/gt_min_freq_mhz = 300 [MHz]
/sys/class/drm/card0/gt_max_freq_mhz = 1000 [MHz]
/sys/class/drm/card0/gt_boost_freq_mhz = 1000 [MHz]
/sys/kernel/debug/dri/0/i915_ring_freq_table: 300 350 400 450 500 550 600 650 700 750 800 850 900 950 1000 [MHz]
+++ Wireless
bluetooth = on
wifi = on
wwan = none (no device)
hci0(btusb) : bluetooth, not connected
wlp58s0(brcmfmac) : wifi, connected, power management = on
+++ Audio
/sys/module/snd_hda_intel/parameters/power_save = 1
/sys/module/snd_hda_intel/parameters/power_save_controller = Y
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)
+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu mei_me nouveau nvidia pcieport radeon (default)
/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, skl_uncore)
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:04.0/power/control = auto (0x118000, Signal processing controller, proc_thermal)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = auto (0x118000, Signal processing controller, intel_pch_thermal)
/sys/bus/pci/devices/0000:00:15.0/power/control = auto (0x118000, Signal processing controller, intel-lpss)
/sys/bus/pci/devices/0000:00:15.1/power/control = auto (0x118000, Signal processing controller, intel-lpss)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:17.0/power/control = auto (0x010400, RAID bus controller, ahci)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.4/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.5/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x058000, Memory controller, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040380, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1f.4/power/control = auto (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:3a:00.0/power/control = auto (0x028000, Network controller, brcmfmac)
/sys/bus/pci/devices/0000:3b:00.0/power/control = auto (0xff0000, Unassigned class [ff00], rtsx_pci)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
Bluetooth blacklist = disabled
Phone blacklist = disabled
WWAN blacklist = disabled
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 004 ID 0c45:670c control = auto, autosuspend_delay_ms = 2000 -- Microdia (uvcvideo)
Bus 001 Device 003 ID 0a5c:6412 control = auto, autosuspend_delay_ms = 2000 -- Broadcom Corp. (btusb)
Bus 001 Device 002 ID 3938:1031 control = on, autosuspend_delay_ms = 2000 -- <unknown> (usbhid)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
+++ Battery Features: Charge Thresholds and Recalibrate
natacpi = inactive (no kernel support)
tpacpi-bat = inactive (laptop not supported)
tp-smapi = inactive (laptop not supported)
+++ Battery Status: BAT0
/sys/class/power_supply/BAT0/manufacturer = LGC-LGC7.3
/sys/class/power_supply/BAT0/model_name = DELL 5K9CP61
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/charge_full_design = 7368 [mAh]
/sys/class/power_supply/BAT0/charge_full = 4900 [mAh]
/sys/class/power_supply/BAT0/charge_now = 1429 [mAh]
/sys/class/power_supply/BAT0/current_now = 726 [mA]
/sys/class/power_supply/BAT0/status = Discharging
Charge = 29.2 [%]
Capacity = 66.5 [%]
+++ Recommendations
* Install smartmontools for disk drive health infoOffline
What I meant was to purge the package or at least disable the service (and ensure it's not running)
Offline
Disabled now tlp.service. And verified it's not running.
systemctl | grep tlpyields no results.
Still it reboots itself on suspend.
Interestingly, even though tlp.service is not running, "Started TLP suspend/resume" is still in journal.
Jul 13 22:35:51 archer systemd-logind[504]: Lid closed.
Jul 13 22:35:51 archer systemd-logind[504]: Suspending...
Jul 13 22:35:51 archer NetworkManager[506]: <info> [1563046551.3608] manager: sleep: sleep requested (sleeping: no enabled: yes)
Jul 13 22:35:51 archer NetworkManager[506]: <info> [1563046551.3609] device (p2p-dev-wlp58s0): state change: disconnected -> unmanaged>
Jul 13 22:35:51 archer NetworkManager[506]: <info> [1563046551.3629] manager: NetworkManager state is now ASLEEP
Jul 13 22:35:51 archer systemd[1]: Automatic wireless network connection using netctl profiles is not active.
Jul 13 22:35:51 archer systemd[1]: Dependency failed for restart netctl-auto on resume..
Jul 13 22:35:51 archer systemd[1]: netctl-auto-resume@wlp58s0.service: Job netctl-auto-resume@wlp58s0.service/start failed with result >
Jul 13 22:35:51 archer systemd[1]: Starting TLP suspend/resume...
Jul 13 22:35:51 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/>
Jul 13 22:35:51 archer systemd[1]: Started Lock the screen on resume from suspend.
Jul 13 22:35:51 archer kernel: audit: type=1130 audit(1563046551.373:180): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockons>
Jul 13 22:35:51 archer systemd[2557]: lockonsuspend.service: Failed to determine user credentials: No such process
Jul 13 22:35:51 archer systemd[2557]: lockonsuspend.service: Failed at step USER spawning /usr/bin/dm-tool: No such process
Jul 13 22:35:51 archer systemd[1]: lockonsuspend.service: Main process exited, code=exited, status=217/USER
Jul 13 22:35:51 archer systemd[1]: lockonsuspend.service: Failed with result 'exit-code'.
Jul 13 22:35:51 archer audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/u>
Jul 13 22:35:51 archer kernel: audit: type=1131 audit(1563046551.377:181): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockons>
Jul 13 22:35:51 archer systemd[1]: Started TLP suspend/resume.
Jul 13 22:35:51 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp-sleep comm="systemd" exe="/usr/>
Jul 13 22:35:51 archer systemd[1]: Reached target Sleep.
Jul 13 22:35:51 archer kernel: audit: type=1130 audit(1563046551.950:182): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp-sle>
Jul 13 22:35:51 archer systemd[1]: Starting Suspend...
Jul 13 22:35:51 archer systemd-sleep[2675]: Suspending system...
Jul 13 22:35:51 archer kernel: PM: suspend entry (deep)
-- Reboot --Offline
There's tlp-sleep.service which is triggered by the suspend - you'll have to mask it or temporarily remove the package.
Offline
Removed tlp. No tlp entries anymore in journal. Still reboots itself on suspend.
Jul 14 10:38:05 archer systemd-logind[545]: Lid closed.
Jul 14 10:38:09 archer systemd-logind[545]: Suspending...
Jul 14 10:38:09 archer NetworkManager[542]: <info> [1563089889.8241] manager: sleep: sleep requested (sleeping: no enabled: yes)
Jul 14 10:38:09 archer NetworkManager[542]: <info> [1563089889.8244] device (p2p-dev-wlp58s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Jul 14 10:38:09 archer NetworkManager[542]: <info> [1563089889.8291] manager: NetworkManager state is now ASLEEP
Jul 14 10:38:09 archer systemd[1]: Created slice system-netctl\x2dauto\x2dresume.slice.
Jul 14 10:38:09 archer systemd[1]: Reached target Sleep.
Jul 14 10:38:09 archer systemd[1]: Automatic wireless network connection using netctl profiles is not active.
Jul 14 10:38:09 archer systemd[1]: Dependency failed for restart netctl-auto on resume..
Jul 14 10:38:09 archer systemd[1]: netctl-auto-resume@wlp58s0.service: Job netctl-auto-resume@wlp58s0.service/start failed with result 'dependency'.
Jul 14 10:38:09 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 14 10:38:09 archer systemd[1]: Started Lock the screen on resume from suspend.
Jul 14 10:38:09 archer kernel: audit: type=1130 audit(1563089889.850:175): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 14 10:38:09 archer systemd[1]: Starting Suspend...
Jul 14 10:38:09 archer systemd[1916]: lockonsuspend.service: Failed to determine user credentials: No such process
Jul 14 10:38:09 archer systemd[1916]: lockonsuspend.service: Failed at step USER spawning /usr/bin/dm-tool: No such process
Jul 14 10:38:09 archer systemd[1]: lockonsuspend.service: Main process exited, code=exited, status=217/USER
Jul 14 10:38:09 archer systemd[1]: lockonsuspend.service: Failed with result 'exit-code'.
Jul 14 10:38:09 archer audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 14 10:38:09 archer kernel: audit: type=1131 audit(1563089889.856:176): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 14 10:38:09 archer systemd-sleep[1917]: Suspending system...
Jul 14 10:38:09 archer kernel: PM: suspend entry (deep)
-- Reboot --
Jul 14 10:38:36 archer kernel: Linux version 5.2.0-arch2-1-ARCH (builduser@heftig-101614) (gcc version 9.1.0 (GCC)) #1 SMP PREEMPT Mon Jul 8 18:18:54 UTC 2019Offline
Nope. Since this seems a regression and ACPI (not the daemon) related:
a) did you try the lts kernel?
b) do you have a parallel windows installation?
c) are any BIOS updates available?
d) is the behavior independent from the power supply (battery ./. wall plug)?
e) try to explicitly power the system down for a cold reboot (in case the power state is otherwise messed up in the BIOS)
Offline
Outdated BIOS, that seemed to be the problem. Updated it and that solved the problem!
Now system suspends correctly without rebooting itself.
Thank you. I really appreciate your help.
Jul 14 21:05:30 archer systemd-logind[510]: Lid closed.
Jul 14 21:05:36 archer systemd-logind[510]: Suspending...
Jul 14 21:05:36 archer NetworkManager[506]: <info> [1563127536.7196] manager: sleep: sleep requested (sleeping: no enabled: yes)
Jul 14 21:05:36 archer NetworkManager[506]: <info> [1563127536.7198] device (p2p-dev-wlp58s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Jul 14 21:05:36 archer NetworkManager[506]: <info> [1563127536.7210] manager: NetworkManager state is now ASLEEP
Jul 14 21:05:36 archer systemd[1]: Starting TLP suspend/resume...
Jul 14 21:05:36 archer kernel: audit: type=1130 audit(1563127536.736:170): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 14 21:05:36 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 14 21:05:36 archer systemd[1]: Started Lock the screen on resume from suspend.
Jul 14 21:05:36 archer dm-tool[2090]: Not running inside a display manager, XDG_SEAT_PATH not defined
Jul 14 21:05:36 archer systemd[1]: lockonsuspend.service: Main process exited, code=exited, status=1/FAILURE
Jul 14 21:05:36 archer systemd[1]: lockonsuspend.service: Failed with result 'exit-code'.
Jul 14 21:05:36 archer audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 14 21:05:36 archer kernel: audit: type=1131 audit(1563127536.770:171): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lockonsuspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 14 21:05:37 archer systemd[1]: Started TLP suspend/resume.
Jul 14 21:05:37 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp-sleep comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 14 21:05:37 archer systemd[1]: Reached target Sleep.
Jul 14 21:05:37 archer kernel: audit: type=1130 audit(1563127537.343:172): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp-sleep comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 14 21:05:37 archer systemd[1]: Starting Suspend...
Jul 14 21:05:37 archer systemd-sleep[2210]: Suspending system...
Jul 14 21:05:37 archer kernel: PM: suspend entry (deep)
Jul 14 21:05:51 archer kernel: Filesystems sync: 0.009 seconds
Jul 14 21:05:51 archer kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Jul 14 21:05:51 archer kernel: OOM killer disabled.
Jul 14 21:05:51 archer kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
...Offline
Cool.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline