/etc/init/mounted-run.conf is in mountall 2.36.
This file is owned by root:root, with mode 0o644.
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 | # mounted-run - Populate and link to /run filesystem
#
# Populates the /run filesystem and adds compatibility links to it
description "Populate and link to /run filesystem"
start on mounted MOUNTPOINT=/run TYPE=tmpfs
task
script
: > "/run/utmp"
chmod 664 "/run/utmp"
chgrp utmp "/run/utmp"
# compatibility; should go away soon
[ -d /dev/.initramfs/varrun ] && cp -a /dev/.initramfs/varrun/* /run/ || true
mkdir -p /run/sendsigs.omit.d
# Background the initial motd seeding
[ -d "/etc/update-motd.d" ] && run-parts --lsbsysinit /etc/update-motd.d > /run/motd &
end script
|