|
Bugzilla – Full Text Bug Listing |
| Summary: | This doesn't work: yast2 ntp-client add server=something: Cannot update the dynamic configuration policy. | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.3 | Reporter: | Silviu Marin-Caea <silviu_marin-caea> |
| Component: | YaST2 | Assignee: | Martin Vidner <mvidner> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | gabrielbyrnei, jreidinger, opensuse.lietuviu.kalba, zeke |
| Version: | Final | ||
| Target Milestone: | Final | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 11.3 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Silviu Marin-Caea
2010-03-17 09:13:15 UTC
Works in M4 I can reproduce in RC1: # yast2 ntp-client add server=some.server.ro Klaida: Cannot update the dynamic configuration policy. But in /etc/ntp.conf (NOT in /etc/ntpd.conf !) I found that line was added :) And if I do: 1. go to Date and Time module of YaST 2. go to change time, select good NTP server from list (lt.pool.ntp.org, that I added manually before) 3. After press Accept, I get an error (Cannot update the dynamic configuration policy.) 4. go to change Date and time again and select to sychonize via NTP and you no longer see lt.pool.ntp.org! 5. Write in field „lt.pool.ntp.org“, check „Save NTP configuration“ and press to Accept. You will get the same error again („Cannot update the dynamic configuration policy.“) I found that after doing step #3 (press to accept), In /etc/ntp.conf file appears one more space between words „lt.pool.ntp.org“ and „iburst“. That is after #2 step: server lt.pool.ntp.org iburst restrict lt.pool.ntp.org That is after #3 step: server lt.pool.ntp.org iburst restrict lt.pool.ntp.org I have this very same issue on openSUSE 11.3 x86_64. When changing time and date and clicking accept i get the "cannot update the dynamic configuration policy". This happens both on GUI YAST and command line YAST. I am also experiencing this problem in openSUSE 11.4 x86-64. Looking at NtpClient.ycp, I see the cause of the message:
if (SCR::Execute(.target.bash, "/sbin/netconfig update") != 0) {
// error message
Report::Error(_("Cannot update the dynamic configuration policy."));
}
running /sbin/netconfig update as root yields:
# /sbin/netconfig update
ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
You can find my version in /etc/resolv.conf.netconfig ...
# echo $?
20
Perhaps a solution would be to only update the ntp config:
/sbin/netconfig update -m ntp
fixed |