From owner-freebsd-ports@FreeBSD.ORG Mon Nov 25 20:10:34 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 03DD2C8E for ; Mon, 25 Nov 2013 20:10:34 +0000 (UTC) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [IPv6:2a02:6b8:0:801::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC172262D for ; Mon, 25 Nov 2013 20:10:33 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward12.mail.yandex.net (Yandex) with ESMTP id CB708C217A6; Tue, 26 Nov 2013 00:10:28 +0400 (MSK) Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id 7781D16A094A; Tue, 26 Nov 2013 00:10:28 +0400 (MSK) Received: from 46.38.32.182.tel.ru (46.38.32.182.tel.ru [46.38.32.182]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id qMMlgiQP2y-ARpiMAtL; Tue, 26 Nov 2013 00:10:27 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) Message-ID: <5293AEB3.1040203@passap.ru> Date: Tue, 26 Nov 2013 00:10:27 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130806 Thunderbird/17.0.7 MIME-Version: 1.0 To: =?UTF-8?B?QmVybmhhcmQgRnLDtmhsaWNo?= Subject: Re: [QAT] r334788: 1x depend (depend_package in databases/rrdtool), 3x leftovers References: <529310AE.7050805@passap.ru> <52935DFB.5080602@tds.net> <5293891F.4080607@passap.ru> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: "ports@freebsd.org Ports" , Jason bacon 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 20:10:34 -0000 25.11.2013 22:44, Bernhard Fröhlich пишет: > Am 25.11.2013 18:30 schrieb "Boris Samorodov" : >> >> (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? > > With my QAT hat on I consider this a false positive. You can safely ignore > that complain from QAT. Noted, thanks! -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve