Bug 1285492
Summary: | systemctl can't read symlinks to SysVinit service scripts in /etc/init.d after upgrading to RHEL 7.2's systemd-219-19.el7 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ryan Sawhill <rsawhill> | |
Component: | systemd | Assignee: | systemd-maint | |
Status: | CLOSED ERRATA | QA Contact: | Branislav Blaškovič <bblaskov> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 7.2 | CC: | abeausol, adrian.fischli, bblaskov, fj-lsoft-kernel-it, hebron, jkurik, john.lofgren, jscotka, kashyap.desai, lauri.cerneck, lnykryn, lupinix.fedora, mcamen, moagrawa, mschena, pdwyer, pragshar, rainer.peter+redhat, redhat-bugzilla, rsawhill, santony, sathya.prakash, sreekanth.reddy, sreekanth.reddy, suganath-prabu.subramani, sumit.saxena, sumit.saxena, systemd-maint-list, troels, vanhoof, wangsy30 | |
Target Milestone: | rc | Keywords: | EasyFix, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | systemd-219-20.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1288005 (view as bug list) | Environment: | ||
Last Closed: | 2016-11-04 00:46:36 UTC | Type: | Bug | |
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: | 1201326, 1203710, 1288005, 1289485 |
Description
Ryan Sawhill
2015-11-25 18:03:43 UTC
In the errata description at https://rhn.redhat.com/errata/RHBA-2016-0199.html it states: "Note that the real location of the init script must be on the partition that is mounted in the initial ramdisk (initrd)" What does that mean? If /usr/local/foo is a normal (non-NFS, non-automounted) directory mounted at boot-time via fstab: Will a symlink to a script in that directory be expected to work, given the fixed systemd package in RHBA-2016:0199-1? (In reply to Troels Arvin from comment #7) > In the errata description at > https://rhn.redhat.com/errata/RHBA-2016-0199.html it states: > > "Note that the real location of the init script must be on the partition > that is mounted in the initial ramdisk (initrd)" > > What does that mean? > > If /usr/local/foo is a normal (non-NFS, non-automounted) directory mounted > at boot-time via fstab: Will a symlink to a script in that directory be > expected to work, given the fixed systemd package in RHBA-2016:0199-1? Bugzilla is not a support tool, so the question is better routed through your support agreement and via the Customer Portal (https://access.redhat.com). However, the way I understand things, if the filesystem that holds the actual script the symbolical link in /etc/rc.d/init.d points at is not available by the time systemd processes the init files - it will not get run by systemd (as the symlink points at something currently non-existent). In other words - make sure that the filesystem(s) that hold your init-scripts are present and mounted by the time systemd begins its processing of init-scripts if you are going to use symbolical links. /Anders (In reply to Troels Arvin from comment #7) > In the errata description at > https://rhn.redhat.com/errata/RHBA-2016-0199.html it states: > > "Note that the real location of the init script must be on the partition > that is mounted in the initial ramdisk (initrd)" > > What does that mean? > > If /usr/local/foo is a normal (non-NFS, non-automounted) directory mounted > at boot-time via fstab: Will a symlink to a script in that directory be > expected to work, given the fixed systemd package in RHBA-2016:0199-1? Anders answered you correctly. This is basically just reiterating the requirement explained in https://bugzilla.redhat.com/show_bug.cgi?id=1212569 -- that after this fix symlinks will be OK again as long as they're pointing to files in / or /usr. *** Bug 1303813 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2216.html |