ntpd on FreeBSD-11 source:

Matthias Apitz guru at unixarea.de
Wed Dec 28 16:43:52 UTC 2016


El día Wednesday, December 28, 2016 a las 10:10:42AM -0500, James B. Byrne via freebsd-questions escribió:

> On FreeBSD-11.0 when I see this:
> 
> # ntpd -V
> /usr/sbin/ntpd: illegal option -- V
> ntpd - NTP daemon program - Ver. 4.2.8p9
> 
> # which ntpd
> /usr/sbin/ntpd

this is in the base system

> 
> But I also see this on the same system:
> 
> pkg which $(which ntpd)
> /usr/sbin/ntpd was not found in the database

the pkg would install in /usr/local/....

> 
> # pkg info ntp
> pkg: No package(s) matching ntp
> 
> and yet:
> 
> # pkg search ntp
> . . .
> ntp-4.2.8p9                    The Network Time Protocol Distribution
> . . .
> 
> So, where does the ntpd I am running come from if not from a package
> or port?  AND if it does, as I believe it must, come from the port
> packages then why is it not reported by 'pkg info' and its program
> file not listed in the port database?

ofc not; because the pkg npt is not installed;

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
No to the €! Out of this imperialistic EU! Out of the imperialistic NATO war alliance!
¡No al €! ¡Fuera de esta UE imperialista! ¡Fuera de esta OTAN imperialista!
N€IN zum €! Raus aus dieser imperialistischen EU! Raus aus dieser imperialistischen NATO!


More information about the freebsd-questions mailing list