Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Service causing "running stop job" at shutdown. What to do??
-
- Posts: 5
- Joined: 2018-03-23 19:23
Service causing "running stop job" at shutdown. What to do??
So when shutting down I get "running stop job, user session, etc" and after 90 seconds it will shut down just fine, but it's kind of annoying. After reading forums, checking system logs and journals, and testing some stuff I narrowed it down to my "private internet access" applet that is causing it. If I remember to exit it before shutting down, no problem. But I forgot to do that sometimes.
So whats the go to method to fix this? I was thinking I could set a script to run to kill pia before shutting down or something? I'm not sure if that's the best work around though. What's the recommended fix?
Also, my only two repos in my source list are non free contrib debian sid repos. From past posts this problem usually seems to be caused by something in the source list one way or another but I don't think that applies to me.
So whats the go to method to fix this? I was thinking I could set a script to run to kill pia before shutting down or something? I'm not sure if that's the best work around though. What's the recommended fix?
Also, my only two repos in my source list are non free contrib debian sid repos. From past posts this problem usually seems to be caused by something in the source list one way or another but I don't think that applies to me.
Re: Service causing "running stop job" at shutdown. What to
it's a systemd thing; the app probably comes with a systemd service enabled.ctrlAltVogue wrote:So whats the go to method to fix this? I was thinking I could set a script to run to kill pia before shutting down or something?
the go-to method is to copy the built-in service file from /usr/lib/systemd to /etc/systemd/system and make some changes to it. effectively, i guess that's exactly what you would be changing: just kill the process instead of waiting endlessly for it to shut down gracefully.
-
- Posts: 5
- Joined: 2018-03-23 19:23
Re: Service causing "running stop job" at shutdown. What to
debiman wrote:it's a systemd thing; the app probably comes with a systemd service enabled.ctrlAltVogue wrote:So whats the go to method to fix this? I was thinking I could set a script to run to kill pia before shutting down or something?
the go-to method is to copy the built-in service file from /usr/lib/systemd to /etc/systemd/system and make some changes to it. effectively, i guess that's exactly what you would be changing: just kill the process instead of waiting endlessly for it to shut down gracefully.
Code: Select all
macy@debian:/etc/systemd/system$ ls
bluetooth.target.wants graphical.target.wants
dbus-fi.w1.wpa_supplicant1.service multi-user.target.wants
dbus-org.bluez.service network-online.target.wants
dbus-org.freedesktop.Avahi.service printer.target.wants
dbus-org.freedesktop.ModemManager1.service sockets.target.wants
dbus-org.freedesktop.nm-dispatcher.service sysinit.target.wants
display-manager.service syslog.service
getty.target.wants timers.target.wants
Code: Select all
macy@debian:/usr/lib/systemd$ ls
boot tests user-environment-generators user-preset
catalog user user-generators
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Service causing "running stop job" at shutdown. What to
How did you install this?ctrlAltVogue wrote:my "private internet access" applet
Using the program's own mechanisms to effect the shutdown would seem to be a more "correct" solution but it is possible to run scripts at shutdown with systemd — a quick internet search will show you how
deadbang
-
- Posts: 5
- Joined: 2018-03-23 19:23
Re: Service causing "running stop job" at shutdown. What to
I downloaded the package from their website. I was just reading up on systemd earlier and think I understand what to do, I just gotta figure out how to do it exactly haha. I'll update in a day or two when I get it sorted out, or if I can'tHead_on_a_Stick wrote:How did you install this?ctrlAltVogue wrote:my "private internet access" applet
Using the program's own mechanisms to effect the shutdown would seem to be a more "correct" solution but it is possible to run scripts at shutdown with systemd — a quick internet search will show you how
Re: Service causing "running stop job" at shutdown. What to
i assumed that installing "unknown private internet access package" would also install a systemd service, as is often the case.
maybe i assumed wrong.
op, please post output of:
...and don't mess with system stuff unless you know what you're doing (maybe too late to issue that warning).
maybe i assumed wrong.
op, please post output of:
Code: Select all
dpkg -L "unknown private internet access package"
-
- Posts: 5
- Joined: 2018-03-23 19:23
Re: Service causing "running stop job" at shutdown. What to
debiman wrote:i assumed that installing "unknown private internet access package" would also install a systemd service, as is often the case.
maybe i assumed wrong.
op, please post output of:Code: Select all
dpkg -L "unknown private internet access package"
Code: Select all
macy@debian:~$ sudo dpkg -L "unknown private internet access package"
dpkg-query: error: --listfiles needs a valid package name but 'unknown private internet access package' is not: illegal package name in specifier 'unknown private internet access package': character ' ' not allowed (only letters, digits and characters '-+._')
Eh now that I think about it, that app not working right was probably the reason I always used openVPN instead. I've just been using Mint/Ubuntu forever but I installed debian because I wanted to learn Linux more in depth and...idk mission success I guess hahaha. I didn't even know what systemd was until a few days ago anyway so my plan must be working!!!!...and don't mess with system stuff unless you know what you're doing (maybe too late to issue that warning).
And I feel cool using upstream distros I guess.
Re: Service causing "running stop job" at shutdown. What to
ctrlAltVogue wrote:Code: Select all
macy@debian:~$ sudo dpkg -L "unknown private internet access package"
ok, i'm outta here...And I feel cool using upstream distros I guess.
-
- Posts: 5
- Joined: 2018-03-23 19:23
Re: Service causing "running stop job" at shutdown. What to
lmaooo okay. Well, thanks anywaydebiman wrote:ctrlAltVogue wrote:Code: Select all
macy@debian:~$ sudo dpkg -L "unknown private internet access package"
ok, i'm outta here...And I feel cool using upstream distros I guess.
-
- Posts: 31
- Joined: 2018-03-26 15:38
Re: Service causing "running stop job" at shutdown. What to
I think the point being made here is that it would be much easier to help you if you'd actually provide what application to which you're referring, how (exactly) you determined this is the case, how (exactly) you installed it, etc.ctrlAltVogue wrote:
lmaooo okay. Well, thanks anyway
We're 8 replies in already and none of this information has been provided. It's almost impossible to know how to fix the issue you're having, because there's almost no background whatsoever. Just that there's some app you installed somehow, from somewhere, that (as far as we know) you arbitrarily decided is hanging at shutdown.
Detail is your friend!