Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-31-2016, 05:51 PM   #31
Senior Member
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,789

Original Poster
Rep: Reputation: 139Reputation: 139

So, here's what I'm trying: reverting back to Upstart, forget about systemd. After some research (e.g. I've done:
$ apt-get install upstart-sysv sysvinit-utils  # don't know if I need sysvinit-utils. Some sites had it, some didn't
$ update-initramfs -u
$ reboot
I've not removed systemd yet. After doing the above, lo and behold, the shutdown script we've been struggling with worked just fine. I've renamed it from /etc/rc6.d/K01rc.local to /ec/rc6.d/K00rc.local to insure that it runs first, and it appears to work. Next is to put my VM shutdown script in there and see if it shuts down gracefully. But there's a bit of a problem ...

While most services seem to work fine with Upstart back in action, I have no lightdm login console. Need to fix that before I can test the VM thing. I've made a separate thread for this issue:

Last edited by mfoley; 08-31-2016 at 06:01 PM.
Old 08-31-2016, 08:13 PM   #32
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,853

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
That is why I don't like systemd. network analysis is not simple, nor easy to do. It was why it took almost 7 versions of Fedora with systemd to get it mostly working.
Old 09-01-2016, 11:41 AM   #33
LQ Addict
Registered: Dec 2013
Posts: 15,305
Blog Entries: 9

Rep: Reputation: 4379Reputation: 4379Reputation: 4379Reputation: 4379Reputation: 4379Reputation: 4379Reputation: 4379Reputation: 4379Reputation: 4379Reputation: 4379Reputation: 4379
Originally Posted by mfoley View Post
ondoho: where do you keep that script and how is it invoked, software-wise? I.e., what causes the script to run?
i keep it anywhere and it is invoked through openbox menu, that means menu.xml has this in it:
    <item label="Exit"><action name="Execute"><command>~/.config/openbox/scripts/close-all-windows openbox --exit</command></action></item>
    <item label="Reboot"><action name="Execute"><command>~/.config/openbox/scripts/close-all-windows systemctl reboot</command></action></item>
    <item label="Shutdown"><action name="Execute"><command>~/.config/openbox/scripts/close-all-windows systemctl poweroff</command></action></item>


shutdow, systemd

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Systemd service: AUTOSSH.service does not start at boot, how can I fix this? The_Linux_Machine Linux - Newbie 1 07-06-2016 12:00 PM
Can't access full journalctl from script via systemd service even though user is in systemd-journal group iwtbf Linux - Newbie 0 02-19-2016 02:44 PM
systemd service aagaag Linux - Newbie 1 01-18-2016 07:42 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM > Forums > Linux Forums > Linux - Server

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

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