From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: bug#24366: ntpd cannot write to its drift file. Date: Sun, 4 Sep 2016 23:12:15 +0200 Message-ID: <20160904211215.GA5463@jocasta.intra> References: <20160904174547.GA3727@jocasta.intra> <20160904202209.GB32311@jasmine> <20160904202454.GA5108@jocasta.intra> <20160904204353.GA515@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgeix-0004RH-FJ for bug-guix@gnu.org; Sun, 04 Sep 2016 17:13:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgeis-00068O-12 for bug-guix@gnu.org; Sun, 04 Sep 2016 17:13:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgeir-00068K-Td for bug-guix@gnu.org; Sun, 04 Sep 2016 17:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bgeir-0006cP-PI for bug-guix@gnu.org; Sun, 04 Sep 2016 17:13:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20160904204353.GA515@jasmine> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 24366@debbugs.gnu.org, John Darrington --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 04, 2016 at 04:43:53PM -0400, Leo Famulari wrote: On Sun, Sep 04, 2016 at 10:24:54PM +0200, John Darrington wrote: > On Sun, Sep 04, 2016 at 04:22:09PM -0400, Leo Famulari wrote: > On Sun, Sep 04, 2016 at 07:45:47PM +0200, John Darrington wrote: > > Running the ntpd service I see lots of messages in /var/log/m= essages like: > >=20 > > Sep 4 13:02:21 localhost ntpd[302]: frequency file /var/run/= ntp.drift.TEMP: Permission denied > =20 > Can the user that runs ntpd write to that directory? >=20 > No. ntpd runs as its own user. /var/run is owned by root. > =20 > Is there a build time configuration that we should tweak? >=20 > Not that I'm aware of. =20 Hm, how do other distros avoid this problem? Well the obvious way would be to use a directory which is owned by the ntpd= user. J' --=20 Avoid eavesdropping. Send strong encryted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlfMji8ACgkQimdxnC3oJ7O1nQCfVGBGJhOPBz6GB2NOCH3fNJnx XeYAn2pt5Tx9Cxs9+pyJpa/11fQmcNOG =N6f+ -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--