Bug 843042

Summary: Provide native systemd service for teamd
Product: [Fedora] Fedora Reporter: Tomasz Torcz <tomek>
Component: libteamAssignee: Jiri Pirko <jiri>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: iarlyy, jiri, jonathan, jpirko, lnykryn, notting, plautrba, vpavlin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 11:31:17 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 713562    
Attachments:
Description Flags
teamd@.service none

Description Tomasz Torcz 2012-07-25 08:09:02 EDT
Created attachment 600288 [details]
teamd@.service

Description of problem:
teamd package do not ship any systemd unit files. Yet the need to run deamon for each team interface is perfect use of systemd infrastructure.

Please include attached unit file. For each config file in /etc/teamd/ directory, instance teamd@<configname>.service can be started. So if you have /etc/teamd/lacp_1.conf, you can start teamd@lacp_1.service

Notes:
- /etc/teamd directory does not exist in package - needs to be added
- teamd should be rather in /usr/sbin than "bin" directory, but I'm unable to find package review bug in bugzilla to check rationale

If you satisfied with this unit file, please try to include it upstream.
Comment 1 Jiri Pirko 2012-08-07 11:31:17 EDT
Your approach is not compatible with network initscripts. I changed initscripts so they use systemd to start/stop teamd.