Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 08:26:03 -0600
From:      Jason bacon <jwbacon@tds.net>
To:        Boris Samorodov <bsam@passap.ru>
Cc:        , ports@FreeBSD.org
Subject:   Re: [QAT] r334788: 1x depend (depend_package in databases/rrdtool), 3x leftovers
Message-ID:  <52935DFB.5080602@tds.net>
In-Reply-To: <529310AE.7050805@passap.ru>
References:  <E1VkgMl-000AjC-BO@qat.redports.org> <529310AE.7050805@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

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."

Thanks,

     JB

On 11/25/13 2:56 AM, Boris Samorodov wrote:
> Hi All,
>
> 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):
>
> [...]
> ====================<phase 7: make package>====================
> ===>   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
> [...]
>
> Thanks!


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Jason W. Bacon
   jwbacon@tds.net

   Circumstances don't make a man:
   They reveal him.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52935DFB.5080602>