Opened 10 years ago

Closed 9 years ago

#3834 closed defect (fixed)

tor init script update

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:


the tor init script isnt working correctly .... no tor.pif file in /var/run can be created because /var/run is owned by root:root and has go-w .....

to fix this .... here is the new start part of initscript ...
so tor can be stopped :)

start() {

[ -f $DEFAULT ] && . $DEFAULT

[ -d $LIB_D ] [ -d $LIB_D ] [ -d $RUN_D ] [ -f $PID_F ]
mkdir -p $LOG_D
( mkdir -p $LIB_D && chown $RUN_USER:$RUN_GROUP $LIB_D )
mkdir -p $RUN_D
( touch $PID_F && chown $RUN_USER:$RUN_GROUP $PID_F )



Attachments (1)

tor-owned-pid.patch (442 bytes) - added by anonymous 9 years ago.
Diff made in packages

Download all attachments as: .zip

Change History (4)

comment:1 Changed 10 years ago by anonymous

$BIN $OPTIONS belongs to a newline

comment:2 Changed 10 years ago by florian

Please use svn diff to submit the patch and attach it here.

Changed 9 years ago by anonymous

Diff made in packages

comment:3 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Applied in [12621], thanks !

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.