- From: Mike <
>
- To: "
" <
>
- Subject: [chef] Re: CHEF-2205: manage_home on Redhat
- Date: Mon, 28 Jan 2013 15:47:17 -0500
I, for one using RedHat/CentOS/Amazon Linux, expect a user's account
creation to always have a home directory created, unless the following
is true:
- A 'system' user account is created (useradd -r)
- Explicitly override with 'manage_home false' (effectively 'useradd -M')
Considering scenarios in which we deploy users, we either want to have
them auto-assigned a homedir, or in the case of system users, no
homedir.
It seems like we've been deploying users without explicitly using the
`supports {:manage_home => true}` attribute to the resource, so this
would indeed be a huge honking breaking change in Chef 10.
Don't break my Chef.
If this is included in Chef 11 - as it probably should be, as it's a
logical bug, considering the default value of :manage_home is false,
then this should be lit up in lights, painted across the sky, shouted
across the rooftops.
-Mike
On Mon, Jan 28, 2013 at 2:26 PM, Bryan McLellan
<
>
wrote:
>
While the user resource defaults to not managing home directories by
>
default, apparently Redhat overrides that so home directories are always
>
created. CHEF-2205 proposes fixing that. Redhat people, is this behavior
>
unexpected to you?
>
>
We could throw a warning in that situation for a few releases, but I don't
>
know that most people upgrade every release.
>
>
http://tickets.opscode.com/browse/CHEF-2205
>
>
---
>
Bryan McLellan | opscode | technical program manager, open source
>
(c) 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org
>
>
>
Archive powered by MHonArc 2.6.16.