Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2022 05:29:18 +0000
From:      "Dave Cottlehuber" <dch@skunkwerks.at>
To:        Olivier <Olivier.Nicole@cs.ait.ac.th>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Strange behaviour when starting ntp
Message-ID:  <5a6dfddb-cbaa-4acd-a163-e70bd9969403@www.fastmail.com>
In-Reply-To: <wu7zgetwfdm.fsf@banyan.cs.ait.ac.th>
References:  <wu7zgetwfdm.fsf@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Sep 2022, at 03:55, Olivier wrote:
> Hi,
> Many machines that have a directory /root/.acme.sh behave that same way.

It doesn't do this here:

# mkdir -p /root/.acme.sh
# touch /root/.acme.sh/acme.sh.csh
# chmod 000 /root/.acme.sh/acme.sh.csh
# cd /etc
# exit
$ sudo sh -x /etc/rc.d/ntpd restart

- check your env vars when in sudo, esp $TERM and $HOME
- run with -x as above, and see what file(s) are being included

It's a very odd path to look into, indeed.

A+
Dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5a6dfddb-cbaa-4acd-a163-e70bd9969403>