[or-cvs] r13205: postinst: Remove the check that requires the debian-tor user (tor/trunk/debian)
weasel at seul.org
weasel at seul.org
Mon Jan 21 14:44:56 UTC 2008
Author: weasel
Date: 2008-01-21 09:44:56 -0500 (Mon, 21 Jan 2008)
New Revision: 13205
Modified:
tor/trunk/debian/changelog
tor/trunk/debian/tor.postinst
Log:
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.
Modified: tor/trunk/debian/changelog
===================================================================
--- tor/trunk/debian/changelog 2008-01-21 03:46:34 UTC (rev 13204)
+++ tor/trunk/debian/changelog 2008-01-21 14:44:56 UTC (rev 13205)
@@ -1,3 +1,12 @@
+tor (0.2.0.17-alpha-1+svn) experimental; urgency=low
+
+ * 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.
+
+ -- Peter Palfrader <weasel at debian.org> Mon, 21 Jan 2008 15:43:52 +0100
+
tor (0.2.0.17-alpha-1) experimental; urgency=low
* New upstream version.
Modified: tor/trunk/debian/tor.postinst
===================================================================
--- tor/trunk/debian/tor.postinst 2008-01-21 03:46:34 UTC (rev 13204)
+++ tor/trunk/debian/tor.postinst 2008-01-21 14:44:56 UTC (rev 13205)
@@ -9,15 +9,6 @@
# the sanit(ar)y checks otherwise we can safely create it.
if [ "$uid" ]; then
- # guess??? the checks!!!
- if [ $uid -ge 100 ] && [ $uid -le 999 ]; then
- echo "debian-tor uid check: ok"
- else
- echo "ERROR: debian-tor account has a non-system uid!"
- echo "Please check /usr/share/doc/tor/README.Debian on how to"
- echo "correct this problem"
- exit 1
- fi
if [ "$home" = "/var/lib/tor" ]; then
echo "debian-tor homedir check: ok"
else
More information about the tor-commits
mailing list