Vincent Boisard writes:
> I am currently testing snv101.
> As I am not using IPv6, I tried to disable ndp with: svcadm disable ndp.
> However, after reboot it was still here.
> I noticed that it was started in routing-setup, by routeadm -u.
> How can I disable this service for good ?

We don't currently have a way to do that.  'routeadm' will enable the
ndp service any time the system has one or more IPv6 interfaces
configured.

Prior to NWAM Phase 0 (CR 6366093), the net-loopback script would
plumb the IPv6 loopback (lo0) interface only if there was at least one
/etc/hostname6.* file, so ndp would run only if you were actually
using IPv6 on some interface at boot time.  (If you configured it
after boot, you were simply on your own.)

The NWAM Phase 0 project changed this start-up script so that we now
_always_ plumb up IPv6 loopback.  One of the side-effects of that
change is that ndp now always runs, even if you never use IPv6.

Since then, projects (such as sendmail) have integrated changes that
depend on IPv6 loopback being plumbed all of the time, and you'll get
ugly errors on the console if you remove it.  (I'm not sure if those
errors imply actual problems; I haven't spent much time investigating
it.)

I agree that the service probably should not be forced on like this.
It's an area that obviously begs for some more design work.

As a temporary fix, you could make a new service dependent on
svc:/network/routing-setup:default that just turns ndp back off.  Is
it really worthwhile to do that for a daemon that does nothing?

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to