Bug 817033 - Obscure error: "Warning: unit files do not carry install information. No operation executed."
Summary: Obscure error: "Warning: unit files do not carry install information. No oper...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-27 13:32 UTC by Richard W.M. Jones
Modified: 2012-06-20 19:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 19:25:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-04-27 13:32:32 UTC
Description of problem:

Running systemctl enable <various things> prints the
incredibly obscure and non-useful message:

Warning: unit files do not carry install information. No operation executed.

It should describe what it means and how the user is
supposed to correct the error.

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

systemd-44-4.fc17.armv7hl

How reproducible:

100%

Steps to Reproduce:
1. systemctl enable rc-local.service

Additional info:

Many people do not understand this message:
https://encrypted.google.com/search?q=Warning%3A+unit+files+do+not+carry+install+information.+No+operation+executed.

Comment 1 Michal Schmidt 2012-04-27 14:12:49 UTC
(In reply to comment #0)
> Description of problem:
> 
> Running systemctl enable <various things> prints the
> incredibly obscure and non-useful message:
> 
> Warning: unit files do not carry install information. No operation executed.

How about this?:

  The unit file has no [Install] section. It is not meant to be enabled using systemctl.

(As a bonus we could say it in plural only if more than one unit was given on the command line.)

Comment 2 Richard W.M. Jones 2012-04-27 14:19:14 UTC
Definitely an improvement.

Comment 3 Michal Schmidt 2012-06-14 21:41:42 UTC
Fixed upstream:
http://cgit.freedesktop.org/systemd/systemd/commit
/?id=34cdc274edd870ffc27d21cf82655a0114948748
(But without the singular/plural distinction. That can wait for proper i18n.)

Comment 4 Fedora Update System 2012-06-14 23:14:42 UTC
systemd-44-14.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/systemd-44-14.fc17

Comment 5 Fedora Update System 2012-06-15 12:28:46 UTC
Package systemd-44-14.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-44-14.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9471/systemd-44-14.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-06-20 19:25:55 UTC
systemd-44-14.fc17 has been pushed to the Fedora 17 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.