This file is indexed.

/usr/sbin/update-rt-siteconfig-4 is in request-tracker4 4.0.19-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
#!/bin/sh

# This script updates /etc/request-tracker4/RT_SiteConfig.pm
# with the contents of the /etc/request-tracker4/RT_SiteConfig.d/ 
# directory. The result is managed with ucf, so that no user
# changes are accidentally overwritten.

# Copyright 2007 Niko Tyni <ntyni@iki.fi>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.  You may also
# redistribute it and/or modify it under the terms of the Perl
# Artistic License.

CONFBASE="/etc/request-tracker4"
SITE_CONFIG_INCLUDE_DIR="$CONFBASE/RT_SiteConfig.d"
SITE_CONFIG="$CONFBASE/RT_SiteConfig.pm"

myname=$(basename $0)
tfile=$(mktemp -t "$myname".XXXXXXXX) || exit 1
cat <<EOF > $tfile
# This file was generated by running "$myname".
#
# While local modifications will not be overwritten without permission,
# it is recommended the they are instead placed in 
# $SITE_CONFIG_INCLUDE_DIR
#
# Note that modifications to the RT_SiteConfig.d directory won't 
# take effect until the update command mentioned above is run again.

EOF

# ignore *.ucf-old and the like
find "$SITE_CONFIG_INCLUDE_DIR" -type f \
    -iregex "^$SITE_CONFIG_INCLUDE_DIR/[a-z0-9][a-z0-9_-]+$" | sort | \
while read file 
do
    echo "# start $file" >> $tfile
    cat "$file" >> $tfile
    echo "# end   $file" >> $tfile
done

# the result is a Perl module, so it needs to return 1.
echo '1;' >> $tfile

if [ -f "$SITE_CONFIG" ]
then
    # try to honor the existing mode and owner of the file
    chown --reference "$SITE_CONFIG" $tfile
    chmod --reference "$SITE_CONFIG" $tfile
fi
ucf --debconf-ok $tfile "$SITE_CONFIG"
rm $tfile