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/  Your IP : 216.73.217.165   [ Reverse IP ]
Web Server : Apache
System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29+esm15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Domains : 3 Domains
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/lib/dpkg/info/landscape-client.postinst
#!/bin/sh
set -e

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#        * <old-postinst> `abort-upgrade' <new version>
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
#          <new-version>
#        * <postinst> `abort-remove'
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
#          <failed-install-package> <version> `removing'
#          <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package

. /usr/share/debconf/confmodule
trap "db_stop || true" EXIT HUP INT QUIT TERM

PACKAGE=landscape-client

# Use the default installed Python.  Running just "python" might run
# something from /usr/local/bin, which doesn't necessarily support
# running the landscape client.
PYTHON=/usr/bin/python

case "$1" in
    configure)

        CONFIG_FILE=/etc/landscape/client.conf
        if [ ! -f $CONFIG_FILE ]; then
            # Create new configuration, with private mode
            TEMPFILE=$(mktemp -p /etc/landscape)
            cat > $TEMPFILE <<END
[client]
log_level = info
url = https://landscape.canonical.com/message-system
ping_url = http://landscape.canonical.com/ping
data_path = /var/lib/landscape/client
END
            chown landscape $TEMPFILE
            mv $TEMPFILE $CONFIG_FILE

            # Get configuration values from debconf
            db_get $PACKAGE/computer_title
            COMPUTER_TITLE="${RET}"
            db_get $PACKAGE/account_name
            ACCOUNT_NAME="${RET}"
            db_get $PACKAGE/registration_key
            REGISTRATION_KEY="${RET}"
            db_get $PACKAGE/url
            URL="${RET}"
            db_get $PACKAGE/exchange_interval
            EXCHANGE_INTERVAL="${RET}"
            db_get $PACKAGE/urgent_exchange_interval
            URGENT_EXCHANGE_INTERVAL="${RET}"
            db_get $PACKAGE/ping_url
            PING_URL="${RET}"
            db_get $PACKAGE/ping_interval
            PING_INTERVAL="${RET}"
            db_get $PACKAGE/http_proxy
            HTTP_PROXY="${RET}"
            db_get $PACKAGE/https_proxy
            HTTPS_PROXY="${RET}"
            db_get $PACKAGE/tags
            TAGS="${RET}"

            # If we got the needed information, actually do the registration.
            if [ -n "$ACCOUNT_NAME" -a -n "$COMPUTER_TITLE" ]; then
                landscape-config --silent --ok-no-register \
                    --computer-title "$COMPUTER_TITLE" \
                    --account-name "$ACCOUNT_NAME" \
                    --registration-key "$REGISTRATION_KEY" \
                    --url "$URL" \
                    --exchange-interval "$EXCHANGE_INTERVAL" \
                    --urgent-exchange-interval "$URGENT_EXCHANGE_INTERVAL" \
                    --ping-url "$PING_URL" \
                    --ping-interval "$PING_INTERVAL" \
                    --http-proxy "$HTTP_PROXY" \
                    --https-proxy "$HTTPS_PROXY" \
                    --tags "$TAGS"
            fi
        else
            # Fix non-private permissions
            chmod 0600 $CONFIG_FILE
            chown landscape $CONFIG_FILE
        fi

        # Remove statoverride for smart-update, if there's one
        smart_update=/usr/lib/landscape/smart-update
        if dpkg-statoverride --list $smart_update >/dev/null 2>&1; then
            dpkg-statoverride --remove $smart_update
        fi

        # Add the setuid flag to apt-update, and make it be executable by
        # users in the landscape group (that normally means landscape itself)
        apt_update=/usr/lib/landscape/apt-update
        if ! dpkg-statoverride --list $apt_update >/dev/null 2>&1; then
            dpkg-statoverride --update --add root landscape 4754 $apt_update
        fi

        # Remove old cron jobs
        old_cron_job=/etc/cron.hourly/landscape-client
        if [ -e $old_cron_job ]; then
            rm $old_cron_job
        fi
        very_old_cron_job=/etc/cron.hourly/smartpm-core
        if [ -e $very_old_cron_job ]; then
            rm $very_old_cron_job
        fi

        # Check if we're upgrading from a D-Bus version like the client in the
        # lucid archives.
        if ! [ -z $2 ]; then
            if dpkg --compare-versions $2 lt 1.5.1; then
                # Launch a proxy service that will forward requests over DBus
                # from the old package-changer to the new AMP-based broker. This
                # is a one-off only needed for the DBus->AMP upgrade
                start-stop-daemon -x /usr/bin/landscape-dbus-proxy -b -c landscape -u landscape -S
            fi
         fi

        # In response to bug 1508110 we need to trigger a complete update of
        # user information.  The flag file will be removed by the client when
        # the update completes.
        DATA_PATH="`grep ^data_path /etc/landscape/client.conf | cut -d= -f2 | tr -d '[[:space:]]'`"
        install --owner=landscape --directory $DATA_PATH
        USER_UPDATE_FLAG_FILE="$DATA_PATH/user-update-flag"
        install --owner=landscape /dev/null $USER_UPDATE_FLAG_FILE
        echo "This file indicates that the Landscape client needs to send updated user information to the server." >> $USER_UPDATE_FLAG_FILE
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_installinit
if [ -x "/etc/init.d/landscape-client" ] || [ -e "/etc/init/landscape-client.conf" ]; then
	if [ ! -e "/etc/init/landscape-client.conf" ]; then
		update-rc.d landscape-client start 45 2 3 4 5 . stop 15 0 1 6 . >/dev/null
	fi
	invoke-rc.d landscape-client start || exit $?
fi
# End automatically added section


exit 0

Anon7 - 2022
AnonSec Team