/lib/systemd/debian-fixup is in systemd 44-11+deb7u4.
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 | #! /bin/sh
set -e
if [ ! -L /etc/mtab ]; then
ln -sf /proc/mounts /etc/mtab
fi
# Migrate /var/run to be a symlink to /run, unless /run is already a
# symlink, to prevent loops.
if [ ! -L /var/run ]; then
if [ ! -L /run ]; then
rm -rf /var/run
ln -s /run /var/run
fi
fi
# Migrate /var/lock to be a symlink to /run/lock, unless /run/lock is
# already a symlink, to prevent loops.
if [ ! -L /var/lock ]; then
if [ ! -L /run/lock ]; then
rm -rf /var/lock
ln -s /run/lock /var/lock
fi
fi
exit 0
|