Ticket #1119 (new enhancement)

Opened 12 years ago

Last modified 11 years ago

athinfod, discuss, and cview don't clean up /etc/services on uninstallation

Reported by: jdreed Owned by:
Priority: low Milestone: The Distant Future
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description (last modified by jdreed) (diff)

athinfod, discuss, and cview don't clean up their additions to /etc/services. It's possible that doing stupid things with sed -i is not a good idea, but nonetheless we should probably try to clean up after ourselves.

Change History

comment:1 Changed 12 years ago by jdreed

(It's possible this ticket should turn into "debathena-athinfo doesn't cleanup /etc/services", but whatever.)

comment:2 Changed 12 years ago by andersk

debathena-athinfo is in debathena-clients and isn’t supposed to require debathena-nsswitch-config at all, much less a funny nss services config.

comment:3 Changed 12 years ago by jdreed

  • Priority changed from normal to low
  • Description modified (diff)
  • Summary changed from Use Hesiod for NSS services entries to athinfod, discuss, and cview don't clean up /etc/services on uninstallation

comment:4 Changed 11 years ago by jdreed

This ticket is actually "compile in default values to athinfo, athinfod, discuss, larvnet, and cview" and "check the return value of getservent() and deal appropriately". People who, god forbid, are running this at another site on non-standard ports can add their own services entry, and we can move on with our lives.

comment:5 Changed 11 years ago by jdreed

Per zephyr, of the two ports below 49152 that we use (2100, discuss; 3704, cview), they both conflict with IANA assignments. The other ports are in the Private range and cannot be officially registered.

Note: See TracTickets for help on using tickets.