Hi,

as can be seen when grepping through the source, splashy uses /lib/init/rw not
only for sendsigs.omit.d, but also for storing data for its progress interface.
This needs to be moved to /run too (/lib/init/rw/splashy → /run/splashy).


Please also note, that /run exists for the complete runtime of the system, i.e.
is created already in the initramfs and transitioned automatically to the real
root. So in case you already need to create runtime data in the initramfs, you
can use /run for this now.

Michael

(*)
splashy-0.3.13/scripts/console-tools/config.d/splashy:STEPS_DIR=/lib/init/rw/splashy
splashy-0.3.13/scripts/init.d/splashy:STEPS_DIR="/lib/init/rw/$NAME"
splashy-0.3.13/scripts/init.d/splashy:  # we will always use 
/lib/init/rw/splashy
and mount a tmpfs there
splashy-0.3.13/scripts/init.d/splashy:        pidof $NAME >> 
/var/run/sendsigs.omit
splashy-0.3.13/scripts/init.d/splashy:        [ -d /lib/init/rw/sendsigs.omit.d
] || mkdir -p /lib/init/rw/sendsigs.omit.d
splashy-0.3.13/scripts/init.d/splashy:        cat /var/run/sendsigs.omit >>
/lib/init/rw/sendsigs.omit.d/splashy
splashy-0.3.13/scripts/default/splashy:# default "/lib/init/rw/splashy"
splashy-0.3.13/scripts/default/splashy:#STEPS_DIR=/lib/init/rw/splashy
splashy-0.3.13/scripts/lsb-base-logging.sh:    STEPS_DIR=/lib/init/rw/splashy
splashy-0.3.13/scripts/lsb-base-logging.sh:    STEPS_DIR=/lib/init/rw/splashy
splashy-0.3.13/ChangeLog:       * scripts/init.d/splashy: tmpfs needed to fix 
steps On
Ubuntu there is no /lib/init/rw/ directory. We are creating one
splashy-0.3.13/NEWS: * LSB script writes splashy PID to /var/run/sendsigs.omit
which is used by /etc/init.d/sendsigs to
splashy-0.3.13/debian/changelog:  * initrc scripts check whether it needs to
umount /lib/init/rw/splashy
splashy-0.3.13/debian/changelog:  * Use /lib/init/rw/splashy for storage of
steps file (closes: 405240)

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to