[Bug 388773] New: YaST2 change date and time depends on complete system update ( takes absurd length of time)
https://bugzilla.novell.com/show_bug.cgi?id=388773 Summary: YaST2 change date and time depends on complete system update (takes absurd length of time) Product: openSUSE 11.0 Version: Factory Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mrmazda@ij.net QAContact: jsrain@novell.com Found By: --- To reproduce: 1-Do complete system update (zypper dup or smart upgrade) 2-shutdown for 8-10 hours 3-turn on to discover EDT (-0400) time is 4 hours earlier than it should be 4-open YaST Control Center (from KDE3 kicker) 5-open Date and Time 6-note synchronize with NTP server and save NTP configuration are already checked, but NTP server address is blank 7-select synchronize now Actual behavior: 1-applet announces dependency on SuSEfirewall2 2-YaST proceeds to refresh sources 3-YaST proceeds to install various updates wholly unrelated to clock or NTP, such as oxygen-icon-theme, sane-backends-autoconfig, mozilla-xulrunner190, perl-doc, ispell and many others 4-NTP server address finally populates 5-NTP adjusts the clock to correct time Expected behavior: 1-NTP adjusts the clock to correct time Note: I have a hardware firewall, and therefore no tolerance for wasting disk space on software firewalls, or the waste of time and bandwidth updating software firewalls and their deps. SuSEfirewall2 was not installed on purpose. YaST should not reinstall it just to enable automatically correct system time. -- 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=388773 User sh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388773#c1 Stefan Hundhammer <sh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mvidner@novell.com --- Comment #1 from Stefan Hundhammer <sh@novell.com> 2008-05-09 09:26:23 MST --- This is only a very rough assessment what probably happened here: You updated a lot of packages. You did not have SuSEfirewall2 installed at that time, so there was no need to update SuSEfirewall2, too. Then you started the YaST2 time module and decided to synchronize your system time via NTP. But since (at least, so I assume) yast2-firewall and SuSEfirewalll2 were not installed at that time yet, and xntp, using a network protocol, requires a firewall port to be opened, additional packages had to be installed - yast2-firewall (which has the YaST2 infrastructure to open or close firewall ports), SuSEfirewall2 (required by yast2-firewall) and some packages they depend upon. Since you had just updated your system, the most recent versions of those packages had to be retrieved from the network. Why it also updated sane-backends-autoconfig, mozilla-xulrunner190, perl-doc, ispell etc. I don't know. This might be a very unfortunate combination of dependencies. The most important question here is if there is a reasonable way for that time module to determine if a firewall is running at all, and thus if it makes sense to install yast2-firewall and its dependencies (SuSEfirewall2). In your specific case, this hurt. There may be more users who get this problem. -- 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=388773 User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=388773#c2 --- Comment #2 from Felix Miata <mrmazda@ij.net> 2008-05-09 10:50:31 MST --- Created an attachment (id=214017) --> (https://bugzilla.novell.com/attachment.cgi?id=214017) annotated /var/log/YaST2/y2logRPM tail -- 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=388773 User mvidner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388773#c3 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Summary|YaST2 change date and time depends on complete |YaST2 change date and time: wants firewall, |system update (takes absurd length of time) |installs unnecessary packages --- Comment #3 from Martin Vidner <mvidner@novell.com> 2008-05-26 06:45:25 MDT --- I see two parts of the problem: 1) time configuration wanted to install the firewall package 2) firewall installation dragged in other packages 1) The dialog offers you to Continue or Cancel, and Cancel has worked for me. Nevertheless, it would be nice if it would silently pass if firewall is not installed. 2) It seems to be bug 389694. -- 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=388773 User mvidner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388773#c4 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com AssignedTo|mvidner@novell.com |locilka@novell.com Status|ASSIGNED |NEW --- Comment #4 from Martin Vidner <mvidner@novell.com> 2008-06-26 10:49:21 MDT --- Lukas, the responsible code is in SuSEFirewall::SuSEFirewallIsInstalled. I think that if the firewall is not installed, the user will actually never want to install it (after all, he must have explicitly removed it from the default selection). After all, he came to configure NTP (or whatever), not to additionally close everything down. The only exception would be when running the FW module itself. So I suggest to remove the usage of PackageSystem::CheckAndInstallPackages. If you are sorry for the dead code, you could make the variable needed_packages_installed public so that I can euthanize it myself from my module ;-) -- 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=388773 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388773#c5 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Lukas Ocilka <locilka@novell.com> 2008-07-08 03:33:05 MDT --- yast2-2.17.5: - By default, firewall packages are just checked whether they are installed. CWM Firewall Interfaces does not offer to install them (bnc #388773). yast2-firewall-2.17.0: - The only YaST module that offers to install that the firewall packages -- 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