Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1361527 - rlServiceStart/Stop doesn't support .socket systemd services
Summary: rlServiceStart/Stop doesn't support .socket systemd services
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Dalibor Pospíšil
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2016-07-29 10:34 UTC by Robin Hack
Modified: 2016-08-01 21:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-08-01 21:44:12 UTC

Attachments (Terms of Use)

Description Robin Hack 2016-07-29 10:34:43 UTC
Description of problem:
I have telnetd.socket service and I want to stop/start this service from my test.
When rlServiceStart is used like;
rlServiceStart telnetd.socket it raises something like:

Unknown file: telnetd.socket.service.

So I think that no .socket services are supported.

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

How reproducible:

Steps to Reproduce:
1. install telnet-server
2. Try to user rlServiceStart telnetd.socket

Actual results:
No service start/stop

Expected results:
Service stop/run..

Comment 1 Robin Hack 2016-07-29 10:37:46 UTC
Just small correction: Service is called telnet.socket.

Comment 2 Jakub Prokes 2016-08-01 11:18:34 UTC
In my opinion behaviour is correct, socket isn't service. rlServiceStart use internally command 'service' from RHEL. So If you want to change it, you should file bug for initscripts.

Comment 3 Dalibor Pospíšil 2016-08-01 21:44:12 UTC
There are functions rlSocket{Start,Stop,Restore} already.

Note You need to log in before you can comment on or make changes to this bug.