Bug 1027476 - /usr/libexec/lcrso/{openaisserviceenable,service_amf,service_ckpt,...}.lcrso set executable needlessly
Summary: /usr/libexec/lcrso/{openaisserviceenable,service_amf,service_ckpt,...}.lcrso ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openais
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Friesse
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-06 22:27 UTC by Jan Pokorný [poki]
Modified: 2014-01-06 12:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-06 12:48:33 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1027470 0 unspecified CLOSED /usr/libexec/lcrso/{config_cmanpre,config_xml,service_cman}.lcrso set executable needlessly 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1027473 0 low CLOSED /usr/libexec/lcrso/{coroparse,objdb,quorum_testquorum,...}.lcrso set executable needlessly 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1027477 0 unspecified CLOSED /usr/libexec/lcrso/pacemaker.lcrso set executable needlessly 2021-02-22 00:41:40 UTC

Internal Links: 1027470 1027473 1027477

Description Jan Pokorný [poki] 2013-11-06 22:27:19 UTC
# for p in $(for i in /usr/libexec/lcrso/*; do rpm -qf "${i}"; done \
  | sort -u); do echo "${p}:"; rpm -ql "${p}" \
  | grep -F /usr/libexec/lcrso/; done
> [...]
> openais-1.1.1-7.el6.x86_64:
> /usr/libexec/lcrso/openaisserviceenable.lcrso
> /usr/libexec/lcrso/service_amf.lcrso
> /usr/libexec/lcrso/service_ckpt.lcrso
> /usr/libexec/lcrso/service_clm.lcrso
> /usr/libexec/lcrso/service_evt.lcrso
> /usr/libexec/lcrso/service_lck.lcrso
> /usr/libexec/lcrso/service_msg.lcrso
> /usr/libexec/lcrso/service_tmr.lcrso
> [...]

# /usr/libexec/lcrso/openaisserviceenable.lcrso
> Segmentation fault (core dumped)

Comment 2 Jan Friesse 2014-01-06 12:48:33 UTC
Libraries (*.so) files are generally created executable (and lcrso is just renamed so). Only very few libraries contains valid entry point (libc does, pthread does, ld.so does). Vast majority of libraries execution ends with segfault. Take a look to /lib{64} or /usr/lib{64}.

Executable bit is also used on some platforms (like hp-ux) and without it, dl_open doesn't work.

Generally, I don't have any intent to solve this in RHEL 6, because possible breaking compatibility and general nonsense of such action. RHEL 7 corosync doesn't include lcrso so it's already solved there.


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