[Bug 617667] New: pm-utils' 50rcnetwork suspend hook does not work
http://bugzilla.novell.com/show_bug.cgi?id=617667 http://bugzilla.novell.com/show_bug.cgi?id=617667#c0 Summary: pm-utils' 50rcnetwork suspend hook does not work Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: seife@novell.slipkontur.de QAContact: qa@suse.de CC: mvyskocil@novell.com, vbotka@novell.com Found By: Community User Blocker: --- pm-utils' 50rcnetwork suspend hook does not work (it can't): /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:success. /usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend:/etc/sysconfig/network/scripts/functions: line 287: syntax erro r near unexpected token `<' /etc/sysconfig/network/scripts/functions: line 287: ` done < <(LC_ALL=POSIX ip -4 address list "$1" 2>/dev/null)' not applicable. /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:not applicable. the reason is, that sysconfig uses bash, and bash-only functions while pm-utils tries to be non-bash conforming. The fix is, to run 50rcnetwork with #!/bin/bash instead of #!/bin/sh -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617667 http://bugzilla.novell.com/show_bug.cgi?id=617667#c1 --- Comment #1 from Stefan Seyfried <seife@novell.slipkontur.de> 2010-06-26 13:48:40 CEST --- seife@susi:~> osc request list -M 42087 State:new By:seife When:2010-06-26T13:47:02 submit: home:seife:branches:Base:System/pm-utils -> Base:System Descr: fix bnc#617667 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617667 http://bugzilla.novell.com/show_bug.cgi?id=617667#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |mvyskocil@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617667 http://bugzilla.novell.com/show_bug.cgi?id=617667#c2 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Michal Vyskocil <mvyskocil@novell.com> 2010-06-28 07:48:05 UTC --- Accepted and sent to Factory. Thanks! $ osc rq show 42177 Request #42177: submit: Base:System/pm-utils(r24) -> openSUSE:Factory/pm-utils Message: fixes bnc#615646, bnc#617667 State: new 2010-06-28T09:40:07 mvyskocil Comment: None BTW: also fixed on gitorious.org http://gitorious.org/opensuse/pm-utils-suse/commit/bc2149a117b7d80605c2587d1... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617667 http://bugzilla.novell.com/show_bug.cgi?id=617667#c3 --- Comment #3 from Stefan Seyfried <seife@novell.slipkontur.de> 2010-06-28 11:16:54 CEST --- OT: there's still a merge request pending over at http://gitorious.org/opensuse/pm-utils-suse/merge_requests That's why I patched this one instead of creating another merge request, as it was more urgent IMHO ;) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617667 http://bugzilla.novell.com/show_bug.cgi?id=617667#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (617667) was mentioned in https://build.opensuse.org/request/show/42177 Factory / pm-utils -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com