Bug 714441 - Provide a native systemd service for Fedora 16
Summary: Provide a native systemd service for Fedora 16
Keywords:
Status: CLOSED DUPLICATE of bug 697698
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan F. Chadima
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-19 09:38 UTC by Harald Reindl
Modified: 2011-06-21 10:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-21 10:29:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Harald Reindl 2011-06-19 09:38:02 UTC
please include a systemd-service file for Fedora >= 15

it is a bad behavior that F15 replacing upstart with systemd and most 
services are running in SysV compatibilty mode

Comment 2 Jan F. Chadima 2011-06-20 18:58:36 UTC
(In reply to comment #1)
> You can use these, upstream says license is MIT.
> https://github.com/falconindy/systemd-arch-units/blob/master/service/sshd@.service
> https://github.com/falconindy/systemd-arch-units/blob/master/service/sshd.service
> https://github.com/falconindy/systemd-arch-units/blob/master/socket/sshd.socket
>
It's a joke?

--------

Correctly start/stop openssh is not as easy as you think. Much more improved units are packed in the source rpm or git repo. But there are still unsolved problems.

1) in the case of restart service do not kill user child processes, but in the case of shutdown do kill all user child processes.

2) sshd automatically creates /var/run/sshd.pid => the service pid must have other file name (/var/run/sshd-s.pid) and the file content must be copied from /var/run/sshd.pid after starting sshd by the means of initscript / to distinguish it from the sshd run from command line. 

This 2 problems must be solved before the sshd units may be used. If you can help with it, you will be welcomed.

Comment 3 Jan F. Chadima 2011-06-21 10:29:09 UTC

*** This bug has been marked as a duplicate of bug 697698 ***


Note You need to log in before you can comment on or make changes to this bug.