[Bug 878186] New: pm-utils hook does not work due wrong return value from systemctl
https://bugzilla.novell.com/show_bug.cgi?id=878186 https://bugzilla.novell.com/show_bug.cgi?id=878186#c0 Summary: pm-utils hook does not work due wrong return value from systemctl Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dieter.jurzitza@t-online.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 The script /usr/lib/pm-utils/sleep.d/50rcnetwork always fails. This is caused by the return value of the following call: network_service_id=`systemctl --no-pager -p Id show network.service 2>/dev/null in case network manager is active, this returns networ.service. However, the script asks for network.service (see the difference in "k" and hence always exits whether the system is controlled via ifup / ifdown or via network manager. This should not happen. Reproducible: Always Steps to Reproduce: 1.See details, happens always 2. 3. Actual Results: /usr/lib/pm-utils/sleep.d/50rcnetwork always exits Expected Results: the script should only exit in case the system is controlled by ifup / ifdown -- 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=878186 https://bugzilla.novell.com/show_bug.cgi?id=878186#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |systemd-maintainers@suse.de |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=878186 https://bugzilla.novell.com/show_bug.cgi?id=878186#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |mt@suse.com, | |vdziewiecki@suse.com InfoProvider| |dieter.jurzitza@t-online.de --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2014-05-19 07:57:04 UTC --- linux:x86_64 # systemctl --no-pager -p Id show network.service Id=network.service I can not reproduce with latest systemd from http://download.opensuse.org/repositories/Base:/System/openSUSE_13.1/ -- 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=878186 https://bugzilla.novell.com/show_bug.cgi?id=878186#c2 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|dieter.jurzitza@t-online.de | Resolution| |NORESPONSE --- Comment #2 from Dr. Werner Fink <werner@suse.com> 2014-05-27 11:36:44 UTC --- No responce -- 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=878186 https://bugzilla.novell.com/show_bug.cgi?id=878186#c3 --- Comment #3 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2014-05-31 08:24:13 UTC --- Sorry, quite busy this time. I tested and could not reproduce any more as well - things work like a charm. Do not know what has been causing this. So, I close for now - I keep an eye on this issue in case it would occur again. Thank you for looking into this, take care Dieter Jurzitza -- 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=878186 https://bugzilla.novell.com/show_bug.cgi?id=878186#c Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|NORESPONSE |WORKSFORME -- 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