Hide Forgot
Description of problem: Laptop will not sleep/suspend. /var/log/pm-suspend.log shows the following problem: /usr/lib/pm-utils/sleep.d/56atd suspend suspend: success. Running hook /usr/lib/pm-utils/sleep.d/56dhclient suspend suspend: ./ifcfg-Joel_Primack's_Guest_Network: line 12: unexpected EOF while looking for matching `"' ./ifcfg-Joel_Primack's_Guest_Network: line 18: syntax error: unexpected end of file /usr/lib/pm-utils/sleep.d/56dhclient suspend suspend: Returned exit code 2. Fri Nov 11 14:59:07 PST 2011: Inhibit found, will not perform suspend Fri Nov 11 14:59:07 PST 2011: Running hooks for resume The problem seems to be with presence of an ' in the icfg file name. This is a wireless network configured through NetworkManager. Version-Release number of selected component (if applicable): 1.4.1-12.fc16 How reproducible: Haven't tried. But renaming the wireless network in NetworkManager to remove the ' solves the problem, and putting the ' back in causes the problem to occur again. Steps to Reproduce: 1. 2. 3. Actual results: Laptop does not enter sleep. Expected results: Laptop should enter sleep. Additional info:
Could you provide the content of your ifcfg-Joel_Primack's_Guest_Network?, e.g. the following command should do it: # cat "/etc/sysconfig/network-scripts/ifcfg-Joel_Primack's_Guest_Network"
Here's the current version, but this is after renaming the connection in NetworkManager to remove the '. If I try to put it back in I don't get the same problem any more - I installed an update to some of the NetworkManager tools on Saturday so perhaps this fixed the problem from NetworkManager's side? $ cat "/etc/sysconfig/network-scripts/ifcfg-Joel_Primacks_Guest_Network" ESSID="\'Joel Primack\\\'s Guest Network\'" MODE=Managed KEY_MGMT=WPA-PSK WPA_ALLOW_WPA=yes WPA_ALLOW_WPA2=yes TYPE=Wireless BOOTPROTO=dhcp DEFROUTE=yes PEERDNS=yes PEERROUTES=yes IPV4_FAILURE_FATAL=no IPV6INIT=no NAME="Joel Primacks Guest Network" UUID=398330e3-945b-4ae9-94f3-849d7b4e64e5 ONBOOT=yes USERS=abenson
This was probably NetworkManager issue as special chars in ifcfg-* files have to be quoted. If it works, could we close this?
It seems to work OK for me now, so I think this bug can be closed.
Andrew, thanks for info. Closing according to comment 4. Feel free to reopen in case the problem persists.