make upgrade overwrites /etc/mail/mailer.conf

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Wed Feb 2 10:27:09 PST 2005


On Wednesday, 2. February 2005 19:18, Matthew Dillon wrote:
> :Another solution could be using default files (/etc/defaults/services)
> :and add overrides/custom entries in /etc/services.
> :
> :Too bad that I have no idea how we could do this, since -alot- of tcp/ip
> :tools use /etc/services directly. Any way to wrap this?
> :
> :- Erik
>
>     No tools should be using /etc/services directly.  They should all be
>     using e.g. getservbyname() and friends.
>
>     Pesonally speaking I really like the idea of having /etc/services
>     and /etc/defaults/services.

for legacy reasons (scripts etc) better make it /etc/services 
and /etc/services.local. or just make it plain simple:

/etc/default/services
/etc/services.local

both get merged into /etc/services by /etc/rc.d/services or whatever

cheers
  simon

-- 
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Attachment:
pgp00000.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20050202/fd07e9be/attachment-0022.obj>


More information about the Bugs mailing list