LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-06-2014, 12:39 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,834

Rep: Reputation: 108Reputation: 108
shutdown works, but /lib/systemd/system/shutdown.target does not.


Hya,

System
Debian Jessie, amd64. (Intel DJ41MJ, Core 2 duo E8400)

Set up
I want to use ctrl-alt-del for power off.

I followed this thread.

Code:
m# ls -l /etc/systemd/system/ctrl-alt-del.target
lrwxrwxrwx 1 root root 35 Aug  6 04:21 ctrl-alt-del.target -> /lib/systemd/system/shutdown.target

Problem
When ctrl-alt-del is pressed, console says that many processed are terminated and that "reached shutdown target" and nothing happens. (power stays on)

If shutdown command is issued with -h, it shuts down.

System is up to date as of 6/Aug/2014 6am UTC.


I have several other Debian Jessie penguins, which work fine so far.

I appreciate any input.

cheers
 
Old 08-06-2014, 01:08 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Jessie is still in the testing phases so stuff is usually not going to work correctly unfortunately.

Systemd is also still being worked into the system and it's bound to have problems as well. You should probably check the Ctrl-alt-del.target file and see if it has the proper reboot handling triggers are being used.
 
Old 08-06-2014, 01:19 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by kaz2100 View Post
(..) I want to use ctrl-alt-del for power off.
The post tells you to link ctrl-alt-del.target to poweroff.target? You linked it to shutdown.target? Subtle difference: shutdown service starts the shutdown daemon while poweroff eventually does a 'systemctl --force poweroff'.
 
Old 08-06-2014, 03:28 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,834

Original Poster
Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by unSpawn View Post
The post tells you to link ctrl-alt-del.target to poweroff.target? You linked it to shutdown.target? Subtle difference: shutdown service starts the shutdown daemon while poweroff eventually does a 'systemctl --force poweroff'.
You are a star!

cheers
 
  


Reply

Tags
ctrl-alt-del, debian, jessie, shutdown, systemd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs wicd netcl systemd blues (cannot shutdown without CPU Lock) forshark Linux - Networking 2 05-28-2013 02:29 PM
FC18: running a command on shutdown (or reboot) before every other shutdown operation P5music Fedora 3 04-23-2013 03:56 PM
Where I can locate Shutdown log for Linux Shutdown (RHL 5.1-2.6.18-53.el5PAE) msmallya Linux - General 2 04-23-2010 01:56 AM
Unable to shutdown/reboot server, no shutdown process running dctw Linux - Server 5 03-31-2010 05:46 AM
/lib/libthread_db.so.1 crashes at shutdown or reboot on Slackware 10.1 with Qt 3.3.4 Basel Slackware 13 07-15-2005 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration