diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-02-23 12:59:52 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-02-23 12:59:52 +0000 |
commit | c6a7ab729cbf01704a7e3cb3e1e4c6505a9e4a64 (patch) | |
tree | d819da93ea0c50a8499d61db5d5b27ace9ae4d3a /debian/changelog | |
parent | c3ac638971b949dc99b9e8e820381a9586137d6d (diff) | |
download | tor-c6a7ab729cbf01704a7e3cb3e1e4c6505a9e4a64.tar.gz tor-c6a7ab729cbf01704a7e3cb3e1e4c6505a9e4a64.zip |
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
Diffstat (limited to 'debian/changelog')
-rw-r--r-- | debian/changelog | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index be92ffb3bf..19fe5302ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,8 +10,11 @@ tor (0.2.0.19-alpha+svn-1) unreleased; urgency=low 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. + * If we run as root also apply debian defaults. + * Add User=debian-tor and Group=debian-tor to debian defaults. That allows + us to start Tor as root and have it setuid/setgid to the target user. - -- Peter Palfrader <weasel@debian.org> Wed, 20 Feb 2008 23:38:45 +0100 + -- Peter Palfrader <weasel@debian.org> Sat, 23 Feb 2008 13:44:56 +0100 tor (0.2.0.19-alpha-1) experimental; urgency=low |