Commit Graph

246 Commits

Author SHA1 Message Date
Peter Palfrader
9b582af28a Run --verify-config before start/reload/restart as root. No longer su - to
debian-tor tor run it.  Given that we now even start Tor as root (it setuids
later on) this should be fine (closes: #468566).


svn:r13788
2008-03-01 00:51:37 +00:00
Peter Palfrader
36edb85ebd New upstream version
svn:r13726
2008-02-25 13:27:46 +00:00
Peter Palfrader
e25683fe3d Start Tor as root.
Change the init script to start Tor as root so we can bind to low ports.


svn:r13686
2008-02-23 12:59:59 +00:00
Peter Palfrader
c6a7ab729c Update debian defaults in preparation for starting as root.
Previously the debian defaults were only loaded when we started Tor as
the debian-tor user.  Now they are also loaded when started as root.
In addition to logging, pidfile, datadir and runasdaemon we also change
the User and Group options from their NULL default to "debian-tor" so that
Tor correctly setuids/setgids to the role user the package created.

This will allow us to start the daemon as root.


svn:r13685
2008-02-23 12:59:52 +00:00
Peter Palfrader
ba977ed4f1 I wonder what color it will be
svn:r13628
2008-02-20 22:39:06 +00:00
Peter Palfrader
c92c5733d6 if you have more than 40k FDs on your system let Tor use up to 16k of them by default
svn:r13627
2008-02-20 22:34:44 +00:00
Peter Palfrader
644452a62f Change the default for MAX_FILEDESCRIPTORS in our init script to depend on the
number of system-wide available file descriptors: /proc/sys/fs/file-max is
bigger than 100k, set ulimit -n to 32k, if it's smaller than 20k set it to
1024.  Big servers at the moment regularly use more than 10k FDs, so our old
default of 8k no longer is sufficient.  On the other hand we don't want lower
end systems to run out of FDs on Tor's account.


svn:r13625
2008-02-20 22:28:09 +00:00
Peter Palfrader
8a7c4e6b62 New upstream version
svn:r13455
2008-02-10 00:13:41 +00:00
Peter Palfrader
4327263f83 Forward port patches/03_tor_manpage_in_section_8.dpatch
svn:r13454
2008-02-10 00:13:22 +00:00
Peter Palfrader
66292f279c Copyright file update
svn:r13366
2008-02-03 20:51:14 +00:00
Peter Palfrader
a06b6c7a61 Fix postinst find command that chowns stuff to the right user. Find does weird things in the presence of !.
svn:r13364
2008-02-03 17:18:35 +00:00
Peter Palfrader
583bb548b0 Update pointer for gs bug from #321435 to #457568
svn:r13358
2008-02-02 14:13:51 +00:00
Peter Palfrader
b1f9c87db3 Work around fig2dev failing to build the images on mipsel like we do on sparc
and s390.


svn:r13357
2008-02-02 14:11:25 +00:00
Peter Palfrader
7875218194 New upstream version
svn:r13308
2008-01-27 13:13:13 +00:00
Peter Palfrader
a4a802d31f Create logfiles in logrotate so that they come into the world with the correct
mode (o-r).


svn:r13209
2008-01-21 15:03:33 +00:00
Peter Palfrader
17d711e258 postinst: if we reboot between unpacking and configuring on some smart systems
this will mean that we just lost /var/run/tor - creating it in the maintainer
script if it doesn't exist.


svn:r13208
2008-01-21 15:00:34 +00:00
Peter Palfrader
d98d1ea0d9 postinst: We were only fixing the permissions of /var/{lib,run,log}/tor when we
were not upgrading.  Unfortunately the check doesn't work all that well usually
in cases where the package was removed (not purged) and then later re-installed
again.  Now we ensure proper ownership and modes for all the directories and
files below /var/{lib,run,log}/tor (the dirs themselves included) every time we
run postinst.


svn:r13207
2008-01-21 14:58:20 +00:00
Peter Palfrader
3d3dbe90ab Change wording if debian-tor's homedir is wrong, do not print anything if it is ok.
Whitespace nazi found out about debian/tor.postinst.

svn:r13206
2008-01-21 14:46:49 +00:00
Peter Palfrader
aa4f86dafa postinst: Remove the check that requires the debian-tor user to have a uid
between 100 and 999.  There is no good reason to require this.  If the local
admin moves the system users/uid-space to some other range then they probably
have a good reason for that.


svn:r13205
2008-01-21 14:44:56 +00:00
Peter Palfrader
272428727e New upstream version
svn:r13168
2008-01-17 21:15:07 +00:00
Peter Palfrader
92e4cfdeb4 Merge in 0.1.2.1[89]-1 changelog
svn:r13166
2008-01-17 20:36:29 +00:00
Peter Palfrader
f6072c36c8 New upstream version
svn:r12965
2007-12-25 08:39:53 +00:00
Peter Palfrader
e08582118c * New upstream version.
* Work around fig2dev failing to build the images on sparc like we do on s390.


svn:r12942
2007-12-23 14:04:38 +00:00
Peter Palfrader
03f64638cb Remove 13_r12907-fix-unit-tests.dpatch (Fix unit tests from HEAD) again - it's
included upstream.


svn:r12941
2007-12-23 09:46:38 +00:00
Peter Palfrader
57c26115fc * New upstream version.
* Fix unit tests from HEAD (13_r12907-fix-unit-tests.dpatch).


svn:r12909
2007-12-21 12:23:23 +00:00
Peter Palfrader
22cd3a4baa Seems I forgot to commit the 0.2.0.12-alpha-1 changelog. I do that often.
svn:r12552
2007-11-22 10:21:21 +00:00
Peter Palfrader
6c6d27186a New upstream version
svn:r12503
2007-11-15 10:07:37 +00:00
Peter Palfrader
0b9cdfd2f5 Build a 0.2.0.9-alpha-2 with r12235: do not crash with a myfamily setting
svn:r12236
2007-10-27 22:36:17 +00:00
Peter Palfrader
ad37ad7508 Do not separate required lsb facilities with commas in the init script (closes:
#448001).


svn:r12231
2007-10-27 16:36:28 +00:00
Peter Palfrader
40970ccdaa New upstream version
svn:r12198
2007-10-26 13:14:54 +00:00
Peter Palfrader
bacbf984ca Only create pid dir if we are about to start Tor (Luca Capello, closes: #447508)
svn:r12085
2007-10-21 22:12:24 +00:00
Peter Palfrader
be04b53f30 New upstream version
svn:r11908
2007-10-13 15:29:47 +00:00
Peter Palfrader
24a87ebb81 New upstream version
svn:r11619
2007-09-25 00:24:25 +00:00
Peter Palfrader
04fcaf5f06 Forward port 0.1.2.17-1 changelog
svn:r11327
2007-08-31 01:20:34 +00:00
Peter Palfrader
0608ec71fd New upstream version
svn:r11285
2007-08-27 14:06:30 +00:00
Peter Palfrader
41776d7b42 New upstream version
svn:r11203
2007-08-19 20:31:59 +00:00
Peter Palfrader
0b7d7ef4a6 Forward port 0.1.2.16-1 changelog
svn:r11034
2007-08-02 06:57:26 +00:00
Peter Palfrader
a7fa01965a New upstream version
svn:r11028
2007-08-02 06:49:54 +00:00
Peter Palfrader
bc4cbf19d9 Forward port 0.1.2.15-1 changelog
svn:r11009
2007-07-31 09:39:40 +00:00
Peter Palfrader
c991b8b2d6 New upstream version
svn:r11005
2007-07-31 09:34:34 +00:00
Peter Palfrader
2273f01939 New upstream version
svn:r10458
2007-06-03 01:09:09 +00:00
Peter Palfrader
57cdf4ee46 Remove editing artefacts from changelog
svn:r10448
2007-06-02 13:46:48 +00:00
Peter Palfrader
52e67dc7fd New upstream version
svn:r10446
2007-06-02 13:20:55 +00:00
Peter Palfrader
76c40c4d72 teTeX is no more
svn:r10434
2007-06-01 01:10:02 +00:00
Peter Palfrader
02b9ed2455 Merge 10037:10432 into trunk, also brings in a newer trunk changelog with no real news
svn:r10433
2007-06-01 00:42:13 +00:00
Peter Palfrader
c9b947d89b Forward port 06_add_compile_time_defaults
svn:r10064
2007-04-30 15:05:51 +00:00
Peter Palfrader
8dd603616e Merge branches/tor-0_1_2-patches/debian (from 9860 on) to trunk. This includes 0.1.2.13-1 and 0.1.2.13-2.
svn:r10039
2007-04-27 13:28:07 +00:00
Peter Palfrader
194e0ae104 merge r9859: debian changelog for 0.1.2.12-rc-1
svn:r9860
2007-03-17 12:39:06 +00:00
Peter Palfrader
d26a587309 Merge r9777 into trunk
svn:r9779
2007-03-09 10:14:55 +00:00
Peter Palfrader
83e6aef50d Forward port r9754: It only is a single |, not two
svn:r9755
2007-03-07 09:21:24 +00:00