From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 16 Jun 2021 12:27:03 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltSlD-00059N-TQ for lore@lore.pengutronix.de; Wed, 16 Jun 2021 12:27:03 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltSlD-0004jl-Ga; Wed, 16 Jun 2021 12:27:03 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltSkg-0004jN-0K for ptxdist@pengutronix.de; Wed, 16 Jun 2021 12:26:30 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltSkf-000206-Dq for ptxdist@pengutronix.de; Wed, 16 Jun 2021 12:26:29 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ltSkf-007oYc-Av for ptxdist@pengutronix.de; Wed, 16 Jun 2021 12:26:29 +0200 Date: Wed, 16 Jun 2021 12:26:29 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Message-ID: <20210616102629.GJ839947@pengutronix.de> Mail-Followup-To: ptxdist@pengutronix.de References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] Chrony package option --without-tomcrypt makes chronyc unusable X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hi, I don't use chrony myself, so I can just look at the build-system. On Tue, Jun 15, 2021 at 11:55:47AM +0200, Mircea Ciocan wrote: > unless I'm doing something very wrong, the "out of the box" chrony package > does not allow talking with the chronyc, the client and daemon control > user-space utility, it doesn't even create the Unix socket: > /var/run/chrony/chronyd.sock. > > Once the line "--without-tomcrypt" in CHRONY_CONF_OPT is removed, everything > will work OK. This makes no sense at all. tomcrypt is a external library that is currently not available in PTXdist. So removing this options should not change anything. Please take a look at the build (e.g. changes to config.h and Makefile) to see what actually happens. > Also the option "--with-user=chrony" may make the daemon more > secure, but it certainly messes up the logging and drift files due to > permissions of the /var/run and /var/log. That's just the default user. And as far as I know, this works fine with systemd. If you use busybox init, then maybe the init script needs to be changed to create directories with the correct permissions. Patches are welcome. > Out of these only the tomcrypt removal is critical, if somebody can explain > the reason behind it, or what can be done to enable the client functionality > with the existing compile time options I'll be most happy, because now I had > to move the rule to project rules and remove it. Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de