This file is indexed.

/usr/sbin/crm is in crmsh 2.2.0-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/python
#
# Copyright (C) 2008-2015 Dejan Muhamedagic <dmuhamedagic@suse.de>
# Copyright (C) 2013-2015 Kristoffer Gronlund <kgronlund@suse.com>
# See COPYING for license information.
#

import sys
from distutils import version

minimum_version = '2.6'
v_min = version.StrictVersion(minimum_version)
v_this = version.StrictVersion(sys.version[:3])
if v_min > v_this:
    sys.stderr.write("abort: minimum python version support is %s\n" %
                     minimum_version)
    sys.exit(-1)

try:
    try:
        from crmsh import main
    except ImportError as msg:
        try:
            # Perhaps we're running from the source directory
            import modules
            sys.modules['crmsh'] = sys.modules['modules']
            from crmsh import main
        except ImportError as msg2:
            sys.stderr.write('''Fatal error:
        %s
        %s

    Failed to start crmsh! This is likely due to a broken
    installation or a missing dependency.

    If you are using a packaged version of crmsh, please try
    reinstalling the package. Also check your PYTHONPATH and
    make sure that the crmsh module is reachable.

    Please file an issue describing your installation at
    https://github.com/Clusterlabs/crmsh/issues/ .
''' % (msg, msg2))
            sys.exit(-1)
except AttributeError as msg:
    sys.stderr.write('''Fatal error: %s

    Failed to start crmsh! This is likely due to having
    configured Python 3 as the default python version.
    crmsh requires Python 2.6 or higher, but not (yet)
    Python 3.
''' % (msg))
    sys.exit(-1)

rc = main.run()
sys.exit(rc)
# vim:ts=4:sw=4:et: