Bug 1696064 - imgcreate should not use chkconfig
Summary: imgcreate should not use chkconfig
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1695637
TreeView+ depends on / blocked
 
Reported: 2019-04-04 06:00 UTC by Peter Robinson
Modified: 2019-04-06 20:19 UTC (History)
8 users (show)

Fixed In Version: livecd-tools-26.1-3.fc28 livecd-tools-26.1-3.fc29 livecd-tools-26.1-3.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-06 19:21:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2019-04-04 06:00:07 UTC
The chkconfig utility is obsolete and is directed at System-V services. imgcreate still uses it and should be using systemctl.

imgcreate/kickstart.py

class ServicesConfig(KickstartConfig):
    """A class to apply a kickstart services configuration to a system."""
    def apply(self, ksservices):

        if fs.chrootentitycheck('chkconfig', self.instroot):
            for s in ksservices.enabled:
                subprocess.call(['chkconfig', s, 'on'], preexec_fn=self.chroot)
            for s in ksservices.disabled:
                subprocess.call(['chkconfig', s, 'off'], preexec_fn=self.chroot)

Comment 1 Fedora Update System 2019-04-04 11:20:46 UTC
livecd-tools-26.1-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-cd1e07adfa

Comment 2 Fedora Update System 2019-04-04 11:21:11 UTC
livecd-tools-26.1-3.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f0050456ba

Comment 3 Fedora Update System 2019-04-04 11:21:34 UTC
livecd-tools-26.1-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f1977353ed

Comment 4 Fedora Update System 2019-04-04 18:07:07 UTC
livecd-tools-26.1-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f0050456ba

Comment 5 Fedora Update System 2019-04-05 02:35:31 UTC
livecd-tools-26.1-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-cd1e07adfa

Comment 6 Fedora Update System 2019-04-05 03:26:00 UTC
livecd-tools-26.1-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f1977353ed

Comment 7 Fedora Update System 2019-04-06 19:21:51 UTC
livecd-tools-26.1-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2019-04-06 19:43:35 UTC
livecd-tools-26.1-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2019-04-06 20:19:13 UTC
livecd-tools-26.1-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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