Bug 694940
Summary: | Providing native systemd file for upcoming F15 Feature Systemd | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jóhann B. Guðmundsson <johannbg> | ||||||||
Component: | irda-utils | Assignee: | Dmitry Butskoy <dmitry> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | rawhide | CC: | lpoetter | ||||||||
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: | 2011-07-18 14:51:19 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 713562 | ||||||||||
Attachments: |
|
Description
Jóhann B. Guðmundsson
2011-04-09 00:05: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 *** Bug 714685 has been marked as a duplicate of this bug. *** What's the current status on this? We need this in rawhide as soon as possible unless ofcourse you guys want to block alpha.. https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd http://fedoraproject.org/wiki/Packaging:Tmpfiles.d irda-utils has been orphaned some time ago and won't be in F16 unless someone picks it up as a maintainer Flagged as orphaned here.. https://fedoraproject.org/wiki/User:Johannbg/Features/SysVtoSystemd Is @base group auto generated as in when package is orphaned does it automatically get removed from @base? This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Noticed that this got picked up again it would be good you ( the new maintainer ) could package the unit file according to the packaging guidelines since this component is part of the Base group thus will block the alpha release. Thanks.. Well, The attached file is not good (it does not use settings from /etc/sysconfig/irda, as well this file seems not to be a pidfile...) Moreover, the variables from /etc/sysconfig/irda was prepared some way in sysv init file, but I have not found any current example how another packages (with similar preparations) handle this now under systemd. For example, bind, samba still not have systemd service files. The problem is I would like to use "-d $DONGLE" in the cmdline only when DONGLE set, and do not use "-d" if it is not set. Certainly I can cause "-d" to go to the variable immediately (ie. DONGLE="-d something"), but I'm not sure whether it is a good design to cause end users (simple sysadmins) to remember that they must preserve "-d" before tha name... Is it applicable to use irda-utils under SysV, at least for a while? Created attachment 513427 [details]
New more correct irda.service
(In reply to comment #8) > Well, > > The attached file is not good (it does not use settings from > /etc/sysconfig/irda, as well this file seems not to be a pidfile...) Not my finest work I must admit.. > Moreover, the variables from /etc/sysconfig/irda was prepared some way in sysv > init file, but I have not found any current example how another packages (with > similar preparations) handle this now under systemd. For example, bind, samba > still not have systemd service files. Well bind and samba have native systemd unit files they are just stuck in bugzilla like so many others ( around 200 I believe ) > > The problem is I would like to use "-d $DONGLE" in the cmdline only when DONGLE > set, and do not use "-d" if it is not set. Certainly I can cause "-d" to go to > the variable immediately (ie. DONGLE="-d something"), but I'm not sure whether > it is a good design to cause end users (simple sysadmins) to remember that they > must preserve "-d" before tha name... > > Is it applicable to use irda-utils under SysV, at least for a while? Not since this is part of Base worst case scenario we have a workaround for that but why not have two unit files one for dongle and the other one not? irda.service irda-dongle.service ? Created attachment 513428 [details]
New irda.service
Adding syslog to the mix since could not notice why the service was failing..
Basically I cant test this since I dont have the required hw hence the service fails with..
Jul 15 18:30:10 valhalla irattach: tcgetattr: Input/output error
Jul 15 18:30:10 valhalla irattach: Stopping device /dev/ttyS2
Jul 15 18:30:10 valhalla irattach: ioctl(SIOCGIFFLAGS): No such device
Jul 15 18:30:10 valhalla irattach: exiting ...
Try the newly submitted file and I should mention that you probably should stuff the loading of the modules into irda.conf file since modules should be loaded via autoloading based on bus information, or via /etc/modules-load.d/*.conf. and unloading a module from the kernel should not be done except for debugging purposes afaik.. Done in rawhide. |