| Summary: | Provide native systemd service files | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jóhann B. Guðmundsson <johannbg> | ||||||||||||
| Component: | firebird | Assignee: | Philippe Makowski <makowski.fedora> | ||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||
| Priority: | unspecified | ||||||||||||||
| Version: | rawhide | CC: | gwync, makowski.fedora, tcallawa | ||||||||||||
| 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-02-13 20:04:38 UTC | Type: | --- | ||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||
| Documentation: | --- | CRM: | |||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
| Bug Depends On: | |||||||||||||||
| Bug Blocks: | 713562 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Jóhann B. Guðmundsson
2011-09-10 15:44:06 UTC
Created attachment 522533 [details]
firebird socket
Created attachment 522534 [details]
firebird service
Once package and shipped your package should no longer have to depend on xinetd https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd Created attachment 524328 [details]
firebird SuperClassic SysV Initscripts
Thanks for your scripts, will update the package in rawhide should it be done also in F16 ? should it be done also for firebird SuperClassic and SuperServer SysV Initscripts ? see example of firebird SuperClassic SysV Initscripts Created attachment 524347 [details]
firebird superclassic
Let' start with this and note this is the standalone versions of the provided init script which later can be turned it to an template if required
Copy the attach file into /lib/systemd/system directory and run systemctl daemon-reload.
Starts and stops cleanly on F15 host.
[root@valhalla system]# systemctl start firebird-superclassic.service && systemctl status firebird-superclassic.service && netstat -pant | grep fb_smp_server && systemctl stop firebird-superclassic.service && systemctl status firebird-superclassic.service
firebird-superclassic.service - Firebird Database Server ( SuperClassic )
Loaded: loaded (/lib/systemd/system/firebird-superclassic.service)
Active: active (running) since Thu, 22 Sep 2011 08:24:04 +0000; 31s ago
Process: 32146 ExecStart=/usr/sbin/fbguard -pidfile /run/firebird/default.pid -daemon -forever (code=exited, status=0/SUCCESS)
Main PID: 32148 (fb_smp_server)
CGroup: name=systemd:/system/firebird-superclassic.service
├ 32147 /usr/sbin/fbguard -pidfile /run/firebird/default.pid -daemon -forever
└ 32148 /usr/sbin/fb_smp_server
tcp 0 0 0.0.0.0:3050 0.0.0.0:* LISTEN 32148/fb_smp_server
firebird-superclassic.service - Firebird Database Server ( SuperClassic )
Loaded: loaded (/lib/systemd/system/firebird-superclassic.service)
Active: inactive (dead) since Thu, 22 Sep 2011 08:24:35 +0000; 69ms ago
Process: 32146 ExecStart=/usr/sbin/fbguard -pidfile /run/firebird/default.pid -daemon -forever (code=exited, status=0/SUCCESS)
Main PID: 32148
CGroup: name=systemd:/system/firebird-superclassic.service
Created attachment 524349 [details]
firebird superserver
ok thanks, so I need to provide it for F16 and F17 and since : "Packages are strictly forbidden from migrating to systemd within updates to a Fedora release. The migration is only allowed between Fedora releases." I don't have to provide it for F15 but I need to take care of https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd Packages migrating to a systemd unit file from a SysV initscript with a %if 0%{?fedora}>=16 or with a commit only on F16 and rawhide branches am I right ? firebird-2.5.0.26074.0-10.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/firebird-2.5.0.26074.0-10.fc16 Package firebird-2.5.0.26074.0-10.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 firebird-2.5.0.26074.0-10.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/firebird-2.5.0.26074.0-10.fc16 then log in and leave karma (feedback). This is complete. |