Bug#350192: tor installation does not create toruser on system

2006-01-30 Thread Peter Palfrader
On Sun, 29 Jan 2006, patgus wrote:

  The package installs fine. It gives no output about creating the toruser UID 
 when it installs. The problem occurs when trying to start Tot as a daemon
  On line 75 in /etc/init.d/tor 
--chuid toruser:toruser \ 
 this user does not exist and tor will not run until either this user is 
 created or the username on this line is changed to a valid one. 

What does it say, exactly.  Please paste the entire output of a
dpkg -i tor...deb.

Also, my etc/init.d/tor does _NOT_ contain the string 'toruser'.

| [EMAIL PROTECTED]:~$ grep -- --chuid /etc/init.d/tor
| --chuid debian-tor:debian-tor \

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350192: tor installation does not create toruser on system

2006-01-30 Thread patgus
 The package installs fine. It gives no output about creating the toruser UID 
when it installs. The problem occurs when trying to start Tot as a daemon
 On line 75 in /etc/init.d/tor 
   --chuid toruser:toruser \ 
this user does not exist and tor will not run until either this user is created 
or the username on this line is changed to a valid one. 


On Fri, 27 Jan 2006 23:21:35 +0100
Peter Palfrader [EMAIL PROTECTED] wrote:

 On Fri, 27 Jan 2006, patgus wrote:
 
  Package: tor
  Version: 0.1.0.16-1
  
  when tor is installed the installation does not create the toruser on
  the system. This causes tor to fail to run until the start script in
  /etc/init.d has been edited or the toruser has been created. 
 
 
 I do not think this is correct.
 
 What does apt/dpkg print when you install the package.  What do you have
 to change in the script so that it will work then?
 
 -- 
  PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
 messages preferred.| : :' :  The  universal
| `. `'  Operating System
  http://www.palfrader.org/ |   `-http://www.debian.org/
 
 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350192: tor installation does not create toruser on system

2006-01-30 Thread deathchild
 Sorry, i cannot copy and paste the results. 
I have tried uninstalling and reinstalling tor and now it appears to create the 
user but I cannot confirm the /etc/init.d/tor file since it uses the old one. I 
tried to delete the old one and then reinstall but then I did not have any 
/etc/init.d/tor script at all.
 Have you tried installing the package personally and trying to run tor as a 
daemon. 
On Mon, 30 Jan 2006 10:44:42 +0100
Peter Palfrader [EMAIL PROTECTED] wrote:

 On Sun, 29 Jan 2006, patgus wrote:
 
   The package installs fine. It gives no output about creating the toruser 
  UID when it installs. The problem occurs when trying to start Tot as a 
  daemon
   On line 75 in /etc/init.d/tor 
 --chuid toruser:toruser \ 
  this user does not exist and tor will not run until either this user is 
  created or the username on this line is changed to a valid one. 
 
 What does it say, exactly.  Please paste the entire output of a
   dpkg -i tor...deb.
 
 Also, my etc/init.d/tor does _NOT_ contain the string 'toruser'.
 
 | [EMAIL PROTECTED]:~$ grep -- --chuid /etc/init.d/tor
 | --chuid debian-tor:debian-tor \
 
 -- 
  PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
 messages preferred.| : :' :  The  universal
| `. `'  Operating System
  http://www.palfrader.org/ |   `-http://www.debian.org/
 
 
 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350192: tor installation does not create toruser on system

2006-01-30 Thread Peter Palfrader
On Mon, 30 Jan 2006, deathchild wrote:

 
 On Mon, 30 Jan 2006 10:44:42 +0100
 Peter Palfrader [EMAIL PROTECTED] wrote:
 
  On Sun, 29 Jan 2006, patgus wrote:
  
The package installs fine. It gives no output about creating the toruser 
   UID when it installs. The problem occurs when trying to start Tot as a 
   daemon
On line 75 in /etc/init.d/tor 
  --chuid toruser:toruser \ 
   this user does not exist and tor will not run until either this user is 
   created or the username on this line is changed to a valid one. 
  
  What does it say, exactly.  Please paste the entire output of a
  dpkg -i tor...deb.
  
  Also, my etc/init.d/tor does _NOT_ contain the string 'toruser'.
  
  | [EMAIL PROTECTED]:~$ grep -- --chuid /etc/init.d/tor
  | --chuid debian-tor:debian-tor \

  I am also finding that tor does not seem to be creating a pid file. Perhaps 
 this is due to the --chuid?

So far you don't seem to be using the package as I made it.  Hard to
tell.  I know that in my package unless you screw it up Tor does create
a PID file.

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350192: tor installation does not create toruser on system

2006-01-30 Thread Peter Palfrader
On Mon, 30 Jan 2006, deathchild wrote:

 On Mon, 30 Jan 2006 10:44:42 +0100
 Peter Palfrader [EMAIL PROTECTED] wrote:
 
  On Sun, 29 Jan 2006, patgus wrote:
  
The package installs fine. It gives no output about creating the toruser 
   UID when it installs. The problem occurs when trying to start Tot as a 
   daemon
On line 75 in /etc/init.d/tor 
  --chuid toruser:toruser \ 
   this user does not exist and tor will not run until either this user is 
   created or the username on this line is changed to a valid one. 
  
  What does it say, exactly.  Please paste the entire output of a
  dpkg -i tor...deb.
  
  Also, my etc/init.d/tor does _NOT_ contain the string 'toruser'.
  
  | [EMAIL PROTECTED]:~$ grep -- --chuid /etc/init.d/tor
  | --chuid debian-tor:debian-tor \

  Sorry, i cannot copy and paste the results. 

Then summarize it.

 I have tried uninstalling and reinstalling tor and now it appears to
 create the user but I cannot confirm the /etc/init.d/tor file since it
 uses the old one. I tried to delete the old one and then reinstall but
 then I did not have any /etc/init.d/tor script at all.

Of course not.  It's a config file.  So all your changes (including
removing) are preserved over upgrades and remove/install cycles.  If you
want to remove all traces of Tor from your system you need to purge it
(which will also remove your /var/lib/tor and all).  Then installing it
again will create the conffiles again.

  Have you tried installing the package personally and trying to run tor as a 
 daemon. 

Yes.  More than once.  --chuid toruser:toruser was never part of my
package.

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350192: tor installation does not create toruser on system

2006-01-30 Thread deathchild
 I am also finding that tor does not seem to be creating a pid file. Perhaps 
this is due to the --chuid?

On Mon, 30 Jan 2006 10:44:42 +0100
Peter Palfrader [EMAIL PROTECTED] wrote:

 On Sun, 29 Jan 2006, patgus wrote:
 
   The package installs fine. It gives no output about creating the toruser 
  UID when it installs. The problem occurs when trying to start Tot as a 
  daemon
   On line 75 in /etc/init.d/tor 
 --chuid toruser:toruser \ 
  this user does not exist and tor will not run until either this user is 
  created or the username on this line is changed to a valid one. 
 
 What does it say, exactly.  Please paste the entire output of a
   dpkg -i tor...deb.
 
 Also, my etc/init.d/tor does _NOT_ contain the string 'toruser'.
 
 | [EMAIL PROTECTED]:~$ grep -- --chuid /etc/init.d/tor
 | --chuid debian-tor:debian-tor \
 
 -- 
  PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
 messages preferred.| : :' :  The  universal
| `. `'  Operating System
  http://www.palfrader.org/ |   `-http://www.debian.org/
 
 
 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350192: tor installation does not create toruser on system

2006-01-30 Thread deathchild
 Ok, since I screwed it up I will just forget about it then.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350192: tor installation does not create toruser on system

2006-01-27 Thread patgus
Package: tor
Version: 0.1.0.16-1

when tor is installed the installation does not create the toruser on the 
system. This causes tor to fail to run until the start script in /etc/init.d 
has been edited or the toruser has been created. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350192: tor installation does not create toruser on system

2006-01-27 Thread Peter Palfrader
On Fri, 27 Jan 2006, patgus wrote:

 Package: tor
 Version: 0.1.0.16-1
 
 when tor is installed the installation does not create the toruser on
 the system. This causes tor to fail to run until the start script in
 /etc/init.d has been edited or the toruser has been created. 


I do not think this is correct.

What does apt/dpkg print when you install the package.  What do you have
to change in the script so that it will work then?

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]