Bug 1260026

Summary: Correct systemd file
Product: [Fedora] Fedora EPEL Reporter: Peter Meier <peter.meier>
Component: sslhAssignee: James Hogarth <james.hogarth>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: james.hogarth, kai.reichert
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: sslh-1.17-3.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1264133 1264136 1264139 1264140 (view as bug list) Environment:
Last Closed: 2015-10-07 20:10:58 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 Peter Meier 2015-09-04 08:46:08 UTC
Description of problem:

This fixes in #1221320 introduced a bug in the systemd file.

Instead

ExecStart=/usr/sbin/sslh ${DAEMON_OPTS}

it should be read:

ExecStart=/usr/sbin/sslh $DAEMON_OPTS

You can't use brackets in systemd files.

The service won't start like that.

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

# rpm -qi sslh                                                                                                       
Name        : sslh
Version     : 1.17
Release     : 2.el7



How reproducible:

Always

Steps to Reproduce:
1. install
2. configure
3. try to start and get

Sep  4 10:37:51 foo sslh: config:  /etc/sslh.cfg
Sep  4 10:37:51 foo systemd: sslh.service: main process exited, code=exited, status=4/NOPERMISSION


Actual results:

Service does not start

Expected results:

Service should start.

Comment 1 Kai Reichert 2015-09-06 18:35:43 UTC
Yes, removing the braces around DAEMON_OPTS fixes the problem.
Please release a new package version.

Comment 2 Fedora Update System 2015-09-17 15:26:17 UTC
sslh-1.17-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8124

Comment 3 Fedora Update System 2015-09-19 03:21:31 UTC
sslh-1.17-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update sslh'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8124

Comment 4 Fedora Update System 2015-10-07 20:10:57 UTC
sslh-1.17-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.