Created attachment 487523 [details] Native systemd service file Description of problem: Is it not better to have a native systemd service file for cups before the printing test day ;) 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:
Should there also be a cups.socket file to describe the UNIX domain socket? I think I remember Lennart saying that he had patches for CUPS...
Created attachment 487602 [details] Native cups systemd service file with socket
Created attachment 487603 [details] Native cups systemd socket file.
Yupp, I have patches. Need to clean them up and submit. CUPS uses copyright assignment iirc, right? was too lazy so far figuring out how this is handled for patches for RH employees. Tim, how does that work? Should those patches go through you?
You can send them to me and I'll try to get them upstream, yes.
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
Created attachment 496324 [details] Minor fixes to the cups service Added printer.target to Require= since we have one Correctly named the service ( Previously attachment was named cupsd.service )
Created attachment 496325 [details] Minor fixes to the cups socket Added missing ListenStream=631
related bug 480668
*** Bug 480668 has been marked as a duplicate of this bug. ***
*** Bug 714434 has been marked as a duplicate of this bug. ***
Tim can this be packaged and shipped without Lennart's patch(es) so this does not block alpha ?
Good idea.
I've done that. The cups.socket bit is no good without the actual source modifications to the scheduler so I took that out for the moment. Lennart, if you could send me the patches you have sometime that would be great.
Xellent we can always introduce the socket file when/if those patches from Lennart ever show up later in the development/release cycle..