[Bug 784246] New: yast do not start/stop properly the firewall
https://bugzilla.novell.com/show_bug.cgi?id=784246 https://bugzilla.novell.com/show_bug.cgi?id=784246#c0 Summary: yast do not start/stop properly the firewall Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: PC OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: comes@naic.edu QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 If I have the firewall enabled the output of systemctl status SuSEfirewall2_setup.service is: SuSEfirewall2_setup.service - LSB: SuSEfirewall2 phase 2 Loaded: loaded (/etc/init.d/SuSEfirewall2_setup) Active: active (exited) since Tue, 09 Oct 2012 11:04:10 -0400; 1min 18s ago Process: 2411 ExecStart=/etc/init.d/SuSEfirewall2_setup start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/SuSEfirewall2_setup.service and the output of /etc/init.d/SuSEfirewall2_setup status is: Checking the status of SuSEfirewall2 .. running Now i run yast firewall and from the Switch On and Off panel I select Stop Firewall Now. At this point the firewall is stopped. I can access from the outside the PC. But the output of systemctl status SuSEfirewall2_setup.service is still: SuSEfirewall2_setup.service - LSB: SuSEfirewall2 phase 2 Loaded: loaded (/etc/init.d/SuSEfirewall2_setup) Active: active (exited) since Tue, 09 Oct 2012 11:04:10 -0400; 5min ago Process: 2411 ExecStart=/etc/init.d/SuSEfirewall2_setup start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/SuSEfirewall2_setup.service and the output of /etc/init.d/SuSEfirewall2_setup status is: Checking the status of SuSEfirewall2 .. unused If I run again yast firewall it still says that the firewall is running and offers me the option to stop the firewall. If I run systemctl stop SuSEfirewall2_setup.service then systemctl status SuSEfirewall2_setup.service, /etc/init.d/SuSEfirewall2_setup status and yast firewall all agrees that the firewall is stopped. The same is true in the opposite direction: if the firewall is stopped and I start it in yast firewall, then systemctl and /etc/init.d/SuSEfirewall2_setup do not agree on the status of the firewall and yast firewall still thinks that the firewall is disabled. Reproducible: Always Steps to Reproduce: 1.run yast firewall and start or stop the firewall 2. 3. Actual Results: yast firewall still says that the firewall has not been started or stopped, the output of systemctl status SuSEfirewall2_setup.service and /etc/init.d/SuSEfirewall2_setup status are not consistent Expected Results: firewall properly started or stopped -- 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=784246 https://bugzilla.novell.com/show_bug.cgi?id=784246#c1 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com, | |suse-beta@cboltz.de AssignedTo|bnc-team-screening@forge.pr |locilka@suse.com |ovo.novell.com | --- Comment #1 from Christian Boltz <suse-beta@cboltz.de> 2012-10-15 01:16:27 CEST --- No idea how YaST starts and stops the firewall, but systemd's "I started it, so it must still be running" behaviour doesn't make it better ;-) (this affects various things that don't have/need a process running) -- 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=784246 https://bugzilla.novell.com/show_bug.cgi?id=784246#c2 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Lukas Ocilka <locilka@suse.com> 2012-10-15 12:41:50 UTC --- It was recommended that YaST Firewall should use a different approach to starting and stopping the service. Anyway, it's been changed from 12.1 a bit and the old approach doesn't work anymore. I have this patch https://github.com/kobliha/yast-yast2/commit/cd53fea494f79dc0cb3031ab8a8dcdc... ready at github and will be sent to build service soon. *** This bug has been marked as a duplicate of bug 779455 *** http://bugzilla.novell.com/show_bug.cgi?id=779455 -- 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