Directory disappears after reboot. (Draper Drake)
Derek Broughton
news at pointerstop.ca
Sun Mar 5 15:35:47 UTC 2006
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
More information about the ubuntu-users
mailing list