Bug 1093175 - usb_modeswitch using service template file in pre/postun
usb_modeswitch using service template file in pre/postun
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: andrea florio
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2018-05-14 16:24 UTC by Ruediger Oertel
Modified: 2018-05-18 12:30 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Ruediger Oertel 2018-05-14 16:24:10 UTC
%service_add_pre usb_modeswitch@.service
%service_add_post usb_modeswitch@.service
%service_del_preun usb_modeswitch@.service
%service_del_postun usb_modeswitch@.service

a service template (foo@.service) can only be used with a parameter
on the commandline but will not work in the specfile without the parameter.

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