Hi All
I have been looking over some of the Ubuntu upstart scripts to see what can 
help me.
I tried using the mounted-varrun.conf script but for some reason my system 
doesn't seem to pass on thefact that /var/run is mounted.  I have found though 
that if after the system has started and I login, I am able to enter the 
following:
start mounted-varrun
This does then successfully follow the script and perform the actions as 
specified 
Is anyone able to tell me why this is not captured during the startup process?
cheersgrail
PS. In case anyone is not sure, below is the script:
start on mounted MOUNTPOINT=/var/run TYPE=tmpfsenv MOUNTPOINT=/var/run
task
script    : > "${MOUNTPOINT}/utmp"    chmod 664 "${MOUNTPOINT}/utmp"    chgrp 
utmp "${MOUNTPOINT}/utmp"
    [ -d /dev/.initramfs/varrun ] && cp -a /dev/.initramfs/varrun/* 
"${MOUNTPOINT}" || true
    mkdir -p /var/run/sendsigs.omit.d
    # Background the initial motd seeding    [ -d "/etc/update-motd.d" ] && 
run-parts --lsbsysinit /etc/update-motd.d > /var/run/motd &
end script                                        
-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to