LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-05-2016, 09:19 AM   #1
Phiebie
Member
 
Registered: Oct 2004
Location: Austria
Distribution: Debian testing
Posts: 114

Rep: Reputation: 17
Systemd shutdown


As already mentioned some time ago, when shutting down or even restarting the system, the process has severe hickups when it comes to closing /var and swap. As far as I understood, noone in Debian is interested in solving this very annoying behaviour "it's Godgiven amen".
Now my question: I log out of the x-session and then give the command
"shutdown -h (or) r now". (Sorry, codetags seem not to be working in my Firefox) That works flawlessly as regards the speed of closing the whole session. BUT are with this all running processes and whatsoever closed *properly*? Or will I discover one day or the other, that something was killed brutally and not working anymore?
Kind regards.
 
Old 11-05-2016, 09:48 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
Quote:
As already mentioned some time ago, when shutting down or even restarting the system, the process has severe hickups when it comes to closing /var and swap
where is this coming from?

http://serverfault.com/questions/327...hutdown#327761
 
Old 11-07-2016, 11:55 AM   #3
Phiebie
Member
 
Registered: Oct 2004
Location: Austria
Distribution: Debian testing
Posts: 114

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by pan64 View Post
The principle of the shutdown-command was known by me. BUT I was (and still am) not sure about the interaction with systemd. Why, if shutdown is so diligent and graceful, the systemd-programmers don't use it instead of their darned own routine? Knowing what an annoyance they cause!
 
  


Reply



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
Used to shutdown/reboot from CLI but since systemd replaced init "shutdown" cmnd broke? Beagleburt Debian 10 09-24-2019 07:49 PM
How to write slow, blocking systemd shutdown service? charlweed Linux - General 9 03-22-2019 03:22 PM
systemd chokes at shutdown, when nfs mount disk is absent. kaz2100 Debian 6 08-26-2016 02:18 AM
[SOLVED] shutdown works, but /lib/systemd/system/shutdown.target does not. kaz2100 Debian 3 08-06-2014 03:28 AM

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

All times are GMT -5. The time now is 10:46 AM.

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