[Bug 727445] New: YaST cannot determine firewall running status
https://bugzilla.novell.com/show_bug.cgi?id=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c0 Summary: YaST cannot determine firewall running status Classification: openSUSE Product: openSUSE 12.1 Version: RC 1 Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mgyhardsoft@freestart.hu QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 YaST firewall setup allows to switch off the firewall in place. The firewall is switched off but the status displayed is still "running". Reproducible: Always Steps to Reproduce: 1. Start YaST firewall configuration. 2. Press "Stop firewall" button. Actual Results: The firewall is actually stopped, but its status is still displayed as "running". Expected Results: After stopping the firewall its status should be displayed so in 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |locilka@suse.com |ovo.novell.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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c1 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mgyhardsoft@freestart.hu --- Comment #1 from Lukas Ocilka <locilka@suse.com> 2011-11-01 14:48:08 UTC --- Attach YaST logs, please. http://en.opensuse.org/openSUSE:Report_a_YaST_bug#I_reported_a_YaST2_bug.2C_... -- 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c2 Mészáros Gyula <mgyhardsoft@freestart.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mgyhardsoft@freestart.hu | --- Comment #2 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2011-11-01 15:13:29 UTC --- Created an attachment (id=459747) --> (http://bugzilla.novell.com/attachment.cgi?id=459747) YaST2 logs -- 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c3 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |locilka@suse.com AssignedTo|locilka@suse.com |lnussel@suse.com --- Comment #3 from Lukas Ocilka <locilka@suse.com> 2011-11-02 12:21:37 UTC --- To me it looks like some inconsistency between SuSEfirewall2_setup and SuSEfirewall2: # Checking SuSEfirewall2_setup status says firewall rules are active linux-i58a:~ # /etc/init.d/SuSEfirewall2_setup status SuSEfirewall2_setup.service - LSB: SuSEfirewall2 phase 2 Loaded: loaded (/etc/init.d/SuSEfirewall2_setup) Active: active (exited) since Wed, 02 Nov 2011 11:15:47 +0100; 1h 57min ago Process: 5218 ExecStop=/etc/init.d/SuSEfirewall2_setup stop (code=exited, status=0/SUCCESS) Process: 5264 ExecStart=/etc/init.d/SuSEfirewall2_setup start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/SuSEfirewall2_setup.service # Checking rcSuSEfirewall2 status says the same, active linux-i58a:~ # rcSuSEfirewall2 status SuSEfirewall2_setup.service - LSB: SuSEfirewall2 phase 2 Loaded: loaded (/etc/init.d/SuSEfirewall2_setup) Active: active (exited) since Wed, 02 Nov 2011 11:15:47 +0100; 1h 57min ago Process: 5218 ExecStop=/etc/init.d/SuSEfirewall2_setup stop (code=exited, status=0/SUCCESS) Process: 5264 ExecStart=/etc/init.d/SuSEfirewall2_setup start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/SuSEfirewall2_setup.service # Stopping SuSEfirewall2, successful linux-i58a:~ # /sbin/SuSEfirewall2 stop SuSEfirewall2: Firewall rules unloaded. # But SuSEfirewall2_setup is still active linux-i58a:~ # /etc/init.d/SuSEfirewall2_setup status SuSEfirewall2_setup.service - LSB: SuSEfirewall2 phase 2 Loaded: loaded (/etc/init.d/SuSEfirewall2_setup) Active: active (exited) since Wed, 02 Nov 2011 11:15:47 +0100; 1h 58min ago Process: 5218 ExecStop=/etc/init.d/SuSEfirewall2_setup stop (code=exited, status=0/SUCCESS) Process: 5264 ExecStart=/etc/init.d/SuSEfirewall2_setup start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/SuSEfirewall2_setup.service # Checking firewall status: inactive linux-i58a:~ # /sbin/SuSEfirewall2 status SuSEfirewall2: SuSEfirewall2 not active # Stopping SuSEfirewall2_setup, successful linux-i58a:~ # /etc/init.d/SuSEfirewall2_setup stop # Now the firewall status is: inactive linux-i58a:~ # /sbin/SuSEfirewall2 status SuSEfirewall2: SuSEfirewall2 not active # Checking SuSEfirewall2_setup status: finally inactive linux-i58a:~ # /etc/init.d/SuSEfirewall2_setup status SuSEfirewall2_setup.service - LSB: SuSEfirewall2 phase 2 Loaded: loaded (/etc/init.d/SuSEfirewall2_setup) Active: inactive (dead) since Wed, 02 Nov 2011 13:14:33 +0100; 9s ago Process: 14725 ExecStop=/etc/init.d/SuSEfirewall2_setup stop (code=exited, status=0/SUCCESS) Process: 5264 ExecStart=/etc/init.d/SuSEfirewall2_setup start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/SuSEfirewall2_setup.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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c4 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com AssignedTo|lnussel@suse.com |fcrozat@suse.com --- Comment #4 from Ludwig Nussel <lnussel@suse.com> 2011-11-02 13:45:09 CET --- init scripts are wrapped through systemd -- 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c5 --- Comment #5 from Frederic Crozat <fcrozat@suse.com> 2011-11-02 13:08:26 UTC --- and there isn't many way to workaround that, except running : cd /etc/init.d /SuSEfirewall2_setup status or we need to add a "don't redirect me" environment variable to /etc/rc.status -- 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c6 --- Comment #6 from Ludwig Nussel <lnussel@suse.com> 2011-11-02 14:15:03 CET --- like this? --- a/files/etc/rc.status +++ b/files/etc/rc.status @@ -33,7 +33,7 @@ # # Check if the service is used under systemd but not started with -if /bin/mountpoint -q /sys/fs/cgroup/systemd > /dev/null 2>&1 ; then +if test -z "$SYSTEMD_NO_WRAP" && /bin/mountpoint -q /sys/fs/cgroup/systemd > /dev/null 2>&1 ; then if test $PPID -ne 1 -a $# -eq 1 ; then _rc_base= case "$0" in -- 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c7 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro@suse.com --- Comment #7 from Frederic Crozat <fcrozat@suse.com> 2011-11-02 13:26:22 UTC --- yep, fine for me. -- 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-11-02 15:00:22 CET --- This is an autogenerated message for OBS integration: This bug (727445) was mentioned in https://build.opensuse.org/request/show/89948 Factory / yast2 -- 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c9 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Ludwig Nussel <lnussel@suse.com> 2011-11-02 17:00:04 CET --- It's really just a hack though as systemd's internal state still says 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-11-02 17:00:11 CET --- This is an autogenerated message for OBS integration: This bug (727445) was mentioned in https://build.opensuse.org/request/show/89955 Factory / SuSEfirewall2 https://build.opensuse.org/request/show/89956 Factory / aaa_base -- 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=727445 https://bugzilla.novell.com/show_bug.cgi?id=727445#c11 --- Comment #11 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2011-11-06 22:49:14 UTC --- It is the same in RC2. -- 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