[Bug 795929] New: Cannot disable service SuSEfirewall2_setup
https://bugzilla.novell.com/show_bug.cgi?id=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c0 Summary: Cannot disable service SuSEfirewall2_setup Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 1 Platform: All OS/Version: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: yast2-maintainers@suse.de ReportedBy: bwiedemann@suse.com QAContact: qa-bugs@suse.de CC: lnussel@suse.com, werner@suse.com, fcrozat@suse.com Found By: System Test Blocker: --- This bug is about current Factory as seen in openQA tests During DVD install, there is now a message Cannot disable service "SuSEfirewall2_setup". in the "Writing NTP Configuration" phase It seems the SuSEfirewall2 init scritps were dropped. -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |locilka@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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c1 --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2013-01-02 16:15:57 UTC --- "systemctl disable SuSEfirewall2" should be used to disable firewall now. -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c2 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |bwiedemann@suse.com --- Comment #2 from Lukas Ocilka <locilka@suse.com> 2013-01-03 09:47:02 UTC --- For 12.2 it's (works) `systemctl disable SuSEfirewall2_setup.service` in 12.2 this command `systemctl disable SuSEfirewall2` returns Failed to issue method call: Invalid argument Bernhard, I will need YaST logs, please. -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c3 --- Comment #3 from Lukas Ocilka <locilka@suse.com> 2013-01-03 09:50:41 UTC --- BTW, I've switched Service.ycp (module for operating services) from init.d to systemd in late December but I haven't submitted this change to Factory as I expect many failures in testcases of dependent YaST modules. Version that includes this change will be >2.23.14 (package yast2.rpm) -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c5 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|bwiedemann@suse.com | --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-03 11:02:30 CET --- Created an attachment (id=518747) --> (http://bugzilla.novell.com/attachment.cgi?id=518747) 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-03 14:54:32 CET --- for completeness: there is also a similar firewall enable in yast 2nd stage that will also need adaption -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c7 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Lukas Ocilka <locilka@suse.com> 2013-01-04 15:42:16 UTC --- Fixed with https://github.com/yast/yast-yast2/pull/34/files Change will be in yast2-2.23.16 (or .17) -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-08 14:00:49 CET --- This is an autogenerated message for OBS integration: This bug (795929) was mentioned in https://build.opensuse.org/request/show/147522 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c9 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #9 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-14 09:33:52 CET --- now 2nd stage yast complains "Service SuSEfirewall2 does not exist in /lib/systemd/system." in 12.3 it should be under /usr/lib/systemd/system -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c10 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |bwiedemann@suse.com --- Comment #10 from Lukas Ocilka <locilka@suse.com> 2013-01-14 08:58:48 UTC --- Please attach YaST logs. Bernhard, please, attach them always you report (reopen) a YaST bug. -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c11 --- Comment #11 from Lukas Ocilka <locilka@suse.com> 2013-01-14 09:07:01 UTC --- Frederic, has the patch changed from 12.2 to 12.3? The only mention about '/lib/systemd/system' I found is actually in SetDefaultRunlevel function: string command = sformat("/bin/ln -s -f /lib/systemd/system/runlevel%1.target %2", runlevel, default_symlink); Service.ycp runs this to enable firewall: /bin/systemctl enable SuSEfirewall2.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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c13 --- Comment #13 from Frederic Crozat <fcrozat@suse.com> 2013-01-14 09:20:38 UTC --- (In reply to comment #11)
Frederic, has the path changed from 12.2 to 12.3?
yes, it has.
The only mention about '/lib/systemd/system' I found is actually in SetDefaultRunlevel function:
string command = sformat("/bin/ln -s -f /lib/systemd/system/runlevel%1.target %2", runlevel, default_symlink);
it needs to migrate to /usr/lib/systemd/system
Service.ycp runs this to enable firewall:
/bin/systemctl enable SuSEfirewall2.service
This should work. -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c14 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED CC| |coolo@suse.com InfoProvider|bwiedemann@suse.com | --- Comment #14 from Stephan Kulow <coolo@suse.com> 2013-01-14 14:47:54 CET --- can this be fixed today? the change sounds trivial to make. -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c15 --- Comment #15 from Ludwig Nussel <lnussel@suse.com> 2013-01-14 14:56:48 CET --- The checkExists function in Service.ycp still refers to /lib/systemd/system Is hardcoding /usr/lib/systemd/system now good anyways? After all service files could be also in e.g. /run and /etc. Not sure if that's relevant for YaST though. -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c16 --- Comment #16 from Frederic Crozat <fcrozat@suse.com> 2013-01-14 14:11:49 UTC --- systemd is looking for services in : for 12.3: /usr/lib/systemd/system then /run/systemd/system then /etc/systemd/system for 12.2 (and below) /lib/systemd/system then /etc/systemd/system then /run/systemd/system /run is only for systemd generators and is a tmpfs /etc is for systemd admin. -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c18 --- Comment #18 from Lukas Ocilka <locilka@suse.com> 2013-01-14 15:10:36 UTC --- The change will likely break some other YaST modules that have the path in their testsuites. See the changes here https://github.com/yast/yast-yast2/pull/37/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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c19 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #19 from Lukas Ocilka <locilka@suse.com> 2013-01-14 15:59:11 UTC --- Change submitted in yast2-2.23.18 into YaST:Head -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c20 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mt@suse.com --- Comment #20 from Marius Tomaschewski <mt@suse.com> 2013-01-17 15:04:15 UTC --- Adding the directory checkExists's dir list is not sufficient. This check IMO still breaks e.g. network service (/etc/init.d/network). Call to Service::Status("network") is always -1 because of checkExists, because there is no network.service file. I'd say, just remove checkExists line from 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c21 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #21 from Lukas Ocilka <locilka@suse.com> 2013-01-17 16:05:17 UTC --- OK, reopening -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c22 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |mt@suse.com --- Comment #22 from Lukas Ocilka <locilka@suse.com> 2013-01-17 16:05:58 UTC --- Marius, what about this change? https://github.com/yast/yast-yast2/pull/42/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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c23 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|mt@suse.com | --- Comment #23 from Marius Tomaschewski <mt@suse.com> 2013-01-17 16:35:54 UTC --- Looks good, thanks! -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c25 --- Comment #25 from Lukas Ocilka <locilka@suse.com> 2013-01-18 13:28:47 UTC --- *** Bug 799114 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=799114 -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c26 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #26 from Lukas Ocilka <locilka@suse.com> 2013-01-18 13:30:15 UTC --- Fixed in yast2-2.23.19 Coming soon into the Factory :) -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c27 --- Comment #27 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-18 15:00:24 CET --- This is an autogenerated message for OBS integration: This bug (795929) was mentioned in https://build.opensuse.org/request/show/148948 Factory / yast2 https://build.opensuse.org/request/show/148949 Factory / yast2-network -- 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=795929 https://bugzilla.novell.com/show_bug.cgi?id=795929#c28 --- Comment #28 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-24 14:43:58 CET --- still a problem in current Factory Build0362, because installation-images contains yast2 2.23.18-4.1.x86_64 yast2-network 2.24.10-1.1.x86_64 -- 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