On Tue, Jul 15, 2014 at 05:53:36PM +0200, Antoine Jacoutot wrote: > On Tue, Jul 15, 2014 at 05:51:46PM +0200, Mark Kettenis wrote: > > > Date: Tue, 15 Jul 2014 17:17:45 +0200 > > > From: Antoine Jacoutot <ajacou...@bsdfrog.org> > > > > > > But be careful, this is not a user-editable file anymore, so we need > > > to take into account that some stuffs that may not appear obvious to > > > us may still be needed by people. > > > > That's a mistake. You're supposed to be able to add ports in there > > for custom software such that you can use getservbyname(3) and don't > > have to hardcode the port number in your code and be sure that > > something else doesn't camp out on that port because of port > > randomization. > > You can still edit the file, but it will be overwritten on upgrade. > If you need new entries, they can be committed. >
I think Mark is talking about stuff that is not in the ports tree. I had local additions to services in the past and may use that again for convinience e.g. to remember on what magic port some webfrontend is running. IMO /etc/services should not be overwritten on upgrade. Also if people are careful and only append at the end then merging the file with sysmerge should be trivial. -- :wq Claudio