Re: Directory disappears after reboot. (Draper Drake)



Holger (Admin) wrote:

Hi,
I have installed the package tor and after the installation the
application started.
After a reboot the application no more started. So I tried to start the
script in the
init.d directory and the output complained about a directory missing:

./tor start
There is no /var/run/tor directory.

Therefore I created it and then the application once again started
successful. After
a reboot then the directory under /var/run was gone. So the application
failed on
on the load. My question is why this manual created directory
under /var/run always
get lost after the reboot ? What do i need to do that it stays ?

/var/run is _always_ cleared on boot. So anything that needs a directory to
persist across boots should never use /var/run.
--
derek


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • System automatic rebooting cycle after installation.
    ... The system is five years old, and has been working just great with Windows ... After the installation is complete, ... reboot, reload windows to just before the logon screen, reboot; ... Partition 1will contain Windows 2000 and all other programs. ...
    (microsoft.public.win2000.general)
  • Re: System automatic rebooting cycle after installation.
    ... Microsoft MVP [Windows] ... | reboot, reload windows to just before the logon screen, reboot; ... | Partition 2will contain all his data. ... Started the Windows 2000 Installation again, ...
    (microsoft.public.win2000.general)
  • Re: System automatic rebooting cycle after installation.
    ... Microsoft MVP [Windows] ... | reboot, reload windows to just before the logon screen, reboot; ... | Partition 2will contain all his data. ... Started the Windows 2000 Installation again, ...
    (microsoft.public.win2000.general)
  • Re: Last ditch repair of crashing W2K box...ideas?!?!?!
    ... > I have a home-brew box built about five years ago to run Windows 2000. ... It would always immediately reboot normally. ... > * Removal/swap of memory with known good memory ... > to give a parallel installation of W2K a try and see what happens. ...
    (microsoft.public.win2000.general)
  • Re: Cant install Windows Installer 3.1
    ... 4.206: AnalyzePhaseZero used 0 ticks ... 26.799: KB893803v2 Setup encountered an error: To complete installation of KB893803v2, ...
    (microsoft.public.windowsupdate)