What's magic about /tmp/? ntpd can't find UNIX socket

Gary E. Miller gem at rellim.com
Thu Oct 19 22:53:30 UTC 2023


Yo Hal!

On Thu, 19 Oct 2023 14:27:56 -0700
Hal Murray <halmurray at sonic.net> wrote:

> Gary said:
> > Notice the "nodev"?
> > From "man chmod":
> >        nodev
> >            Do not interpret character or block special devices on
> > the filesystem.   
> 
> It works fine from my test program.  What's different about ntpd?

Does your test program change user and group the way ntpd does?

> Is a UNIX socket (fifo?) a special device?

Seems "special" to me.

> When I see "device", I think of the stuff in /dev/

That too.

Easy way to check, just turn nodev off:

    ~ # mount -o remount,dev /tmp



RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20231019/41684f19/attachment.bin>


More information about the devel mailing list