Bug 742532

Summary: /usr/lib64/pm-utils/sleep.d/56atd: line 10: /etc/init.d/atd: No such file or directory
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: atAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, hughsient, jpopelka, jskarvad, mmaslano, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 742482 Environment:
Last Closed: 2011-10-05 16:13:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jaroslav Škarvada 2011-09-30 13:17:16 UTC
+++ This bug was initially created as a clone of Bug #742482 +++

Description of problem:
pm-suspend was exiting with status 1.

after looking in /var/log/pm-suspend.log i found that the ifcfg file was not sourced because it has a space in its name and the script does not support that

/usr/lib64/pm-utils/sleep.d/56dhclient (line 24)

old:
        . ./${ifcfg}

fix:

        . ./"${ifcfg}"

Version-Release number of selected component (if applicable):
pm-utils-1.4.1-12.fc16.x86_64


How reproducible:
use a connection with spaces in its name

--- Additional comment from dominick.grift on 2011-09-30 12:00:33 CEST ---

The pm-suspend.log reveals another issue (not fatal)

Running hook /usr/lib64/pm-utils/sleep.d/56atd resume suspend:
/usr/lib64/pm-utils/sleep.d/56atd: line 10: /etc/init.d/atd: No such file or directory

/usr/lib64/pm-utils/sleep.d/56atd resume suspend: Returned exit code 127.

--- Additional comment from jskarvad on 2011-09-30 15:15:53 CEST ---

Dominick, these hooks are not part of pm-utils, but are shipped in "dhcp" package and "at" package respectively. I will reassign it to "dhcp" and also clone it to "at".

Comment 1 Marcela Mašláňová 2011-10-05 16:13:45 UTC

*** This bug has been marked as a duplicate of bug 729742 ***