Server IP : 13.213.54.232 / Your IP : 216.73.216.192 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ip-172-31-17-110 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 7.1.33-67+ubuntu22.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/246939/root/var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh # postinst script for multipath-tools # # see: dh_installdeb(1) set -e FIXED=0.8.8-1ubuntu1.22.04.3 # The previous multipath-tools.prerm maintainer script did not stop the # multipathd.service unit, therefore it needs to be stopped here for this # specific upgrade case. # "systemctl daemon-reload" is specifically not being called before # deb-systemd-invoke because: # a) it will be called later in the script, before multipathd.service is # started, so let's not call it twice # b) it has system-wide effects, like running all systemd generators again # c) we don't really need the new multipathd.service unit file to stop the old # running daemon. In fact, one could argue it's more correct to use the old # unit file to stop the old daemon. # This approach will generate a one-time warning that can be ignored. if dpkg --compare-versions "$2" lt-nl "$FIXED"; then echo -n "The warning about having to reload systemd units can be safely" >&2 echo " ignored. Please see LP: #2035098 for details." >&2 deb-systemd-invoke stop 'multipathd.service' >/dev/null || true fi # Automatically added by dh_systemd_enable/13.6ubuntu1 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then # This will only remove masks created by d-s-h on package removal. deb-systemd-helper unmask 'multipathd.service' >/dev/null || true # was-enabled defaults to true, so new installations run enable. if deb-systemd-helper --quiet was-enabled 'multipathd.service'; then # Enables the unit on first installation, creates new # symlinks on upgrades if the unit file has changed. deb-systemd-helper enable 'multipathd.service' >/dev/null || true else # Update the statefile to add new symlinks (if any), which need to be # cleaned up on purge. Also remove old symlinks. deb-systemd-helper update-state 'multipathd.service' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_systemd_start/13.6ubuntu1 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ]; then systemctl --system daemon-reload >/dev/null || true deb-systemd-invoke start 'multipathd.service' 'multipathd.socket' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_installdeb/13.6ubuntu1 dpkg-maintscript-helper rm_conffile /etc/init.d/multipath-tools 0.8.8-1ubuntu1.22.04.2~ multipath-tools -- "$@" # End automatically added section exit 0