From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D12271384C2 for ; Tue, 15 Jan 2013 23:13:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 547D821C098; Tue, 15 Jan 2013 23:13:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AFA0F21C00A for ; Tue, 15 Jan 2013 23:13:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id C36DB33DAFC for ; Tue, 15 Jan 2013 23:13:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.171 X-Spam-Level: X-Spam-Status: No, score=-1.171 tagged_above=-999 required=5.5 tests=[AWL=-1.168, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4qkC6OWoHG8A for ; Tue, 15 Jan 2013 23:13:12 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE5B333C34C for ; Tue, 15 Jan 2013 23:13:11 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TvFh3-0003Zj-SG for gentoo-user@gentoo.org; Wed, 16 Jan 2013 00:13:21 +0100 Received: from 178-83-16-246.dynamic.hispeed.ch ([178.83.16.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Jan 2013 00:13:21 +0100 Received: from remy.blank by 178-83-16-246.dynamic.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Jan 2013 00:13:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Remy Blank Subject: [gentoo-user] Re: /home doesn't umount on shutdown Date: Wed, 16 Jan 2013 00:12:55 +0100 Message-ID: References: <20130115115721.16ea5ca0@khamul.example.com> <20130115110956.5c7e5a17@digimed.co.uk> <20130115145826.00706056@khamul.example.com> <50F5DE86.2000105@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5A4FABA06C8EDB887EE888C1" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 178-83-16-246.dynamic.hispeed.ch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20100305 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 In-Reply-To: <50F5DE86.2000105@gmail.com> X-Enigmail-Version: 1.3.5 X-Archives-Salt: 830b9eeb-6ff0-464c-925b-6a782cc3ec05 X-Archives-Hash: 80ebdac863b5223ff5db94ee0ab5a7c9 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5A4FABA06C8EDB887EE888C1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dale wrote: > Care to share that script? ;-) May try that myself. Sure, here it is: $ cat .kde4/shutdown/cleanup-kde-processes #!/bin/bash log() { logger -t "$(basename $0)" "$1" } is_running() { killall -0 -u $USER "$1" } kill_if_running() { sleep 15 is_running startkde && return 0 if is_running $1; then log "$1 still running, sending TERM" killall -s TERM $1 sleep 5 is_running startkde && return 0 if is_running $1; then log "$1 still running, sending KILL" killall -s KILL $1 fi fi } kill_if_running kded4 & kill_if_running nepomukserver & --------------enig5A4FABA06C8EDB887EE888C1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlD14ncACgkQCeNfIyhvXjJ3GACfSsrKAghhgQkY974M9zpBMgNe 5YMAoKFVf4Xg1sZIjF/jRGtbD1x0Pzpc =rOPb -----END PGP SIGNATURE----- --------------enig5A4FABA06C8EDB887EE888C1--