You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123 lines
2.7 KiB
Plaintext

committing changes in /etc after apt run Package changes: +adwaita-icon-theme 3.28.0-1 all +at-spi2-core 2.28.0-2 armhf +chromium-browser 60.0.3112.89-0ubuntu0.14.04.1.1010+1 armhf +dbus-user-session 1.12.6-2 armhf +dconf-gsettings-backend 0.28.0-2 armhf +dconf-service 0.28.0-2 armhf -fontconfig-config 2.12.6-0.1 all +fontconfig 2.13.0-4 armhf +fontconfig-config 2.13.0-4 all +gconf-service 3.2.6-4.1 armhf +gconf2-common 3.2.6-4.1 all +glib-networking 2.56.0-1 armhf +glib-networking-common 2.56.0-1 all +glib-networking-services 2.56.0-1 armhf +gnome-icon-theme 3.12.0-3 all +gsettings-desktop-schemas 3.28.0-1 all +gtk-update-icon-cache 3.22.29-3+rpi1 armhf +hicolor-icon-theme 0.17-2 all +libatk-bridge2.0-0 2.26.2-1 armhf +libatk1.0-0 2.28.1-1 armhf +libatk1.0-data 2.28.1-1 all +libatspi2.0-0 2.28.0-2 armhf +libavahi-client3 0.7-4 armhf +libcairo-gobject2 1.15.10-3 armhf +libcairo2 1.15.10-3 armhf +libcolord2 1.3.3-2 armhf +libcroco3 0.6.12-2 armhf +libcups2 2.2.7-3+b1 armhf +libdatrie1 0.2.11-1 armhf +libdbus-glib-1-2 0.110-2 armhf +libdconf1 0.28.0-2 armhf +libdrm-amdgpu1 2.4.91-2+rpi1 armhf +libdrm-etnaviv1 2.4.91-2+rpi1 armhf +libdrm-freedreno1 2.4.91-2+rpi1 armhf +libdrm-nouveau2 2.4.91-2+rpi1 armhf +libdrm-radeon1 2.4.91-2+rpi1 armhf +libepoxy0 1.4.3-1 armhf +libfile-basedir-perl 0.07-1 all +libfile-desktopentry-perl 0.22-1 all +libfile-mimeinfo-perl 0.28-1 all -libfontconfig1 2.12.6-0.1 armhf +libfontconfig1 2.13.0-4 armhf +libfontenc1 1:1.1.3-1 armhf +libfribidi0 0.19.7-2 armhf +libgail-common 2.24.32-1 armhf +libgail18 2.24.32-1 armhf +libgconf-2-4 3.2.6-4.1 armhf +libgdk-pixbuf2.0-0 2.36.11-2 armhf +libgdk-pixbuf2.0-bin 2.36.11-2 armhf +libgdk-pixbuf2.0-common 2.36.11-2 all -libglib2.0-0 2.54.3-2 armhf +libgl1 1.0.0+git20180308-2 armhf +libgl1-mesa-dri 17.3.9-1 armhf +libglapi-mesa 17.3.9-1 armhf +libglib2.0-0 2.56.1-2 armhf +libglvnd0 1.0.0+git20180308-2 armhf +libglx-mesa0 17.3.9-1 armhf +libglx0 1.0.0+git20180308-2 armhf +libgraphite2-3 1.3.11-2 armhf +libgtk-3-0 3.22.29-3+rpi1 armhf +libgtk-3-bin 3.22.29-3+rpi1 armhf +libgtk-3-common 3.22.29-3+rpi1 all +libgtk2.0-0 2.24.32-1 armhf +libgtk2.0-bin 2.24.32-1 armhf +libgtk2.0-common 2.24.32-1 all +libharfbuzz0b 1.7.6-1 armhf +libice6 2:1.0.9-2 armhf +libipc-system-simple-perl 1.25-4 all +libjson-glib-1.0-0 1.4.2-4 armhf +libjson-glib-1.0-common 1.4.2-4 all +liblcms2-2 2.9-1 armhf +libllvm5.0 1:5.0.1-4+rpi1 armhf +libnet-dbus-perl 1.1.0-4+b3 armhf +libnspr4 2:4.19-1 armhf +libnss3 2:3.36.1-1 armhf +libpango-1.0-0 1.42.0-1 armhf +libpangocairo-1.0-0 1.42.0-1 armhf +libpangoft2-1.0-0 1.42.0-1 armhf +libpixman-1-0 0.34.0-2 armhf +libproxy1v5 0.4.15-1 armhf +librest-0.7-0 0.8.0-2 armhf +librsvg2-2 2.40.20-2 armhf +librsvg2-common 2.40.20-2 armhf +libsensors4 1:3.4.0-4+b1 armhf +libsm6 2:1.2.2-1+b3 armhf +libsoup-gnome2.4-1 2.62.1-1 armhf +libsoup2.4-1 2.62.1-1 armhf +libthai-data 0.1.27-2 all +libthai0 0.1.27-2 armhf +libtie-ixhash-perl 1.23-2 all +libx11-protocol-perl 0.56-7 all +libx11-xcb1 2:1.6.5-1 armhf +libxaw7 2:1.0.13-1 armhf +libxcb-dri2-0 1.13-1 armhf +libxcb-dri3-0 1.13-1 armhf +libxcb-glx0 1.13-1 armhf +libxcb-image0 0.4.0-1+b2 armhf +libxcb-present0 1.13-1 armhf +libxcb-render0 1.13-1 armhf +libxcb-shape0 1.13-1 armhf +libxcb-shm0 1.13-1 armhf +libxcb-sync1 1.13-1 armhf +libxcb-util0 0.3.8-3 armhf +libxcb-xfixes0 1.13-1 armhf +libxcomposite1 1:0.4.4-2 armhf +libxcursor1 1:1.1.15-1 armhf +libxdamage1 1:1.1.4-3 armhf +libxfixes3 1:5.0.3-1 armhf +libxft2 2.3.2-2 armhf +libxi6 2:1.7.9-1 armhf +libxinerama1 2:1.1.3-1+b3 armhf +libxml-parser-perl 2.44-2+b2 armhf +libxml-twig-perl 1:3.50-1 all +libxml-xpathengine-perl 0.14-1 all +libxmu6 2:1.1.2-2 armhf +libxrandr2 2:1.5.1-1 armhf +libxrender1 1:0.9.10-1 armhf +libxshmfence1 1.3-1 armhf +libxss1 1:1.2.2-1 armhf +libxt6 1:1.1.5-1 armhf +libxtst6 2:1.2.3-1 armhf +libxv1 2:1.0.11-1 armhf +libxxf86dga1 2:1.1.4-1 armhf +libxxf86vm1 1:1.1.4-1+b2 armhf +x11-common 1:7.7+19 all +x11-utils 7.7+4 armhf +x11-xserver-utils 7.7+8 armhf +xdg-utils 1.1.2-2 all
7 years ago
#!/bin/sh
# /etc/init.d/x11-common: set up the X server and ICE socket directories
### BEGIN INIT INFO
# Provides: x11-common
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: S
# Default-Stop:
# Short-Description: set up the X server and ICE socket directories
### END INIT INFO
set -e
PATH=/usr/bin:/usr/sbin:/bin:/sbin
SOCKET_DIR=.X11-unix
ICE_DIR=.ICE-unix
. /lib/lsb/init-functions
if [ -f /etc/default/rcS ]; then
. /etc/default/rcS
fi
do_restorecon () {
# Restore file security context (SELinux).
if which restorecon >/dev/null 2>&1; then
restorecon "$1"
fi
}
# create a directory in /tmp.
# assumes /tmp has a sticky bit set (or is only writeable by root)
set_up_dir () {
DIR="/tmp/$1"
if [ "$VERBOSE" != no ]; then
log_progress_msg "$DIR"
fi
# if $DIR exists and isn't a directory, move it aside
if [ -e $DIR ] && ! [ -d $DIR ] || [ -h $DIR ]; then
mv "$DIR" "$(mktemp -d $DIR.XXXXXX)"
fi
error=0
while :; do
if [ $error -ne 0 ] ; then
# an error means the file-system is readonly or an attacker
# is doing evil things, distinguish by creating a temporary file,
# but give up after a while.
if [ $error -gt 5 ]; then
log_failure_msg "failed to set up $DIR"
return 1
fi
fn="$(mktemp /tmp/testwriteable.XXXXXXXXXX)" || return 1
rm "$fn"
fi
mkdir -p -m 01777 "$DIR" || { rm "$DIR" || error=$((error + 1)) ; continue ; }
case "$(LC_ALL=C stat -c '%u %g %a %F' "$DIR")" in
"0 0 1777 directory")
# everything as it is supposed to be
break
;;
"0 0 "*" directory")
# as it is owned by root, cannot be replaced with a symlink:
chmod 01777 "$DIR"
break
;;
*" directory")
# if the chown succeeds, the next step can change it savely
chown -h root:root "$DIR" || error=$((error + 1))
continue
;;
*)
log_failure_msg "failed to set up $DIR"
return 1
;;
esac
done
do_restorecon "$DIR"
return 0
}
do_status () {
if [ -d "/tmp/$ICE_DIR" ] && [ -d "/tmp/$SOCKET_DIR" ]; then
return 0
else
return 4
fi
}
case "$1" in
start)
if [ "$VERBOSE" != no ]; then
log_begin_msg "Setting up X socket directories..."
fi
set_up_dir "$SOCKET_DIR"
set_up_dir "$ICE_DIR"
if [ "$VERBOSE" != no ]; then
log_end_msg 0
fi
;;
restart|reload|force-reload)
/etc/init.d/x11-common start
;;
stop)
:
;;
status)
do_status
;;
*)
log_success_msg "Usage: /etc/init.d/x11-common {start|stop|status|restart|reload|force-reload}"
exit 1
;;
esac
exit 0
# vim:set ai et sts=2 sw=2 tw=0: