Re: ports registering services in /etc/services and services_mkdb
Hi Olli, On 7-6-2012 16:59, Olli Hauer wrote: > I don't think it is practical to patch all the ports like > like bacula , spamd and others to not use getservbyname > and hardcode the required ports? I've got a preliminary patch that I'm going to submit upstream that enables services support in net/nss-pam-ldapd. Services aren't as flexible as users/groups in that you can assign ranges for different NSS sources, thus running services_mkdb may in fact interfere with a site's infrastructure if the particular service has already been defined on a different port. Maybe it's wiser to standardize a pkg-message string? Also, one should never touch /etc/services if nsswitch.conf does not contain compat or files and finally, adding a single service without /etc/services using services_mkdb is not currently possible. -- Mel ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: ports registering services in /etc/services and services_mkdb
On 2012-06-07 16:46, Doug Barton wrote: > On 06/07/2012 07:37 AM, Olli Hauer wrote: >> Hi, >> >> during an update to 8.3 I notice mergemaster from 8.3 is >> building a database from /etc/services with services_mkdb. >> >> However the ports framework does not provide an automation >> to rebuild this database, even I haven't seen any port which >> triggers a rebuild. > > Ports should not be adding entries to /etc/services. > > Doug > I don't think it is practical to patch all the ports like like bacula , spamd and others to not use getservbyname and hardcode the required ports? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: ports registering services in /etc/services and services_mkdb
On 06/07/2012 07:37 AM, Olli Hauer wrote: > Hi, > > during an update to 8.3 I notice mergemaster from 8.3 is > building a database from /etc/services with services_mkdb. > > However the ports framework does not provide an automation > to rebuild this database, even I haven't seen any port which > triggers a rebuild. Ports should not be adding entries to /etc/services. Doug ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
ports registering services in /etc/services and services_mkdb
Hi, during an update to 8.3 I notice mergemaster from 8.3 is building a database from /etc/services with services_mkdb. However the ports framework does not provide an automation to rebuild this database, even I haven't seen any port which triggers a rebuild. So my questions: - should ports take care for rebuilding the database - should we implement something like USERS/GROUPS for services in bsd.port.mk - what are the consumers of /var/db/services.db and what is the impact of not rebuilding this database. -- regards, olli ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"