You are not logged in.
Hi.
After recent update I got /etc/group.pacnew and /etc/gshadow.pacnew. How should I merge the changes (I saw that "locate" group was added) to /etc/group and /etc/gshadow?
Currently I manually edited /etc/group and ran `sudo grpconv' so that it updates /etc/gshadow, but after that I ran `diff /etc/gshadow{,.pacnew}' and saw that there was "locate:x::" in my file and "locate:::" in .pacnew file. I edited /etc/gshadow manually to remove "x".
Is there an easier way to do the merge (maybe I could use `groupadd'?). Should group ids match in my local gshadow and the file in repos?
I saw similar topics about /etc/group and /etc/gshadow here, but did not find an answer.
Cheers.
Offline
You may want to check out meld from [extra].
Offline
Actually I have it installed
Meld helped me to determine that "locate" group was added in .pacnew files. The question is, how do I add this group to my local files. I don't feel comfortable when editing system files like /etc/group and gshadow (I guess they are not intended to be edited manually), so I'd like to know if there is a method better than manual editing (or using Meld to merge changes). Maybe special utilities like `groupadd'?
Offline
There should be no need to update these files. The install script will add groups and users if they are missing. If this does not work for you file a bug report.
Offline
When I ran `diff /etc/group{,.pacnew}', I saw that "locale" group is missing from /etc/group and present in /etc/group.pacnew. Does that mean that install script did not create "locate" group automatically? Or could it be that script created the group, but contents of /etc/group did not update immediately?
Offline
The locate group was added in 2008. did you use an ancient iso to install your system?
Offline
Probably.
Offline