Re: Upgrade from source to RC1: problems with /etc : lost users and dbus

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Fri, 28 Oct 2011 18:40:07 -0700
On 10/28/2011 07:57, kama wrote:
> 
> 
> On Fri, 28 Oct 2011, John Baldwin wrote:
> 
>> On Thursday, October 27, 2011 7:14:51 am Ed Schouten wrote:
>>> * Tom Evans <tevans.uk_at_googlemail.com>, 20111027 13:06:
>>>> I have had this happen before, the PEBKAC. When running mergemaster,
>>>> it will prompt you to install new passwd, master.passwd and group
>>>> files - if you have added local users you must not say yes to this,
>>>> you must either merge the changes in or keep your local one.
>>>
>>> It would have been so awesome if our /etc/master.passwd and /etc/group
>>> included an #include directive.
>>
>> I do agree with this.  Or if you could have /etc/passwd.d and /etc/group.d
>> directories that can contain files that are auto-included.

Agreed.

> Another idea is to let mergemaster call pw(8) to add remove users and
> groups instead of merging the files.

I definitely would not be inclined to do it this way. The manner in
which mergemaster works now is fine, it just requires the sysadmin to
pay attention when doing the merge.


Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/
Received on Fri Oct 28 2011 - 23:40:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC