Bug 714668

Summary: Legacy SysV initscript file must go into an optional subpackage.
Product: [Fedora] Fedora Reporter: Jóhann B. Guðmundsson <johannbg>
Component: firstbootAssignee: Martin Gracik <mgracik>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: amcnabb, bcl, dmach, mgracik, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: firstboot-16.0-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-12 10:30:54 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 Flags
Spec file which drops SysV support for firstboot.service none

Description Jóhann B. Guðmundsson 2011-06-20 11:51:18 UTC
Description of problem:

Currently your component is providing both native systemd service files and
legacy sysv init script in the same package which is in violation of the
packaging guidelines[1]. 

Once a native systemd service file is shipped and if the intention is to
continue to maintain and ship the old sysv initscript the old sysvinit must go
into an optional subpackage.

"SysV Initscripts
Packages may also provide a SysV initscript file, but are not required to do
so. This format is considered legacy, but Fedora still contains init mechanisms
such as upstart which do not support the systemd unit file format. If present,
the SysV initscript(s) must go into an optional subpackage, so as not to
confuse sysadmins. The guidelines for SysV initscripts can be found here:
Packaging:SysVInitScript"

1.http://fedoraproject.org/wiki/Packaging:Guidelines:Systemd

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

firstboot-1.116-1.fc16

How reproducible:


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


Expected results:


Additional info:

Comment 1 Martin Gracik 2011-06-27 09:10:55 UTC
*** Bug 706789 has been marked as a duplicate of this bug. ***

Comment 2 Jóhann B. Guðmundsson 2011-06-27 10:09:54 UTC
*** Bug 697522 has been marked as a duplicate of this bug. ***

Comment 3 Jóhann B. Guðmundsson 2011-06-27 10:17:44 UTC
Created attachment 510060 [details]
Spec file which drops SysV support for firstboot.service

I think this is correct spec file for firstboot which drops sysv support note that you need to use correct firstboot native service not the current hack ones which call the old sysv init script I'm pretty sure that I have submitted the correct native hack free systemd service files sometime during the F15 development cycle.

Comment 4 Tom "spot" Callaway 2011-09-09 15:22:57 UTC
1.118-1 dropped the old sysv initscripts. firstboot-16.3-1.fc16 (newer) is in testing. This can be closed when it hits stable.