[Bug 736083] New: scpm doesn't properly switch services
https://bugzilla.novell.com/show_bug.cgi?id=736083 https://bugzilla.novell.com/show_bug.cgi?id=736083#c0 Summary: scpm doesn't properly switch services Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dutchkind@txoriaskea.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 On my desktop computer I have the traditional ifup method for my network. I use scpm to easily switch on and off apache, but also to change my ip-address to one that has an open port via my router for ssh. This way I can login from outside when there is a problem. Now with scpm in opensuse 12.1 some services are not restarted, as used to be. SO the network is not restarted and thus the new ip-address doesn't take effect. I found that on my laptop, where I use scpm to switch firewall, ssh and printer profiles, that cups is also not restarted, which means my home printers remain active even though I changed to travel profile. Is there a way to fix this new behavior? Or a way to force reloads of services? Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c3
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c4
--- Comment #4 from David Kerkhof
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c5
Philippe Andersson
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c6
--- Comment #6 from David Kerkhof
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c7
--- Comment #7 from David Kerkhof
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c8
David Kerkhof
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c9
--- Comment #9 from Philippe Andersson
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c10
--- Comment #10 from Philippe Andersson
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c11
--- Comment #11 from David Kerkhof
https://bugzilla.novell.com/show_bug.cgi?id=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c12
--- Comment #12 from Philippe Andersson
About your findings: The idea that ifdown/ifup cycle fixes the network card issue defeats the purpose of scpm. Of course, I know. I just mentioned it to provide more debugging info.
The other issue about cups is also a bit different. In my home profile I have cups enabled and some printers installed, in my away profiles I have cups also enabled, but no printers installed. Since both have cups enabled it is not restarted, which is exactly the problem. Well, even if the service is running in both profiles, the change in the configuration files should have been detected, and should have triggered a restart of the service. But I see your point -- I will test this scenario as well. Thanks for the clarification.
But it is not directly scpm but a systemd issue which is in this case a little too smart and doesn't see the need to restart a running service. I'm not so sure about that. I also suspected systemd at first, but based on what I saw its "compatibility interface" with sysVinit seems to be working fine.
As I said, there are other avenues I would like to explore before drawing any conclusion. -- 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=736083
https://bugzilla.novell.com/show_bug.cgi?id=736083#c13
--- Comment #13 from Philippe Andersson
participants (1)
-
bugzilla_noreply@novell.com