Bug 741008 - 'service' does a wrong and needless check before redirecting to systemctl
Summary: 'service' does a wrong and needless check before redirecting to systemctl
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-24 11:33 UTC by Michal Schmidt
Modified: 2014-03-17 03:28 UTC (History)
5 users (show)

Fixed In Version: initscripts-9.33-1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-17 00:46:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
do not check for the existence of a systemd unit before redirecting (1.39 KB, patch)
2011-09-24 11:33 UTC, Michal Schmidt
no flags Details | Diff

Description Michal Schmidt 2011-09-24 11:33:22 UTC
Created attachment 524718 [details]
do not check for the existence of a systemd unit before redirecting

'service foo start' fails if foo.service is only in /etc/systemd/system. The service script refuses to redirect to systemctl in this case.

initscripts-9.32-2.fc16

Patch attached.

Comment 1 Bill Nottingham 2011-09-26 14:59:42 UTC
Added, thanks.

Comment 2 Fedora Update System 2011-10-12 21:15:41 UTC
initscripts-9.33-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/initscripts-9.33-1.fc16

Comment 3 Fedora Update System 2011-10-13 18:12:40 UTC
Package initscripts-9.33-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing initscripts-9.33-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14259
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-10-17 00:46:11 UTC
initscripts-9.33-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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