LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-16-2024, 11:46 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,621

Rep: Reputation: 180Reputation: 180
Is there a way to determine if ntpd was built with enable-ntp-signd


Subject line says it all: Is there a way to determine if ntpd was built with --enable-ntp-signd?
 
Old 01-16-2024, 01:21 PM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,772

Rep: Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770
Quote:
Originally Posted by mfoley View Post
Subject line says it all: Is there a way to determine if ntpd was built with --enable-ntp-signd?
If it is slackware, look at your build folder where you compiled the application. There should be config files containing the compile flags that were enabled.
If it was not turned on, you should be able to clean and reconfigure with that flag on and compile an enabled version.

If it is NOT Slackware, then it might help if you let us know what version of which distribution we are talking about. There ARE ways with other distributions, but your profile only lists Slackware.

Last edited by wpeckham; 01-16-2024 at 01:23 PM.
 
Old 01-16-2024, 05:23 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,621

Original Poster
Rep: Reputation: 180Reputation: 180
Yes, it's Slackware and I downloaded ntp-4.2.8p17 and built it, with --enable-ntp-signd. Looking in the build directory i have:
Code:
# grep enable-ntp-signd * 2>/dev/null
CommitLog:    fix for --enable-ntp-signd=/my/path
CommitLog:    fix for --enable-ntp-signd=/my/path
CommitLog:    Default --enable-wintime when --enable-ntp-signd
CommitLog:    Default --enable-wintime when --enable-ntp-signd
config.log:  $ ./configure --enable-ntp-signd --prefix=/usr/sbin
config.log:configure:37338: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/sbin'  '--enable-ntp-signd' --cache-file=/dev/null --srcdir=.
config.out:configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/sbin'  '--enable-ntp-signd' --cache-file=/dev/null --srcdir=.
config.status:ac_cs_config='--enable-ntp-signd --prefix=/usr/sbin'
config.status:  set X /bin/sh './configure'  '--enable-ntp-signd' '--prefix=/usr/sbin' $ac_configure_extra_args --no-create --no-recursion
configure:  --enable-ntp-signd      - Provide support for Samba's signing daemon,
configure:# Check whether --enable-ntp-signd was given.
configure.ac:   [--enable-ntp-signd],
Which indicates I did use --enable-ntp-signd. These files are dated 2024-01-05 13:xx and the ntpd I'm running is dated 2024-01-05 13:47, so I guess I am running with --elable-ntp-signd. I was kind of hoping there was an option to ntpd to list the build parameters like 'apachectl -M', but I guess there's nothing like that. One reason I was hoping for an option to list this was to determine whether or not I needed to download and build my own ntpd.

Last edited by mfoley; 01-16-2024 at 05:24 PM.
 
  


Reply

Tags
ntpd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System boot hangs at Starting NTP server: ntpd. WHY? duyuyang Linux - Newbie 7 10-02-2016 09:17 AM
ntpd daemon not synced with NTP server lamoul Red Hat 2 11-02-2012 10:17 AM
What is the maximum number of NTP requests per second ntpd can handle? sunshadow Linux - Server 2 03-14-2012 10:56 AM
ntp drift file in /etc/ntp instead of /var/lib/ntp - suggestion for a patch in Slack niels.horn Slackware 16 05-07-2009 07:35 PM
NTPd - ntp.conf warath Linux - Software 8 04-05-2004 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration