Bug 952913

Summary: /etc/NetworkManager/dispatcher.d/04-iscsi syntax error
Product: [Fedora] Fedora Reporter: Neil <neilsbb>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: dcbw, sandro
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-02 10:56:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neil 2013-04-17 01:07:36 UTC
Description of problem:
NetworkManager dispatcher has an iscsi script issue. 
It is causing repeating errors in /var/log/messages on Fedora 20 Rawhide GNOME Desktop standard install:

Apr 16 17:28:59 f20raw dbus-daemon[416]: /etc/NetworkManager/dispatcher.d/04-iscsi: line 8: syntax error: unexpected end of file
Apr 16 17:28:59 f20raw nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/04-iscsi' exited with error status 2.
Apr 16 17:28:59 f20raw NetworkManager[494]: <warn> Dispatcher script failed: Script '/etc/NetworkManager/dispatcher.d/04-iscsi' exited with error status 2.

Full content of that script:

#!/bin/sh

case "$2" in
        up|down|vpn-up|vpn-down)
                /bin/systemctl try-restart iscsi.service || :
                ;;



Version-Release number of selected component (if applicable):

NetworkManager 0.9.8.1-1.git20130327.fc20.x86_64
yum-NetworkManager-dispatcher 1.1.31-12.fc20
iscsi-initiator-utils 6.2.0.873-4.fc19 x86_64

How reproducible:
Occurs every DHCP Renewal

Steps to Reproduce:
1. Install Rawhide with "GNOME Desktop" group of packages
2. Allow time for DHCP to renew
3. Find errors in /var/log/messages
  
Actual results:
Errors

Expected results:
No errors

Additional info:

Comment 1 Sandro Mathys 2013-05-02 10:56:42 UTC

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