[Bug 771340] New: Configuring NTP in YaST2 the service does not start
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c0 Summary: Configuring NTP in YaST2 the service does not start Classification: openSUSE Product: openSUSE 12.2 Version: Beta 2 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: f.de.kruijf@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1 Starting the NTP Configuration in YaST2 Network Services I configured a server and checked Now and on boot, also I disabled running chroot. After that I clicked on OK and got an error message that the service did not start. Checking the status with "rcntp status" showed the service was not running. Only after giving the command "rcntp start" the service did start. Going back to the YaST2 module and clicking OK showed, using "rcntp status", that the service was restarted OK. Reverting back to the default settings of the NTP configuration, removing the server, enabling chroot and checking Only manually reverted the service back to a non-active state. Reconfiguration to the configuration above gives the same error message "NTP daemon can not be restarted". A "rcntp start" starts the service and "chkconfig -l ntp" shows the service is enabled for 3 and 5. Reproducible: Always Steps to Reproduce: 1. See above 2. 3. Expected Results: The service should start. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c1 kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |kkzhang@suse.com InfoProvider| |f.de.kruijf@gmail.com --- Comment #1 from kk zhang <kkzhang@suse.com> 2012-07-14 03:10:21 UTC --- Hi,thank you for your report.could you please help to provide y2logs according to the following URL?Thank you:) http://en.opensuse.org/openSUSE:Bugreport_YaST -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c2 Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|f.de.kruijf@gmail.com | AssignedTo|bnc-team-screening@forge.pr |f.de.kruijf@gmail.com |ovo.novell.com | --- Comment #2 from Freek de Kruijf <f.de.kruijf@gmail.com> 2012-07-14 08:55:48 UTC --- Created an attachment (id=498643) --> (http://bugzilla.novell.com/attachment.cgi?id=498643) y2logs.tgz -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|f.de.kruijf@gmail.com |yast2-maintainers@suse.de -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |varkoly@suse.com -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c3 Peter Varkoly <varkoly@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #3 from Peter Varkoly <varkoly@suse.com> 2012-07-18 14:27:25 UTC --- Thanks a lot! Fixed. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-07-18 17:00:14 CEST --- This is an autogenerated message for OBS integration: This bug (771340) was mentioned in https://build.opensuse.org/request/show/128226 Factory / yast2-ntp-client -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c5 --- Comment #5 from Swamp Workflow Management <swamp@suse.de> 2012-07-24 10:08:50 UTC --- openSUSE-RU-2012:0907-1: An update that has two recommended fixes can now be installed. Category: recommended (low) Bug References: 753936,771340 CVE References: Sources used: openSUSE 12.1 (src): yast2-ntp-client-2.21.2-2.6.1 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c6 Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse@bugs.jan.ritzerfeld.or | |g --- Comment #6 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> 2012-08-04 13:25:38 UTC --- Could it be that this is NOT fixed in 12.2 RC 2? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c7 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED CC| |suse-beta@cboltz.de Resolution|FIXED | --- Comment #7 from Christian Boltz <suse-beta@cboltz.de> 2012-08-04 17:30:25 CEST --- (In reply to comment #6)
Could it be that this is NOT fixed in 12.2 RC 2?
Please always reopen the bug when asking such questions ;-) - otherwise they will probably be lost/overlooked. (Note: The changelog says it's fixed, but I did not test it.) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c8 --- Comment #8 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> 2012-08-04 16:34:42 UTC --- Sorry for that. I am not quite sure whether this is fixed because I cannot really test it since the problem might be masked by Bug 774535. However, here are the y2log lines that worry me: 2012-08-03 18:46:13 <1> linux-ppce.site(28380) [YCP] Service.ycp:299 Running service initscript ntp restart 2012-08-03 18:46:13 <3> linux-ppce.site(28380) [bash] ShellCommand.cc(shellcommand):78 service: no such service ntp 2012-08-03 18:46:13 <3> linux-ppce.site(28380) [YCP] Service.ycp:304 Error while running initscript /sbin/service ntp restart : $["exit":1, "stderr":"service: no such service ntp\n", "stdout":""] 2012-08-03 18:46:13 <3> linux-ppce.site(28380) [YCP] Report.ycp:523 Der NTP-Daemon konnte nicht neu gestartet werden. [The NTP daemon could not restarted.] -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c9 --- Comment #9 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> 2012-08-04 16:35:22 UTC --- Created an attachment (id=501138) --> (http://bugzilla.novell.com/attachment.cgi?id=501138) YaST2 log files -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c10 --- Comment #10 from Freek de Kruijf <f.de.kruijf@gmail.com> 2012-08-04 18:52:06 UTC --- I did test it and the problem is still there. Just remove any configuration of the NTP network service in YaST. After that configure i.e. a NTP public server to be started immediately and after start-up. The reported error message appears. Checking with "systemctl status ntp.service" shows an inactive service. The command "systemctl start ntp.service" will start OK. So the configuration is OK, however YaST does not use the proper command to start this service. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c11 Peter Varkoly <varkoly@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |yast2-maintainers@suse.de --- Comment #11 from Peter Varkoly <varkoly@suse.com> 2012-08-16 10:21:16 UTC --- For ntp there is no systemd configuration. I think it is a yast bug when yast2 can not start old style services. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c12 Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|yast2-maintainers@suse.de | --- Comment #12 from Freek de Kruijf <f.de.kruijf@gmail.com> 2012-08-16 11:10:55 UTC --- True, but systemd runs the /etc/init.d/ntp script and reports about it. So there is nothing wrong with the generation by YaST of the configuration for NTP. It looks like the only problem is that YaST does not use the right command to start the ntp service. Does this provide the needed information? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c13 Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |f.de.kruijf@gmail.com --- Comment #13 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> 2013-03-17 18:06:53 UTC --- Works fine using 12.3 for me! @Fred: For you, too? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=771340 https://bugzilla.novell.com/show_bug.cgi?id=771340#c14 Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|f.de.kruijf@gmail.com | Resolution| |WORKSFORME --- Comment #14 from Freek de Kruijf <f.de.kruijf@gmail.com> 2013-06-22 03:14:16 UTC --- Sorry did not noticed this earlier. Works for me in 12.3. So can be closed. Don't know for 12.2. -- 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.
participants (1)
-
bugzilla_noreply@novell.com