Attempt to allow RHEL5(and derivatives) which use a old chroot #88
Attempt to allow RHEL5(and derivatives) which use a old chroot #88lmorfitt wants to merge 1 commit intojordansissel:masterfrom
Conversation
|
it works!!! ALELUYA! Many thanks! My OS is oracle linux 5.6. |
|
@dartua Glad Its working for you. I've tested on RHEL 5.11 and all seems to work for me. |
|
We hit the same issues on SLES11 (or at least I think it's the same). What I hated was that it still thinks it sucessfully started [x] done |
|
I think this patch has a typo since it runs sh -c, not su - -c or something like that ... is that intentional in any way? |
|
I'm currently using something like this to the same end. Run the program!#nice -n ${LS_NICE} chroot --userspec $LS_USER:$LS_GROUP $EXTRA_GROUPS / sh -c " |
|
@FlorianHeigl - This was a quick hack to drop the user switching, as the chroot option was not available on RHEL5. I personally no longer have a requirement to support RHEL5 systems and therefore a much better solution may now be available. |
|
I'd be open to accepting a patch that included user switching support for these older distros. I appreciate your sharing of this quick fix, but it disables user switching, so I don't want to merge it. Hopefully folks who need a quick fix can use this PR, though. |
Please see #49 for more details.
This is a attempt to fix the init scripts for RHEL5 (and friends).
Luke