Bug 1093160 - libteam: teamd@.service in pre/post is wrong.
libteam: teamd@.service in pre/post is wrong.
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Nirmoy Das
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-14 15:31 UTC by Ruediger Oertel
Modified: 2018-05-18 12:34 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruediger Oertel 2018-05-14 15:31:18 UTC
%if 0%{?_unitdir:1}
%service_add_post teamd@.service
%endif

teamq@.service is a template file, it can be used to start/stop/enable/...
a service but only if a parameter is supplied.

# rpm -e libteam-tools
Failed to stop teamd@.service: Unit name teamd@.service is missing the instance name.
See system logs and 'systemctl status teamd@.service' for details.
Failed to get load state of teamd@.service: Unit name teamd@.service is neither a valid invocation ID nor unit name.




see also: https://discourse.nordisch.org/t/hooking-up-instantiated-services-with-rpm/476