Mailinglist Archive: opensuse-bugs (11133 mails)

< Previous Next >
[Bug 449615] yast2-ntp-client removes key entry from ntp.conf
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 8 Dec 2008 07:08:24 -0700 (MST)
  • Message-id: <20081208140824.7EE8A245390@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=449615

User mvidner@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=449615#c5


Martin Vidner <mvidner@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|
|mvidner@xxxxxxxxxx
AssignedTo|mvidner@xxxxxxxxxx
|varkoly@xxxxxxxxxx
Status|ASSIGNED |NEW




--- Comment #5 from Martin Vidner <mvidner@xxxxxxxxxx> 2008-12-08 07:08:24 MST
---
(In reply to comment #3 from Peter Varkoly)
Yes this affect a standard installation. The keys and the entries in the
ntp.conf will be generated by the post install script of ntp an will be used
for the run time configuration of ntpd. For example to add the ntp servers
provided by the ntp server.

Yes, but what is the impact?
- Will it make LHC destroy the universe?
- Will booting freeze?
- Will anything else freeze?
- Will it act as if ntpd did not run?
- Will netconfig be broken? How much of it?

I think it should be fixed in the %post script of ntpd.rpm.
Currently goes like this:

# Create ntp.keys file
if [ ! -f /etc/ntp.keys ]; then
... > /etc/ntp.keys
fi
# Are we in update mode?
if [ -f /etc/sysconfig/ntp ]; then
... # some conversions from previous releases
grep -q '^keys /etc/ntp.keys' /etc/ntp.conf || {
echo "#
# Authentication stuff
#
keys /etc/ntp.keys # path for keys file
trustedkey 1 # define trusted keys
requestkey 1 # key (7) for accessing server variables
# controlkey 15 # key (6) for accessing server variables
" >> /etc/ntp.conf
}
fi

IMO it is enough to make the last echo unconditional.
Yes, preferably this would be handled by YaST but currently it does not handle
keys at all so I'd prefer to keep it in this one place.

Peter, OK? If not, reassign back.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >