Bug 689853 - Providing native systemd file for upcoming F15 Feature Systemd
Summary: Providing native systemd file for upcoming F15 Feature Systemd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Hrozek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-22 16:17 UTC by Jóhann B. Guðmundsson
Modified: 2020-05-02 16:19 UTC (History)
5 users (show)

Fixed In Version: sssd-1.5.6-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-22 02:19:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Native systemd service file (210 bytes, text/plain)
2011-03-22 16:17 UTC, Jóhann B. Guðmundsson
no flags Details
With After=syslog.target network.target (239 bytes, text/plain)
2011-03-22 16:34 UTC, Jóhann B. Guðmundsson
no flags Details
resubmitted without network.target local-fs.target remote-fs.target in After (190 bytes, text/plain)
2011-03-31 12:10 UTC, Jóhann B. Guðmundsson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 1879 0 None closed provide a configuration-time option to install a systemd unit file by default 2020-05-02 16:19:38 UTC

Description Jóhann B. Guðmundsson 2011-03-22 16:17:58 UTC
Created attachment 486834 [details]
Native systemd service file

Description of problem:

The attached file is a native systemd file for upcoming F15 Feature [1]

Please read [2] on how to packaging and installing systemd Service files.

To learn more about Systemd daemon see [3].

To view old SysV with the new Systemd site by site see for your component see [4]

If you have any question dont hesitate to ask them on this bug report.

1.http://fedoraproject.org/wiki/Features/systemd

2.https://fedoraproject.org/wiki/Systemd_Packaging_Draft

3.http://0pointer.de/public/systemd-man/daemon.html

4.https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jóhann B. Guðmundsson 2011-03-22 16:34:09 UTC
Created attachment 486842 [details]
With After=syslog.target network.target

Just noticed that I forgot to add after systlog.target and network target thus resubmitting..

Comment 2 Simo Sorce 2011-03-22 16:40:39 UTC
why the network target ?
Does it mean sssd startup will be delayed until the network is up ?
Although sssd uses network resources it can handle a local db and it does handle offline operations by default including sensing on its own when the network is up in order to go online.

So I am not sure it really needs to be configured to wwait for the network to be up.

Also I se you have as After remote-fs.target too, why is that ?

Comment 3 Jóhann B. Guðmundsson 2011-03-22 17:21:27 UTC
I only added the remote.fs,target network.target ( and the local-fs,target ) because I thought there was a dependency issue due to this comment in the SysV init file 

### BEGIN INIT INFO
# Provides: sssd
# Required-Start: $remote_fs <---???

Feel free to remove both network.target local-fs.target remote-fs.target if not needed. ( so the line should just be After=syslog.target )

You also might want to add Conflicts=nscd.service if necessary in the [Unit] section of the service file.

Comment 4 Lennart Poettering 2011-03-31 11:44:43 UTC
local-fs.target is never needed in systemd, since that is implied for normal services.

Comment 5 Jóhann B. Guðmundsson 2011-03-31 12:10:04 UTC
Created attachment 489051 [details]
resubmitted without network.target local-fs.target remote-fs.target in After

Comment 6 Stephen Gallagher 2011-04-04 12:58:24 UTC
Jakub, please take a look at this and if it's acceptable, please add this to source control and add a new configure flag to install this config file instead of the Sys V init script.

Comment 7 Jakub Hrozek 2011-04-05 15:32:35 UTC
(In reply to comment #6)
> Jakub, please take a look at this and if it's acceptable, please add this to
> source control and add a new configure flag to install this config file instead
> of the Sys V init script.

Sure, the upstream ticket is https://fedorahosted.org/sssd/ticket/837

Comment 8 Fedora Update System 2011-04-13 14:25:54 UTC
sssd-1.5.5-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/sssd-1.5.5-2.fc15

Comment 9 Fedora Update System 2011-04-14 00:33:44 UTC
Package sssd-1.5.5-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sssd-1.5.5-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/sssd-1.5.5-2.fc15
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2011-04-15 04:31:17 UTC
Package sssd-1.5.5-3.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sssd-1.5.5-3.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/sssd-1.5.5-3.fc15
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2011-04-21 03:00:48 UTC
Package sssd-1.5.6-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sssd-1.5.6-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/sssd-1.5.6-1.fc15
then log in and leave karma (feedback).

Comment 12 Fedora Update System 2011-04-22 02:19:39 UTC
sssd-1.5.6-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Bill Nottingham 2011-04-26 17:35:24 UTC
Moving systemd service RFEs to rawhide.

At this point, it is not appropriate in the Fedora 15 cycle to add these. Furthermore, at this point, we are still finalizing the packaging guidelines to handle SysV -> systemd upgrades.

We therefore request:
- wait until there are packaging guidelines (this will be announced on the devel list). This ensures that upgrades will work smoothly and we/you won't have to do multiple sets of changes.
- work on these sorts of changes for Fedora 16 where necessary, not Fedora 15, as we're trying to fix things for release.
- do *not* change a service from SysV to systemd in an existing release (such as Fedora 15), as this is the sort of behavior change that goes against our update policy, documented as https://fedoraproject.org/wiki/Updates_Policy


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