/etc/init/rbdmap.conf is in ceph 0.79-0ubuntu1.
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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47  | # rbdmap - Ceph RBD Mapping
#
# This script does not manage mount and unmount fs which depends on rbd device.
# You should use _netdev option in fstab to mount and umount in the correct order.
description "ceph rbd mapping"
start on (started networking
    and remote-filesystems)
stop on unmounted-remote-filesystems
env RBDMAPFILE="/etc/ceph/rbdmap"
pre-start script
    if [ ! -f "$RBDMAPFILE" ]; then
        exit 0
    fi
    while read DEV PARAMS; do
        case "$DEV" in
          ""|\#*)
            continue
            ;;
          */*)
            ;;
          *)
            DEV=rbd/$DEV
            ;;
        esac
        for PARAM in $(echo $PARAMS | tr ',' '\n'); do
            CMDPARAMS="$CMDPARAMS --$(echo $PARAM | tr '=' ' ')"
        done
        if [ ! -b /dev/rbd/$DEV ]; then
            echo "rbd map $DEV"
            rbd map $DEV $CMDPARAMS
        fi
    done < $RBDMAPFILE
end script
post-stop script
    if ls /dev/rbd[0-9]* >/dev/null 2>&1; then
        for DEV in /dev/rbd[0-9]*; do
            echo "rbd unmap $DEV"
            rbd unmap $DEV
        done
    fi
end script
 |