You are not logged in.

#1 2012-09-13 13:00:00

chisleu
Member
Registered: 2012-08-15
Posts: 22

SIGTERM at shutdown fails after networkmanager update

Since we can't un-[SOLVED] the other thread, I was worried perhaps it would be missed.

With the current (9/13/2012) networkmanager package, kill_all() fails on shutdown. I put /bin/bash in my kill_all() function and networkmanager was holding up the show. Also dhcpd (which I believe is running with networkmanager)

Should this be filed with the networkmanager folks? I just wanted to be sure it wasn't just an arch problem.

Offline

#2 2012-09-13 16:35:58

Potomac
Member
Registered: 2011-12-25
Posts: 551

Re: SIGTERM at shutdown fails after networkmanager update

the problem is more complex, for some people the culprit is KDE and/or systemd :

https://bugs.kde.org/show_bug.cgi?id=294714

https://wiki.archlinux.org/index.php/Sy … ribly_long

I use KDE but I don't use systemd ( and I don't use networkmanager ) and I have a similar bug during shutdown and reboot ( but not always, it's a random bug ), SIGTERM fails and I must wait 5 seconds and then the PC can shutdown or reboot

Last edited by Potomac (2012-09-13 16:38:35)

Offline

#3 2012-09-17 08:22:19

ephan
Member
Registered: 2011-11-02
Posts: 171

Re: SIGTERM at shutdown fails after networkmanager update

At this moment, my computer can never SIGTERM processes, it just says [FAIL] so it SIGKILL's them. I don't like this because it takes much longer when shutting down the computer. I don't have KDE and I'm not using systemd.

Offline

#4 2012-09-18 07:14:36

x0bit
Member
Registered: 2012-09-18
Posts: 1

Re: SIGTERM at shutdown fails after networkmanager update

I have the same behavior when rebooting/shutdown after resume from hibernate. I havent tested if it happen when i dont hibernate.

Offline

#5 2012-09-18 07:23:58

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: SIGTERM at shutdown fails after networkmanager update

try this

pgrep networkmanager
if [ $? -eq 0 ]; then
sudo killall networkmanager && sudo shutdown -h now
else
sudo shutdown -h now
fi

  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#6 2012-09-19 20:57:24

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: SIGTERM at shutdown fails after networkmanager update

Bringing this to the top. Looking for a working solution.

Offline

#7 2012-09-20 07:01:40

ephan
Member
Registered: 2011-11-02
Posts: 171

Re: SIGTERM at shutdown fails after networkmanager update

illusionist wrote:

try this

pgrep networkmanager
if [ $? -eq 0 ]; then
sudo killall networkmanager && sudo shutdown -h now
else
sudo shutdown -h now
fi

I tried that script, it didn't work.

~> sudo killall networkmanager
[sudo] password for david: 
networkmanager: no process found
exit 1
~>

I also tried that right now, but no luck.

Offline

#8 2012-09-21 05:03:01

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: SIGTERM at shutdown fails after networkmanager update

Hey guys. I just wanted to let to know that after yesterday's upgrade I'm no longer having the problem.

Upgraded packages: libpipeline, libraw, linux

Offline

#9 2012-09-23 17:48:52

ephan
Member
Registered: 2011-11-02
Posts: 171

Re: SIGTERM at shutdown fails after networkmanager update

archie0, what package? A few days ago networkmanager had an update, but it still didn't fix it for me.

Offline

#10 2012-09-24 05:20:10

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: SIGTERM at shutdown fails after networkmanager update

ephan wrote:

archie0, what package? A few days ago networkmanager had an update, but it still didn't fix it for me.

Well, I've posted the packages in the post above. It might have been a new revision of networkmanager too.

See this: https://bbs.archlinux.org/viewtopic.php?id=143371

Offline

#11 2012-09-24 08:40:22

ephan
Member
Registered: 2011-11-02
Posts: 171

Re: SIGTERM at shutdown fails after networkmanager update

My "networkmanager --version" returns 0.9.6.0, but in archlinux.org the latest release is 0.9.6.0-2. I guess my mirror hasn't updated yet, because I already -Syu'd.

Offline

#12 2012-09-24 08:43:13

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: SIGTERM at shutdown fails after networkmanager update

ephan wrote:

My "networkmanager --version" returns 0.9.6.0, but in archlinux.org the latest release is 0.9.6.0-2. I guess my mirror hasn't updated yet, because I already -Syu'd.

Check it the right way:


pacman -Qi networkmanager | grep Version

Offline

#13 2012-09-24 10:02:41

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: SIGTERM at shutdown fails after networkmanager update

What the ....
Ok, I am again getting this error. It didn't occur last night and I didn't update any package since then.

Offline

#14 2012-09-26 06:07:25

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: SIGTERM at shutdown fails after networkmanager update

Solved after switching to SystemD.

Offline

Board footer

Powered by FluxBB