From owner-freebsd-ports@FreeBSD.ORG Mon Nov 25 17:30:12 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5939A725 for ; Mon, 25 Nov 2013 17:30:12 +0000 (UTC) Received: from forward4h.mail.yandex.net (forward4h.mail.yandex.net [IPv6:2a02:6b8:0:f05::4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 115C12A75 for ; Mon, 25 Nov 2013 17:30:12 +0000 (UTC) Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward4h.mail.yandex.net (Yandex) with ESMTP id 90D421B211D0; Mon, 25 Nov 2013 21:30:08 +0400 (MSK) Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id 2FD4E2C219A; Mon, 25 Nov 2013 21:30:08 +0400 (MSK) Received: from 87.249.28.58.tel.ru (87.249.28.58.tel.ru [87.249.28.58]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id IRTnNaj9vx-U798m4iW; Mon, 25 Nov 2013 21:30:07 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) Message-ID: <5293891F.4080607@passap.ru> Date: Mon, 25 Nov 2013 21:30:07 +0400 From: Boris Samorodov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Jason bacon Subject: Re: [QAT] r334788: 1x depend (depend_package in databases/rrdtool), 3x leftovers References: <529310AE.7050805@passap.ru> <52935DFB.5080602@tds.net> In-Reply-To: <52935DFB.5080602@tds.net> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 17:30:12 -0000 (reformatted for consistency sake) 25.11.2013 18:26, Jason bacon пишет: > On 11/25/13 2:56 AM, Boris Samorodov wrote: >> >> I'm not sure how to deal with /home/$USER leftovers (i.e. while >> package install a new user/group is created and while package >> deinstalled /home/$USER becomes a leftover, but we display a >> message that a user should be removed manually): >> >> [...] >> ======================================== >> ===> Building package for slurm-2.6.4 >> Deleting slurm-2.6.4 >> Deinstallation has been requested for the following 1 packages: >> >> slurm-2.6.4 >> >> The deinstallation will free 51 MB >> [1/1] Deleting slurm-2.6.4...==> You should manually remove the "slurm" >> user. >> done >> ================================================================ >> >> === Checking filesystem state >> list of extra files and directories in / (not present before this port >> was installed but present after it was deinstalled) >> 30528 8 drwxr-xr-x 3 root wheel >> 64 Nov 24 20:32 home >> 34619 0 drwxr-xr-x 2 slurm slurm >> 0 Nov 24 20:32 home/slurm >> [...] >> > The files in /home/$USER (and /var) should be preserved. Deinstalls may > be part of an upgrade process, vs permanent removal, and some of these > files contain usage statistics needed by sysadmins for reporting. > > I would suggest the following deinstall message: > > "You may remove /home/$USER if you are no longer using SLURM." Yep, that is the question: why did QAT suggests manuall removing _and_ exit with error code? -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve